Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

Import of Openmodelica FMU for Co-simulation into Simulink

Import of Openmodelica FMU for Co-simulation into Simulink

Hello,
I want to implement FMI for Co-simulation using Openmodelica and Simulink. I created a simple model in Openmodelica and exported to FMU. I imported the FMU into Simulink, but while simulating, it gives me error:

module = FMICAPI, log level = FATAL: Could not load the DLL: The specified procedure could not be found.
Error reported by S-function 'sfun_fmu_cs_1_0_2_0' in 'checkFMI/goods':
Could not load the DLL. See the Command Window for more details.

(Here checkFMU/goods is my Model name and FMU name)
I need to know if the co-imulation works with Openmodelica? Also is the exported FMU 32 bit or 64 bit?
I am using latest nightly builds version 1.13.0 (64bit) and MATLAB R2017a (Simulink 8.9).

Thanks,
Apurva

Re: Import of Openmodelica FMU for Co-simulation into Simulink

64-bit Windows OM exports 64-bit MINGW FMUs. 32-bit Windows OM exports 32-bit MINGW FMUs. Linux OM can export MSVC-compatible FMUs. If possible export using FMI for Model Exchange 2.0 as it works a lot better than Co-simulation or FMI 1.0.

There are 0 guests and 0 other users also viewing this topic
You are here: