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

Matlab mingw fmu not work in OpenModelica

Matlab mingw fmu not work in OpenModelica

I get a Matlab mingw fmu,and import to OpenModelica,but it's wrong in output:
error :
Process crashed Simulation process failed. Exited with code 0xffffffffc0000005.

Re: Matlab mingw fmu not work in OpenModelica

Hey @lucas_luo

For someone to be able to help you answer your questions more details are needed:

What does your Matlab model look like?
How did you export the FMU (which settings, which target, what FMI version, ME or CS, ....)?
How did you import the FMU in OpenModelica?
What version of OpenModelica are you using?
Did you try to import the FMU in other tools?

In addition a minimal working example is always great, so others can replicate your problem with a few clicks and check what the error could be.

Re: Matlab mingw fmu not work in OpenModelica

What does your Matlab model look like?
my Matlab model is csthl20_trim,you can type "open_system('csthl20_trim')" in matlab to open the model

How did you export the FMU (which settings, which target, what FMI version, ME or CS, ....)?
I try another way to export FMU,but it not works.
the new way to export the FMU by FMIKit-simulink-3.0-alpha.2,ME,CMake generator: Visual Studio 14 2015 Win64

How did you import the FMU in OpenModelica?
I import the FMU in OpenModelica, Tools->Options->Simulation, Target Build: Visual Stuidio 2015(msvc15), then simulate

error in compilation:
LINK: fatal error LNK1181: cannot open input file 'omcgc.lib'
NMAKE: fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.EXE"' : return code '0x2' Stop.
Compilation process failed. Exited with code 0x00000002.


What version of OpenModelica are you using?
V1.19

Did you try to import the FMU in other tools?
no

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