Open janpeter19 opened 6 months ago
Hi Jan Peter @janpeter19 ,
Thank you for opening this issue and bringing this compatibility problem to our attention. To help us diagnose and resolve this effectively, could you please provide some additional details about your setup and the steps you took:
modelDescription.xml
file, so we can directly inspect the paths and identify the source of the issue? You can attach it to this issue or provide a link to where it's hosted.Your detailed information will help us understand the problem and implement a robust fix. Thanks again for your contribution!
Hi Foad,
Thank you for your questions. Try to answer below. Also I prefer to use this job-mail address instead.
1) JModelica installation. I mainly use a Windows installation and a procedure I got directly from Modelon as an exe-file.
For Linux I have used a Docker image implementation using an older JModelica 2.4. However, these FMUs cannot run on later Ubuntu version.
The "problem" that the FMU contain backlashes exist only for Windows, i.e. not for Linux.
2) The FMU generation is straight forward using:
fmu_model = complmel _fmu(model_name, library_file, target='cs') model = load_fmu(fmu_model)
3) The FMI-checker you just use https://fmi-standard.org/validation/ and press "Validate your FMU" and follow the instruction.
4) Enclosed you find one example of a Windows FMU made by JModelica 2.14. But you can try any of your own and you (most likely) get the same error message about existence of backlashes. Not sure how to add the FMU here but provided by e-mail to you.
Enclosed you have a screenshot of the error message I get.
--
Question to you. Do your procedure work to both create a Windows (10) as well as a Linux (say Ubuntu 22.04) JModelica?
@Foadsf Any progress?
Hi,
I have used JModelica 2.14 for Windows for many years and earlier versions for Linux. Recently I have noticed that the Windows FMU does not pass FMI-standard test. The reason seems to be that "\ " is used instead of "/".
The FMI-compliance test you find here https://fmi-standard.org/validation/
Despite this small lack of compliance the FMUs works in Python environment with PyFMI or FMPy. Here might be other tools that require complete compliance though.
Could this be fixed easily?
Jan Peter