Comments (7)
It seems that the FMU is loaded successfully once, and then the crash happens when the FMI is loaded again. Perhaps it is a OpenModelica problem related to loading the same FMU twice.
from modest-py.
It seems that the FMU is loaded successfully once, and then the crash happens when the FMI is loaded again. Perhaps it is a OpenModelica problem related to loading the same FMU twice.
Not sure about this. I have changed the test script to execute the identification with only one method ('GA') and with only one "learning period" and it still crashes.
from modest-py.
@triccyx, when I try to load your FMU I immediately get the following error:
pyfmi.fmi.FMUException: Error loading the binary. Could not load the DLL: libSimulationRuntimeC.so: cannot open shared object file: No such file or directory
I tried different things but I can't make it working.
However, in screenlog.log the last line says:
Linear multistep method : BDFJSON object expected ',' or '}', got: "lineEnd":282,"colSt
This seems to be the same bug as the one reported here: https://openmodelica.org/forum/default-topic/2341-pyfmi,-openmodelica-fmu,-and-ipython-json-involved
I have little experience with OpenModelica, but I did the following test:
- I installed OpenModelica stable on Debian 9 using
sudo apt install openmodelica
, following this website - I generated an FMU from
Simple2R1C_ic.mo
example using these settings:
The resulting FMU works fine for me. I attached it to this post. Can you please check this one?
om_fmu.zip
from modest-py.
Hi! Thank for your response.
With your FMU the situation is the same as before:
1)pyfmi is working, I have attached the image:
2)I have the same error on modest-py:
screendump.log
This time I have my test that has just one identification method ('GA') and with only one "learning period"
Is there something else I can test or try?
from modest-py.
I suspect the issue is that @triccyx is using a development version of OpenModelica, while @krzysztofarendt probably tested with the stable.
from modest-py.
I think this could not be the problem. I am using the FMU generated by @krzysztofarendt.
from modest-py.
from modest-py.
Related Issues (20)
- Logging should not interfere with the logger of the parent application HOT 1
- Add simple GUI HOT 1
- Add FMPy support HOT 9
- Python 3 support HOT 3
- Unit test fails on Debian 9 HOT 1
- Replace the GA implementation HOT 3
- Add win64 FMUs in examples and unit tests HOT 1
- Upload v. 0.0.8 to PyPi HOT 1
- run.tests() fails on Linux (WSL2, Ubuntu 18.04) HOT 1
- Unrecognized argument passed to SciPy solver HOT 1
- modestga zero division error HOT 2
- modestga: cannot start a new process HOT 1
- Catch an exception from FMU if solver failed and continue estimation HOT 5
- ValueError when time is floating point in _select_lp HOT 1
- Step-by-step instructions to get examples up and running HOT 6
- FMUs stored in Temp folder HOT 5
- Does not work on Ubuntu 20.04 HOT 1
- Switch to pytest HOT 1
- Refactor code with black and isort HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from modest-py.