I was not aware of this post until today...
If you have an FMU which contains a 64 bit dll then you will have to use the 64 bit version of EnergyPlus to load it. If you have a 32 bit FMU then you will have to use the 32 bit version of EnergyPlus. The reason is that EnergyPlus will load the FMU dll at runtime and it is not possible (so far I know) for a 32 bit program to load a 64 bit dll (and vice versa).
I will suggest if you are dealing with FMUs and you are on a 64 bit machine to use the 64 bit version of EnergyPlus and make sure that your FMU contains a dll in the binaries/win64 folder (which according to the FMI standard is the folder where your 64 bit dlls should reside). Same gilt for 32 bit.
Please note that Dymola was not able in the past to generate 64bit FMUs on Windows.
Now, it is possible but it will require you to have a compiler which allows you generate 64 bit dlls.
All the best,
Thierry