Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck") translateModel(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.8231/0.8231, allocations: 141.8 MB / 149.1 MB, free: 2.191 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 187.1 kB / 182 MB, free: 1.707 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 221.3 MB / 436 MB, free: 6.41 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 103.8 kB / 0.507 GB, free: 3.074 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001953/0.001953, allocations: 279.7 kB / 0.5885 GB, free: 48.11 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 9.348e-06/9.368e-06, allocations: 4 kB / 0.6759 GB, free: 6.488 MB / 458.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4715/0.4716, allocations: 82.76 MB / 0.7567 GB, free: 25.64 MB / 458.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.367/1.839, allocations: 0.6495 GB / 1.406 GB, free: 5.605 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/1.839, allocations: 78.72 kB / 1.406 GB, free: 5.562 MB / 0.6982 GB Notification: Performance of FrontEnd: time 0.5308/2.37, allocations: 63.98 MB / 1.469 GB, free: 220.7 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 1.363e-05/2.37, allocations: 0 / 1.469 GB, free: 220.7 MB / 0.6982 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.002828/2.373, allocations: 0.493 MB / 1.469 GB, free: 220.2 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 6.278e-05/2.373, allocations: 9.281 kB / 1.469 GB, free: 220.2 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005659/2.373, allocations: 27.41 kB / 1.469 GB, free: 220.1 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/2.374, allocations: 167 kB / 1.469 GB, free: 219.9 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001264/2.374, allocations: 33.59 kB / 1.469 GB, free: 219.9 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.987e-05/2.374, allocations: 4 kB / 1.469 GB, free: 219.9 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002518/2.374, allocations: 87.19 kB / 1.47 GB, free: 219.8 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/2.374, allocations: 77.38 kB / 1.47 GB, free: 219.8 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/2.374, allocations: 0 / 1.47 GB, free: 219.8 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/2.374, allocations: 0 / 1.47 GB, free: 219.8 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/2.374, allocations: 11.84 kB / 1.47 GB, free: 219.7 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005594/2.375, allocations: 298.3 kB / 1.47 GB, free: 219.4 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002221/2.375, allocations: 101.8 kB / 1.47 GB, free: 219.3 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.929e-05/2.375, allocations: 51.25 kB / 1.47 GB, free: 219.3 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01362/2.389, allocations: 4.139 MB / 1.474 GB, free: 215.5 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.721e-05/2.389, allocations: 30.56 kB / 1.474 GB, free: 215.5 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=13): time 4.128e-06/2.389, allocations: 0 / 1.474 GB, free: 215.5 MB / 0.6982 GB Notification: Performance of matching and sorting (n=13): time 0.0008082/2.39, allocations: 130.8 kB / 1.474 GB, free: 215.3 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/2.39, allocations: 52.2 kB / 1.474 GB, free: 215.3 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/2.39, allocations: 89.61 kB / 1.474 GB, free: 215.2 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 3.045e-05/2.39, allocations: 30.31 kB / 1.474 GB, free: 215.2 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 4.916e-05/2.39, allocations: 84.94 kB / 1.474 GB, free: 215.1 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 5.835e-05/2.39, allocations: 46.66 kB / 1.475 GB, free: 215 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/2.39, allocations: 0 / 1.475 GB, free: 215 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.0001078/2.39, allocations: 317.1 kB / 1.475 GB, free: 214.7 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.445e-05/2.39, allocations: 20.66 kB / 1.475 GB, free: 214.7 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.193e-05/2.39, allocations: 21.12 kB / 1.475 GB, free: 214.7 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001824/2.391, allocations: 29.3 kB / 1.475 GB, free: 214.6 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/2.391, allocations: 3.906 kB / 1.475 GB, free: 214.6 MB / 0.6982 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003859/2.391, allocations: 120.4 kB / 1.475 GB, free: 214.5 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/2.391, allocations: 4.516 kB / 1.475 GB, free: 214.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/2.391, allocations: 8 kB / 1.475 GB, free: 214.5 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/2.391, allocations: 3.938 kB / 1.475 GB, free: 214.5 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/2.391, allocations: 24.45 kB / 1.475 GB, free: 214.5 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/2.391, allocations: 0 / 1.475 GB, free: 214.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.629e-05/2.391, allocations: 7.938 kB / 1.475 GB, free: 214.5 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/2.391, allocations: 5.5 kB / 1.475 GB, free: 214.5 MB / 0.6982 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 9.879e-05/2.391, allocations: 108.9 kB / 1.475 GB, free: 214.4 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/2.392, allocations: 18 kB / 1.475 GB, free: 214.4 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006099/2.392, allocations: 406.5 kB / 1.476 GB, free: 214 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/2.392, allocations: 3.797 kB / 1.476 GB, free: 214 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/2.392, allocations: 0 / 1.476 GB, free: 214 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/2.392, allocations: 0 / 1.476 GB, free: 214 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002793/2.393, allocations: 239.6 kB / 1.476 GB, free: 213.7 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/2.393, allocations: 0 / 1.476 GB, free: 213.7 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/2.393, allocations: 23.89 kB / 1.476 GB, free: 213.7 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/2.393, allocations: 0 / 1.476 GB, free: 213.7 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/2.393, allocations: 7.891 kB / 1.476 GB, free: 213.7 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/2.393, allocations: 0 / 1.476 GB, free: 213.7 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/2.393, allocations: 0 / 1.476 GB, free: 213.7 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005381/2.393, allocations: 412.6 kB / 1.476 GB, free: 213.3 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 9.662e-05/2.393, allocations: 107.8 kB / 1.476 GB, free: 213.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/2.393, allocations: 0 / 1.476 GB, free: 213.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/2.394, allocations: 11.75 kB / 1.476 GB, free: 213.2 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.902e-05/2.394, allocations: 11.8 kB / 1.476 GB, free: 213.2 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/2.394, allocations: 4 kB / 1.476 GB, free: 213.2 MB / 0.6982 GB Notification: Performance of sort global known variables: time 3.864e-05/2.394, allocations: 83.45 kB / 1.476 GB, free: 213.1 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.003039/2.397, allocations: 345.3 kB / 1.477 GB, free: 212.8 MB / 0.6982 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.005152/2.402, allocations: 0.9288 MB / 1.478 GB, free: 212 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0003075/2.402, allocations: 163.1 kB / 1.478 GB, free: 211.9 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/2.402, allocations: 0 / 1.478 GB, free: 211.9 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0001651/2.402, allocations: 167.2 kB / 1.478 GB, free: 211.7 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/2.403, allocations: 11.12 kB / 1.478 GB, free: 211.7 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006058/2.403, allocations: 255.5 kB / 1.478 GB, free: 211.5 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003641/2.404, allocations: 0.7384 MB / 1.479 GB, free: 210.7 MB / 0.6982 GB Notification: Performance of SimCode: time 1.032e-06/2.404, allocations: 4 kB / 1.479 GB, free: 210.7 MB / 0.6982 GB Notification: Performance of Templates: time 0.02578/2.43, allocations: 13 MB / 1.492 GB, free: 201.9 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)