1

unable to load FMI functions library

I'm trying to simulate an idf with ExternalInterface:FunctionalMockupUnitImport. The model runs perfectly in my laptop but I get this error when I change the laptop: unable to load FMI functions library. I don't know what can be the pronblem. I'm using v9.5.0 of EnergyPlus and all my configurations are in 64bit. Can you please help me to solve that issue ? Thank you

sekaina's avatar
81
sekaina
asked 2021-07-28 04:33:53 -0500, updated 2021-08-02 04:46:28 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

1

This may be because of the architecture of your laptops. If your are running the 64bit version of E+ (on a 64-bit machine) and you are trying to import an FMU that is only containing 32-bit binaries then the import won't work and vice-versa. You should hence unzip your FMU and see in its binaries folder the libraries which are included so you know the architecture required for the import.

Thierry Nouidui's avatar
1.5k
Thierry Nouidui
answered 2021-07-28 08:14:50 -0500
edit flag offensive 0 remove flag delete link

Comments

Thank you for your response ! I'm running the 64bit version of E+ in both laptops and my dll is also in 64bit. So I can't see what can be the problem !

sekaina's avatar sekaina (2021-07-29 01:43:16 -0500) edit
add a comment see more comments