Coder Social home page Coder Social logo

Comments (7)

casella avatar casella commented on June 29, 2024

@Wardi0, have you tried with the released 1.21.0 version of OMC?

from externalmedia.

Wardi0 avatar Wardi0 commented on June 29, 2024

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.

casella avatar casella commented on June 29, 2024

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.

Wardi0 avatar Wardi0 commented on June 29, 2024

Trying on OMEdit with the default compiler gives the exact same error message seen in my OMShell example unfotunately

from externalmedia.

casella avatar casella commented on June 29, 2024

@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:
immagine

from externalmedia.

Wardi0 avatar Wardi0 commented on June 29, 2024

Hi @casella, I am also running 4.0.0 installed via the OMEdit library manager:
Untitled

It's very weird. What are your compiler settings in the Simulation tab of options?

from externalmedia.

bilderbuchi avatar bilderbuchi commented on June 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.