Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register
  • Index
  • » Users
  • » sawright
  • » Profile

Posts

Posts

Apr-28-14 06:33:38
Media Test Model R134a1 returns error codes and does not run.

It's not really possible to ignore the warnings, as they appear to stop the model from running.  When I run/simulate the equivalent test problem for water, I get a window that pops up and shows two tabs, one is for the compilation behavior and the other is for the output I believe.  The plotting tab on OMEdit allows me to see all the states and make plots for the water simulation test.  However for R134a, the simulation just gives the warnings.  There is no window that pops up with the compilation information.  Also, there is no data to plot or variables for R134a to me to even look at.

Apr-27-14 00:15:02
Media Test Model R134a1 returns error codes and does not run.

I'm using OpenModelica1.9.1Beta2 in Windows 7.  When I try to run the R134a1 example model with the built in media library.  It reports that  the states  p,T,d etc were used before being defined.  Included below is the compiliation report.  I would appreciate knowing how to get this to work.

[C:\OpenModelica1.9.1Beta2\lib\omlibrary\Modelica 3.2.1\Media\R134a.mo:415:15-423:21] Warning: state.p was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed.
[C:\OpenModelica1.9.1Beta2\lib\omlibrary\Modelica 3.2.1\Media\R134a.mo:415:15-423:21] Warning: state.T was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed.
[C:\OpenModelica1.9.1Beta2\lib\omlibrary\Modelica 3.2.1\Media\R134a.mo:415:15-423:21] Warning: state.d was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed.
[C:\OpenModelica1.9.1Beta2\lib\omlibrary\Modelica 3.2.1\Media\R134a.mo:415:15-423:21] Warning: state.h was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed.
[C:\OpenModelica1.9.1Beta2\lib\omlibrary\Modelica 3.2.1\Media\R134a.mo:415:15-423:21] Warning: state.phase was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed.

  • Index
  • » Users
  • » sawright
  • » Profile
You are here: