Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [: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.001849/0.001849, allocations: 177.2 kB / 7.461 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6096/0.6096, allocations: 133.5 MB / 141.4 MB, free: 15.69 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.187/1.187, allocations: 221.3 MB / 395 MB, free: 10.23 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.0009081/0.0009081, allocations: 109.3 kB / 477.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.933e-06/7.113e-06, allocations: 2.656 kB / 0.5528 GB, free: 89.21 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1297, allocations: 82.31 MB / 0.6332 GB, free: 14.14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5187/0.6485, allocations: 315.5 MB / 0.9414 GB, free: 14.42 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002153/0.6487, allocations: 83.25 kB / 0.9414 GB, free: 14.37 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.01974/0.6685, allocations: 8.814 MB / 0.9501 GB, free: 7.371 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.6685, allocations: 0 / 0.9501 GB, free: 7.371 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002722/0.6688, allocations: 341.8 kB / 0.9504 GB, free: 6.996 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.6689, allocations: 8.031 kB / 0.9504 GB, free: 6.988 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.382e-05/0.6689, allocations: 11.91 kB / 0.9504 GB, free: 6.977 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.669, allocations: 167 kB / 0.9506 GB, free: 6.777 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.409e-05/0.6691, allocations: 25.7 kB / 0.9506 GB, free: 6.746 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.277e-06/0.6691, allocations: 4 kB / 0.9506 GB, free: 6.742 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.262e-05/0.6692, allocations: 11.98 kB / 0.9506 GB, free: 6.73 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.126e-05/0.6692, allocations: 48.8 kB / 0.9506 GB, free: 6.68 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.6692, allocations: 0 / 0.9506 GB, free: 6.68 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.6693, allocations: 3.906 kB / 0.9507 GB, free: 6.676 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.6693, allocations: 0 / 0.9507 GB, free: 6.676 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005442/0.6698, allocations: 0.5767 MB / 0.9512 GB, free: 6 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 2.464e-05/0.6699, allocations: 18.48 kB / 0.9512 GB, free: 5.973 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.321e-05/0.6699, allocations: 8.922 kB / 0.9512 GB, free: 5.961 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002092/0.6701, allocations: 365.8 kB / 0.9516 GB, free: 5.539 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.6701, allocations: 37.69 kB / 0.9516 GB, free: 5.496 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.6701, allocations: 3.938 kB / 0.9516 GB, free: 5.492 MB / 0.6667 GB Notification: Performance of matching and sorting (n=1): time 0.0001941/0.6703, allocations: 41.69 kB / 0.9517 GB, free: 5.445 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.149e-05/0.6704, allocations: 51.41 kB / 0.9517 GB, free: 5.383 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.327e-05/0.6704, allocations: 92.19 kB / 0.9518 GB, free: 5.289 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.6705, allocations: 25.7 kB / 0.9518 GB, free: 5.258 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 4.071e-05/0.6705, allocations: 95.97 kB / 0.9519 GB, free: 5.16 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 4.91e-06/0.6705, allocations: 7.094 kB / 0.9519 GB, free: 5.156 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-06/0.6705, allocations: 0 / 0.9519 GB, free: 5.156 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.782e-05/0.6706, allocations: 315.8 kB / 0.9522 GB, free: 4.84 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.054e-05/0.6706, allocations: 4 kB / 0.9522 GB, free: 4.836 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.725e-05/0.6707, allocations: 16.97 kB / 0.9522 GB, free: 4.816 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.6708, allocations: 19.97 kB / 0.9523 GB, free: 4.797 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.6708, allocations: 0 / 0.9523 GB, free: 4.797 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001731/0.671, allocations: 60.8 kB / 0.9523 GB, free: 4.734 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/0.671, allocations: 14.81 kB / 0.9523 GB, free: 4.723 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.671, allocations: 0 / 0.9523 GB, free: 4.723 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.671, allocations: 0 / 0.9523 GB, free: 4.723 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.703e-05/0.6711, allocations: 4 kB / 0.9523 GB, free: 4.719 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.6711, allocations: 3.938 kB / 0.9523 GB, free: 4.715 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.048e-05/0.6711, allocations: 11.89 kB / 0.9524 GB, free: 4.703 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.6711, allocations: 0 / 0.9524 GB, free: 4.703 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.927e-05/0.6712, allocations: 101 kB / 0.9525 GB, free: 4.598 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.657e-05/0.6712, allocations: 4 kB / 0.9525 GB, free: 4.594 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001/0.6713, allocations: 128.1 kB / 0.9526 GB, free: 4.457 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7e-05/0.6714, allocations: 180.2 kB / 0.9528 GB, free: 4.273 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.764e-05/0.6714, allocations: 180.2 kB / 0.9529 GB, free: 4.09 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.211e-05/0.6715, allocations: 176.3 kB / 0.9531 GB, free: 3.91 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.6717, allocations: 389 kB / 0.9535 GB, free: 3.488 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.723e-05/0.6717, allocations: 108.9 kB / 0.9536 GB, free: 3.375 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.897e-05/0.6717, allocations: 105 kB / 0.9537 GB, free: 3.266 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.743e-05/0.6718, allocations: 176.3 kB / 0.9538 GB, free: 3.086 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.587e-05/0.6718, allocations: 184.1 kB / 0.954 GB, free: 2.898 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.831e-05/0.6719, allocations: 184.2 kB / 0.9542 GB, free: 2.711 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.965e-05/0.6719, allocations: 187.5 kB / 0.9544 GB, free: 2.523 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.934e-05/0.672, allocations: 303.8 kB / 0.9547 GB, free: 2.203 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 6.111e-05/0.6721, allocations: 191 kB / 0.9548 GB, free: 1.996 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.38e-05/0.6722, allocations: 180.2 kB / 0.955 GB, free: 1.812 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.6723, allocations: 113 kB / 0.9551 GB, free: 1.695 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.84e-05/0.6724, allocations: 176.3 kB / 0.9553 GB, free: 1.516 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-05/0.6724, allocations: 108.9 kB / 0.9554 GB, free: 1.402 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.11e-05/0.6724, allocations: 82.41 kB / 0.9555 GB, free: 1.324 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0002341/0.6727, allocations: 35.92 kB / 0.9555 GB, free: 1.289 MB / 0.6667 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 (0): * Single equations (assignments): 0 * 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.0001984/0.6729, allocations: 233.9 kB / 0.9557 GB, free: 1.055 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 4.833e-05/0.6729, allocations: 8 kB / 0.9557 GB, free: 1.047 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.6729, allocations: 0 / 0.9557 GB, free: 1.047 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 9.12e-07/0.6729, allocations: 4.125 kB / 0.9557 GB, free: 1.043 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.6732, allocations: 0.5254 MB / 0.9563 GB, free: 0.5156 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001405/0.6734, allocations: 123.5 kB / 0.9564 GB, free: 380 kB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002212/0.6736, allocations: 0.6946 MB / 0.957 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of SimCode: time 2.41e-07/0.6736, allocations: 4 kB / 0.9571 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of Templates: time 0.002663/0.6763, allocations: 1.096 MB / 0.9581 GB, free: 14.6 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)