I'm totally new to Function Mock-up Units (FMUs), but my objective is to export very basic FMUs from OpenModelica 1.22.1 and to open them in Python using FMPy (as a first step), I'm using FMPy's GUI.
I tried to export the simple pendulum as an FMU 2.0 in co-simulation. I'm running this on a machine with Windows x64, for this I'm using Docker. But when I try to run the FMU in python I always get this error: "Failed to load shared library"
C:\...\Temp\tmpbwoddm6i\binaries\win64\FMU_pendulum.dll. Could not find module C:\...\Temp\tmpbwoddm6i\binaries\win64\FMU_pendulum.dll (or one of its dependencies)
I've tried to change most of the given parameter for FMU exportation in OMEdit but it doesn't seem to change anything. Thanks for your answers.
thanks for your answer. I have used docker in case I might want to use this same file for win32, but no linux is involved here. I have exported the file right click on it in OMEdit and then selected export -> FMU. Opened the file in FMPy GUI and when I push the play button the error pops up.
Modelica code OpenModelica FMU export parameters