Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") [: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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.545/1.545, allocations: 289.8 MB / 297.1 MB, free: 6.711 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001205/0.001204, allocations: 181.3 kB / 366.3 MB, free: 2.008 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.374/1.374, allocations: 205.1 MB / 0.6256 GB, free: 5.844 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009657/0.0009658, allocations: 87.12 kB / 0.7395 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.035e-05/1.082e-05, allocations: 4 kB / 0.859 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4623/0.4623, allocations: 116.3 MB / 0.9726 GB, free: 68.25 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1618/0.6241, allocations: 144.4 MB / 1.114 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/0.6244, allocations: 96.36 kB / 1.114 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.03548/0.6599, allocations: 13.3 MB / 1.127 GB, free: 6.59 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.976e-05/0.66, allocations: 8 kB / 1.127 GB, free: 6.582 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0008671/0.6608, allocations: 0.6865 MB / 1.127 GB, free: 5.84 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.6609, allocations: 8.031 kB / 1.127 GB, free: 5.832 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.771e-05/0.661, allocations: 59.25 kB / 1.127 GB, free: 5.773 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006944/0.6617, allocations: 439.8 kB / 1.128 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.6617, allocations: 0 / 1.128 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/0.6618, allocations: 11.98 kB / 1.128 GB, free: 5.293 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000144/0.6619, allocations: 68.27 kB / 1.128 GB, free: 5.227 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.6621, allocations: 124.8 kB / 1.128 GB, free: 5.094 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.373e-06/0.6621, allocations: 2.156 kB / 1.128 GB, free: 5.094 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.6622, allocations: 0 / 1.128 GB, free: 5.094 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.6622, allocations: 4 kB / 1.128 GB, free: 5.09 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007778/0.6629, allocations: 0.5639 MB / 1.129 GB, free: 4.488 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.6631, allocations: 110.7 kB / 1.129 GB, free: 4.371 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.069e-05/0.6632, allocations: 44.84 kB / 1.129 GB, free: 4.324 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.6632, allocations: 4 kB / 1.129 GB, free: 4.32 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001458/0.6634, allocations: 99.28 kB / 1.129 GB, free: 4.211 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 1.743e-06/0.6634, allocations: 4 kB / 1.129 GB, free: 4.207 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13): time 0.0003006/0.6637, allocations: 168.9 kB / 1.129 GB, free: 4.035 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.6638, allocations: 77.11 kB / 1.129 GB, free: 3.941 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006475/0.6644, allocations: 0.5815 MB / 1.13 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.6644, allocations: 29.7 kB / 1.13 GB, free: 3.316 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.773e-05/0.6645, allocations: 156.3 kB / 1.13 GB, free: 3.16 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.313e-05/0.6646, allocations: 35.59 kB / 1.13 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.179e-05/0.6646, allocations: 0 / 1.13 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002001/0.6648, allocations: 374.8 kB / 1.13 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.6649, allocations: 72.42 kB / 1.13 GB, free: 2.68 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/0.6651, allocations: 127.2 kB / 1.13 GB, free: 2.539 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002373/0.6653, allocations: 93.03 kB / 1.131 GB, free: 2.453 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.6654, allocations: 0.9688 kB / 1.131 GB, free: 2.453 MB / 0.7292 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004654/0.6658, allocations: 276.7 kB / 1.131 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.6659, allocations: 11.94 kB / 1.131 GB, free: 2.164 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.6659, allocations: 3.984 kB / 1.131 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.6659, allocations: 0 / 1.131 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.6661, allocations: 39.92 kB / 1.131 GB, free: 2.121 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.6661, allocations: 4 kB / 1.131 GB, free: 2.117 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001807/0.6663, allocations: 31.89 kB / 1.131 GB, free: 2.086 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.951e-05/0.6663, allocations: 8.75 kB / 1.131 GB, free: 2.078 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.mWat_flow.tab.nextTimeEvent,assWatMas.runSig,assWatMas.assMes.u,$PRE.assWatMas.hys.y,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.798e-05/0.6664, allocations: 114.7 kB / 1.131 GB, free: 1.961 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.375e-05/0.6665, allocations: 63.23 kB / 1.131 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003105/0.6668, allocations: 180 kB / 1.131 GB, free: 1.715 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.6668, allocations: 4 kB / 1.131 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.6668, allocations: 4 kB / 1.131 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.6668, allocations: 0 / 1.131 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003069/0.6671, allocations: 353.9 kB / 1.132 GB, free: 1.324 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.6671, allocations: 0.9375 kB / 1.132 GB, free: 1.324 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.253e-05/0.6672, allocations: 11.94 kB / 1.132 GB, free: 1.312 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.6672, allocations: 0 / 1.132 GB, free: 1.312 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.6672, allocations: 7.984 kB / 1.132 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.6672, allocations: 0 / 1.132 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.6672, allocations: 0 / 1.132 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002564/0.6675, allocations: 209 kB / 1.132 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.6676, allocations: 136.3 kB / 1.132 GB, free: 0.9297 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.034e-05/0.6677, allocations: 0 / 1.132 GB, free: 0.9297 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.6678, allocations: 15.98 kB / 1.132 GB, free: 0.9141 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.647e-05/0.6679, allocations: 16.53 kB / 1.132 GB, free: 0.8984 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.6679, allocations: 4 kB / 1.132 GB, free: 0.8945 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0004419/0.6684, allocations: 443.1 kB / 1.132 GB, free: 476 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003197/0.6687, allocations: 79.83 kB / 1.132 GB, free: 396 kB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,assWatMas.runSig,assWatMas.assMes.u,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 5 (assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0007494/0.6695, allocations: 378.7 kB / 1.133 GB, free: 120 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003069/0.6698, allocations: 144 kB / 1.133 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.6698, allocations: 0 / 1.133 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.6699, allocations: 67.86 kB / 1.133 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004073/0.6703, allocations: 76.14 kB / 1.133 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.6713, allocations: 0.5962 MB / 1.134 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004851/0.6718, allocations: 0.8992 MB / 1.135 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of SimCode: time 3.11e-07/0.6718, allocations: 0 / 1.135 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of Templates: time 0.008482/0.6803, allocations: 3.993 MB / 1.138 GB, free: 10.34 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1)