Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.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.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck") translateModel(IDEAS.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck") [: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.001956/0.001956, allocations: 173.7 kB / 7.458 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.5963/0.5963, allocations: 133.5 MB / 141.4 MB, free: 15.68 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.155/1.155, allocations: 221.3 MB / 395 MB, free: 10.16 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.0008492/0.0008493, allocations: 109.6 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.652e-06/6.682e-06, allocations: 2.812 kB / 0.5528 GB, free: 89.12 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.12, allocations: 82.3 MB / 0.6332 GB, free: 14.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.124/1.244, allocations: 0.6521 GB / 1.285 GB, free: 222.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000164/1.244, allocations: 74.53 kB / 1.285 GB, free: 222 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.1357/1.38, allocations: 63.98 MB / 1.348 GB, free: 166.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.971e-06/1.38, allocations: 0 / 1.348 GB, free: 166.5 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001211/1.381, allocations: 497.9 kB / 1.348 GB, free: 165.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 2.82e-05/1.381, allocations: 12.03 kB / 1.348 GB, free: 165.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003689/1.381, allocations: 23.88 kB / 1.348 GB, free: 165.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.816e-05/1.381, allocations: 175 kB / 1.348 GB, free: 165.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.097e-05/1.381, allocations: 33.69 kB / 1.349 GB, free: 165.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/1.381, allocations: 4 kB / 1.349 GB, free: 165.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001319/1.381, allocations: 83.86 kB / 1.349 GB, free: 165.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.623e-05/1.382, allocations: 80.69 kB / 1.349 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/1.382, allocations: 0 / 1.349 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/1.382, allocations: 0 / 1.349 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/1.382, allocations: 7.984 kB / 1.349 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003005/1.382, allocations: 297.3 kB / 1.349 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/1.382, allocations: 94.64 kB / 1.349 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.018e-05/1.382, allocations: 44.86 kB / 1.349 GB, free: 165 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009101/1.391, allocations: 4.141 MB / 1.353 GB, free: 160.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.63e-05/1.391, allocations: 38.5 kB / 1.353 GB, free: 160.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/1.391, allocations: 4 kB / 1.353 GB, free: 160.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13): time 0.0003488/1.392, allocations: 118.4 kB / 1.353 GB, free: 160.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.515e-05/1.392, allocations: 51.41 kB / 1.353 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.446e-05/1.392, allocations: 100.8 kB / 1.353 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/1.392, allocations: 29.64 kB / 1.353 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 1.468e-05/1.392, allocations: 88.14 kB / 1.354 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/1.392, allocations: 35.59 kB / 1.354 GB, free: 160 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-06/1.392, allocations: 0 / 1.354 GB, free: 160 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 3.353e-05/1.392, allocations: 322.8 kB / 1.354 GB, free: 159.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.191e-05/1.392, allocations: 24 kB / 1.354 GB, free: 159.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.866e-05/1.392, allocations: 20.73 kB / 1.354 GB, free: 159.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/1.392, allocations: 28.73 kB / 1.354 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/1.392, allocations: 0 / 1.354 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002662/1.392, allocations: 128.6 kB / 1.354 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/1.392, allocations: 4 kB / 1.354 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/1.392, allocations: 0 / 1.354 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/1.392, allocations: 4 kB / 1.354 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/1.392, allocations: 23.98 kB / 1.354 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/1.392, allocations: 4 kB / 1.354 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.659e-05/1.392, allocations: 11.94 kB / 1.354 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/1.392, allocations: 3.906 kB / 1.354 GB, free: 159.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (13): * Single equations (assignments): 13 * 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.251e-05/1.393, allocations: 108.9 kB / 1.354 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.938e-05/1.393, allocations: 23.88 kB / 1.354 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004179/1.393, allocations: 393.4 kB / 1.355 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/1.393, allocations: 4 kB / 1.355 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/1.393, allocations: 0 / 1.355 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/1.393, allocations: 3.984 kB / 1.355 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/1.393, allocations: 245.7 kB / 1.355 GB, free: 158.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/1.393, allocations: 0 / 1.355 GB, free: 158.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.319e-05/1.393, allocations: 23.92 kB / 1.355 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/1.393, allocations: 0 / 1.355 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/1.393, allocations: 4 kB / 1.355 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/1.393, allocations: 4 kB / 1.355 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/1.393, allocations: 3.906 kB / 1.355 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003777/1.394, allocations: 411.5 kB / 1.355 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.118e-05/1.394, allocations: 104.9 kB / 1.355 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/1.394, allocations: 0 / 1.355 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/1.394, allocations: 4 kB / 1.355 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.67e-05/1.394, allocations: 11.98 kB / 1.355 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/1.394, allocations: 7.984 kB / 1.355 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.474e-05/1.394, allocations: 83.22 kB / 1.356 GB, free: 158 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009803/1.395, allocations: 339.8 kB / 1.356 GB, free: 157.6 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: 2 ($cse1.region3boundary,$cse2.region3boundary) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.00168/1.397, allocations: 0.9368 MB / 1.357 GB, free: 156.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001622/1.397, allocations: 167 kB / 1.357 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/1.397, allocations: 0 / 1.357 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001025/1.397, allocations: 163.9 kB / 1.357 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/1.397, allocations: 11.98 kB / 1.357 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003016/1.398, allocations: 256.6 kB / 1.357 GB, free: 156.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/1.398, allocations: 0.7434 MB / 1.358 GB, free: 155.3 MB / 0.6823 GB Notification: Performance of SimCode: time 2.5e-07/1.398, allocations: 0 / 1.358 GB, free: 155.3 MB / 0.6823 GB Notification: Performance of Templates: time 0.01376/1.411, allocations: 12.97 MB / 1.371 GB, free: 142.3 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.sim & ./IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)