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
  • Index
  • » Users
  • » lucas_luo
  • » Profile

Posts

Posts

Nov-04-21 05:33:16
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

Nov-02-21 11:54:04
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.

  • Index
  • » Users
  • » lucas_luo
  • » Profile
You are here: