Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.SteamProperties.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamProperties") translateModel(IBPSA.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamProperties") [: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.0009914/0.0009914, allocations: 181.4 kB / 7.803 MB, free: 2.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4466/0.4466, allocations: 90.85 MB / 99.07 MB, free: 14.95 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.182/1.182, allocations: 221.4 MB / 342.8 MB, free: 5.195 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009425/0.0009425, allocations: 95.11 kB / 415.5 MB, free: 6.426 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.992e-06/6.012e-06, allocations: 0 / 493.9 MB, free: 8.086 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3027, allocations: 72.3 MB / 0.5529 GB, free: 73.43 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8271/1.13, allocations: 412.4 MB / 0.9556 GB, free: 209.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/1.13, allocations: 69.12 kB / 0.9557 GB, free: 209.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 0.4556/1.586, allocations: 188 MB / 1.139 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.321e-05/1.586, allocations: 4 kB / 1.139 GB, free: 59.68 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.004807/1.591, allocations: 1.219 MB / 1.141 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/1.591, allocations: 16.03 kB / 1.141 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001272/1.592, allocations: 87.7 kB / 1.141 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002269/1.592, allocations: 222.9 kB / 1.141 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/1.592, allocations: 8 kB / 1.141 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/1.592, allocations: 8 kB / 1.141 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000509/1.593, allocations: 403.6 kB / 1.141 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002746/1.593, allocations: 216.4 kB / 1.141 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/1.593, allocations: 0 / 1.141 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.346e-05/1.593, allocations: 0 / 1.141 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/1.593, allocations: 4 kB / 1.141 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008678/1.594, allocations: 0.8633 MB / 1.142 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001921/1.594, allocations: 128.6 kB / 1.142 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.744e-05/1.594, allocations: 68.78 kB / 1.142 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09784/1.692, allocations: 48.33 MB / 1.19 GB, free: 4.82 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/1.692, allocations: 38.56 kB / 1.19 GB, free: 4.773 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=25): time 1.803e-06/1.692, allocations: 0 / 1.19 GB, free: 4.773 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25): time 0.0009475/1.693, allocations: 229.9 kB / 1.19 GB, free: 4.543 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.042e-05/1.693, allocations: 55.41 kB / 1.19 GB, free: 4.477 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.683e-05/1.693, allocations: 117.2 kB / 1.19 GB, free: 4.352 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/1.693, allocations: 25.7 kB / 1.19 GB, free: 4.32 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.452e-05/1.693, allocations: 108.4 kB / 1.19 GB, free: 4.211 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.698e-05/1.693, allocations: 82.75 kB / 1.19 GB, free: 4.129 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.638e-06/1.693, allocations: 5.312 kB / 1.19 GB, free: 4.125 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.032e-05/1.693, allocations: 322.7 kB / 1.191 GB, free: 3.801 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.561e-05/1.694, allocations: 40 kB / 1.191 GB, free: 3.762 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.081e-05/1.694, allocations: 93.12 kB / 1.191 GB, free: 3.652 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004239/1.694, allocations: 69.42 kB / 1.191 GB, free: 3.586 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.694, allocations: 4 kB / 1.191 GB, free: 3.582 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007662/1.695, allocations: 253.3 kB / 1.191 GB, free: 3.328 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/1.695, allocations: 4 kB / 1.191 GB, free: 3.324 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/1.695, allocations: 0 / 1.191 GB, free: 3.324 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/1.695, allocations: 4 kB / 1.191 GB, free: 3.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/1.695, allocations: 59.91 kB / 1.191 GB, free: 3.262 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/1.695, allocations: 3.906 kB / 1.191 GB, free: 3.258 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.366e-05/1.695, allocations: 11.84 kB / 1.191 GB, free: 3.246 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/1.695, allocations: 16 kB / 1.191 GB, free: 3.23 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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 5.467e-05/1.695, allocations: 113.9 kB / 1.191 GB, free: 3.113 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002845/1.696, allocations: 71.72 kB / 1.191 GB, free: 3.043 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009487/1.696, allocations: 0.8013 MB / 1.192 GB, free: 2.266 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/1.697, allocations: 15.98 kB / 1.192 GB, free: 2.25 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/1.697, allocations: 0 / 1.192 GB, free: 2.25 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/1.697, allocations: 7.922 kB / 1.192 GB, free: 2.242 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/1.698, allocations: 1.154 MB / 1.193 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/1.698, allocations: 0 / 1.193 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/1.698, allocations: 51.91 kB / 1.193 GB, free: 0.9961 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.798e-06/1.698, allocations: 0 / 1.193 GB, free: 0.9961 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/1.698, allocations: 4 kB / 1.193 GB, free: 0.9922 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/1.698, allocations: 0 / 1.193 GB, free: 0.9922 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/1.698, allocations: 0 / 1.193 GB, free: 0.9922 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001113/1.699, allocations: 0.75 MB / 1.194 GB, free: 236 kB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.034e-05/1.699, allocations: 138.5 kB / 1.194 GB, free: 80 kB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.757e-05/1.699, allocations: 4 kB / 1.194 GB, free: 76 kB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/1.699, allocations: 12 kB / 1.194 GB, free: 64 kB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.604e-05/1.699, allocations: 24.2 kB / 1.194 GB, free: 40 kB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.273e-05/1.699, allocations: 19.91 kB / 1.194 GB, free: 20 kB / 0.6042 GB Notification: Performance of sort global known variables: time 0.1865/1.886, allocations: 95.34 kB / 1.194 GB, free: 187.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.006492/1.892, allocations: 1.671 MB / 1.196 GB, free: 187.4 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.01411/1.906, allocations: 2.689 MB / 1.199 GB, free: 187.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004646/1.907, allocations: 347.2 kB / 1.199 GB, free: 187.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.907, allocations: 1.969 kB / 1.199 GB, free: 187.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002328/1.907, allocations: 332.5 kB / 1.199 GB, free: 187.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004244/1.908, allocations: 50.73 kB / 1.199 GB, free: 187.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007615/1.908, allocations: 487 kB / 1.2 GB, free: 187.1 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002813/1.909, allocations: 0.8174 MB / 1.201 GB, free: 186.4 MB / 0.6042 GB Notification: Performance of SimCode: time 3.7e-07/1.909, allocations: 0 / 1.201 GB, free: 186.4 MB / 0.6042 GB Notification: Performance of Templates: time 0.0483/1.957, allocations: 44.34 MB / 1.244 GB, free: 185.9 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.SteamProperties.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamProperties.sim & ./IBPSA_latest_IBPSA.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe 2>&1)