- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » FMU export problems
FMU export problems
FMU export problems
I'm trying to export my modelica model in FMU and the to load it in Simulink using the Pilot Support Package (PSP) by Mathworks.
When I try to load the FMU file with PSP in Simulink it gives me the following error:
Dynamic library file ("modelxxx.dll") does not exist in FMU 'directory of the FMU file'
I run the FMUChecker and it gives me the following errors:
[FATAL][FMILIB] Could not change to the DLL directory ...\fmucktmpa06852\binaries\win64\
[FATAL][FMILIB] The FMU contains no binary for this platform.
[FATAL][FMUCHK] Could not create the DLL loading mechanism(C-API).
I'm working under Windows10 because PSP is available only for windows.
Any suggestion? I'm new in Modelica.
Thanks in advance.
Re: FMU export problems
What OpenModelica version are you using? If is 1.9.6 then is only 32 bit and can generate only 32 bit FMUs.
You need the 64bit nightly build to make a 64bit FMU:
https://build.openmodelica.org/omc/buil … lds/64bit/
- adrpo
- 885 Posts
Re: FMU export problems
Thanks for the fast reply.
I downloaded and installed the nightly build as you suggested. Running the FMUChecker now it gives me the following error:
[INFO][FMUCHK] Printing output file header
"time"
[INFO][FMILIB] Loading 'win64' binary with 'standard32' platform types
[FATAL][FMICAPI] Could not load the DLL: Impossibile trovare il modulo specificato.
[FATAL][FMUCHK] Could not create the DLL loading mechanism(C-API).
I forgot to say that I'm using FMU version 1 Model Exchange
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » FMU export problems