Comments (7)
@Wardi0, have you tried with the released 1.21.0 version of OMC?
from externalmedia.
Hi @casella, I have repeated the two tests with both the release and nightly builds now but they produce identical errors to above.
from externalmedia.
But at least, can you run the model with OMEdit and the default choice of compiler?
This is just to understand if there's something weird with your installation.
from externalmedia.
Trying on OMEdit with the default compiler gives the exact same error message seen in my OMShell example unfotunately
from externalmedia.
@Wardi0 this is weird. I just tried to run ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical
using ExternalMedia 4.0.0 as installed by the package manager on my PC, running a recent nightly build (v1.22.0-dev-160-gb8f9594377), and it works fine:
d:\temp\OMEdit/ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical/TestStatesSupercritical.exe -port=59366 -logFormat=xmltcp -override=startTime=0,stopTime=1,stepSize=0.001,tolerance=1e-06,solver=dassl,outputFormat=mat,variableFilter=.* -r=d:\temp\OMEdit/ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical/TestStatesSupercritical_res.mat -w -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -inputPath=d:\temp\OMEdit/ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical -outputPath=d:\temp\OMEdit/ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical
The initialization finished successfully without homotopy method.
### STATISTICS ###
timer
0.0071199s reading init.xml
1.52853s [ 97.3%] simulation
1.57159s [100.0%] total
0.0012418s reading info.xml
0.0022586s [ 0.1%] pre-initialization
0.0314838s [ 2.0%] initialization
0.0014022s [ 0.1%] steps
4.07e-05s [ 0.0%] solver (excl. callbacks)
0.0059963s [ 0.4%] creating output-file
0.0002059s [ 0.0%] event-handling
0.0016801s [ 0.1%] overhead
events
0 state events
0 time events
solver: euler
1000 steps taken
1000 calls of functionODE
0 evaluations of jacobian
0 error test failures
0 convergence test failures
0s time of jacobian evaluation
The simulation finished successfully.
calc_transport has the value of 1 TTSE is off enable_TTSE has the value of 0 BICUBIC is off enable_BICUBIC has the value of 0 enable_EXTTP has the value of 1 twophase_derivsmoothing_xend has the value of 0.0 rho_smoothing_xend has the value of 0.0 debug has the value of 0
The same goes for the CI test, see the simulation log.
Are you sure you have actually loaded the right version of the library? If you use OMEdit, can you report what you see at the top of the model window:
from externalmedia.
Hi @casella, I am also running 4.0.0 installed via the OMEdit library manager:
It's very weird. What are your compiler settings in the Simulation tab of options?
from externalmedia.
I see the same compilation error as reported here, but with another model: OpenModelica/OpenModelica#11262 (comment), so it seems there is a way to trigger this. This is using OpenModelica v1.23.0-dev-13-g31fc8a7a09 and EM 4.0.0.
from externalmedia.
Related Issues (20)
- Incompressible package runs in OpenModelica but not Dymola
- Model fails to execute when using two different fluids
- Model fails to run when using Modelica.Fluid.Sensors.Temperature
- Call ExternalMedia from OMPython HOT 1
- External function could not be found in any of the given shared libraries HOT 1
- External functions in ExternalMedia should be explicitly declared as pure
- Use CoolProp 6.4.4 as soon as it is released, instead of nightly build HOT 1
- support for older gcc versions HOT 4
- Selection of different state variables (ph, pt, dT) for a CoolProp 2-phase medium HOT 1
- Cannot compute arbitrary partial derivatives with function `partialDeriv_state` HOT 2
- Wrong version of cmake required to compile the library HOT 1
- Restructuring of the repository HOT 4
- build error using cmake on windows HOT 1
- State functions do not seem to work properly HOT 6
- Compressible mixture support? HOT 2
- Custom fluid property support
- Incompressible CoolProp tests do not compile HOT 3
- Remove experiment annotation from partial models
- how to use fliudprop in external Media?
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 externalmedia.