Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002071/0.002071, allocations: 179.1 kB / 7.457 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5977/0.5977, allocations: 133.5 MB / 141.4 MB, free: 15.66 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.142/1.142, allocations: 221.3 MB / 395 MB, free: 10.08 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008806/0.0008805, allocations: 101.7 kB / 477.8 MB, free: 10.67 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.969e-06/5.049e-06, allocations: 0 / 0.5528 GB, free: 89.14 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1074, allocations: 82.3 MB / 0.6332 GB, free: 13.91 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.05/6.158, allocations: 4.37 GB / 5.003 GB, free: 15.53 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002177/6.158, allocations: 83.38 kB / 5.003 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.295/6.453, allocations: 46.43 MB / 5.049 GB, free: 241.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.454e-06/6.453, allocations: 1.438 kB / 5.049 GB, free: 241.9 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002386/6.453, allocations: 332.9 kB / 5.049 GB, free: 241.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/6.453, allocations: 9.125 kB / 5.049 GB, free: 241.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001881/6.453, allocations: 23.52 kB / 5.049 GB, free: 241.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.932e-05/6.454, allocations: 164.5 kB / 5.049 GB, free: 241.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.329e-05/6.454, allocations: 26.42 kB / 5.049 GB, free: 241.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.256e-06/6.454, allocations: 1.375 kB / 5.049 GB, free: 241.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.829e-05/6.454, allocations: 20.23 kB / 5.049 GB, free: 241.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.965e-05/6.454, allocations: 48.62 kB / 5.049 GB, free: 241.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/6.454, allocations: 0 / 5.049 GB, free: 241.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/6.454, allocations: 1 kB / 5.049 GB, free: 241.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/6.454, allocations: 2.438 kB / 5.049 GB, free: 241.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003105/6.454, allocations: 247.2 kB / 5.05 GB, free: 241 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 2.961e-05/6.454, allocations: 16.7 kB / 5.05 GB, free: 241 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.488e-05/6.454, allocations: 6.141 kB / 5.05 GB, free: 241 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.851e-06/6.454, allocations: 0 / 5.05 GB, free: 241 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/6.454, allocations: 36.25 kB / 5.05 GB, free: 241 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/6.454, allocations: 4 kB / 5.05 GB, free: 241 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001174/6.454, allocations: 37.33 kB / 5.05 GB, free: 240.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.485e-05/6.454, allocations: 52.5 kB / 5.05 GB, free: 240.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.625e-05/6.454, allocations: 102.9 kB / 5.05 GB, free: 240.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/6.454, allocations: 26.83 kB / 5.05 GB, free: 240.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.377e-05/6.455, allocations: 84.98 kB / 5.05 GB, free: 240.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.648e-06/6.455, allocations: 1.281 kB / 5.05 GB, free: 240.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-06/6.455, allocations: 3.938 kB / 5.05 GB, free: 240.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 3.724e-05/6.455, allocations: 324.2 kB / 5.05 GB, free: 240.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.148e-05/6.455, allocations: 2.594 kB / 5.05 GB, free: 240.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.929e-05/6.455, allocations: 22.47 kB / 5.05 GB, free: 240.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.83e-05/6.455, allocations: 5.094 kB / 5.05 GB, free: 240.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/6.455, allocations: 0 / 5.05 GB, free: 240.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.843e-05/6.455, allocations: 56.33 kB / 5.05 GB, free: 240.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/6.455, allocations: 4.625 kB / 5.05 GB, free: 240.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/6.455, allocations: 1.531 kB / 5.05 GB, free: 240.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/6.455, allocations: 1.062 kB / 5.05 GB, free: 240.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.803e-05/6.455, allocations: 6.688 kB / 5.05 GB, free: 240.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/6.455, allocations: 3.938 kB / 5.05 GB, free: 240.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.814e-05/6.455, allocations: 9.844 kB / 5.05 GB, free: 240.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/6.455, allocations: 6.016 kB / 5.05 GB, free: 240.2 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.043e-05/6.455, allocations: 101 kB / 5.05 GB, free: 240.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/6.455, allocations: 7.719 kB / 5.05 GB, free: 240.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.271e-05/6.455, allocations: 11.06 kB / 5.05 GB, free: 240.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/6.455, allocations: 0 / 5.05 GB, free: 240.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/6.455, allocations: 0 / 5.05 GB, free: 240.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/6.455, allocations: 8.016 kB / 5.05 GB, free: 240.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/6.455, allocations: 311 kB / 5.051 GB, free: 239.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/6.455, allocations: 0 / 5.051 GB, free: 239.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.456e-05/6.455, allocations: 11.36 kB / 5.051 GB, free: 239.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/6.455, allocations: 0 / 5.051 GB, free: 239.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.218e-06/6.455, allocations: 4.031 kB / 5.051 GB, free: 239.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/6.455, allocations: 0 / 5.051 GB, free: 239.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/6.455, allocations: 3.938 kB / 5.051 GB, free: 239.8 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 4.254e-05/6.455, allocations: 60.64 kB / 5.051 GB, free: 239.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.731e-05/6.455, allocations: 80.95 kB / 5.051 GB, free: 239.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/6.455, allocations: 0 / 5.051 GB, free: 239.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.275e-05/6.455, allocations: 11.84 kB / 5.051 GB, free: 239.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.756e-06/6.455, allocations: 3.906 kB / 5.051 GB, free: 239.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-06/6.455, allocations: 0 / 5.051 GB, free: 239.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.285e-05/6.455, allocations: 87.47 kB / 5.051 GB, free: 239.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002221/6.456, allocations: 35.64 kB / 5.051 GB, free: 239.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006325/6.456, allocations: 0.661 MB / 5.052 GB, free: 239.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 6.309e-05/6.456, allocations: 12.53 kB / 5.052 GB, free: 239.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/6.456, allocations: 0 / 5.052 GB, free: 239.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.428e-06/6.456, allocations: 6.297 kB / 5.052 GB, free: 239.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001248/6.457, allocations: 10.53 kB / 5.052 GB, free: 239.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001351/6.457, allocations: 51.03 kB / 5.052 GB, free: 239.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/6.457, allocations: 0.6905 MB / 5.052 GB, free: 238.5 MB / 0.6823 GB Notification: Performance of SimCode: time 3.21e-07/6.457, allocations: 4 kB / 5.052 GB, free: 238.5 MB / 0.6823 GB Notification: Performance of Templates: time 0.006768/6.464, allocations: 3.809 MB / 5.056 GB, free: 237.8 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)