Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.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.StandBy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") [: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.487/1.487, allocations: 289.8 MB / 297 MB, free: 6.664 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.001084/0.001084, allocations: 177.3 kB / 366.3 MB, free: 1.977 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.215/1.215, allocations: 205.1 MB / 0.6256 GB, free: 5.875 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.0009111/0.0009111, allocations: 94.91 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.167e-06/9.187e-06, allocations: 4 kB / 0.859 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6402/0.6402, allocations: 116.3 MB / 0.9726 GB, free: 68.69 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1815/0.8218, allocations: 145.6 MB / 1.115 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/0.8221, allocations: 84.67 kB / 1.115 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.04614/0.8682, allocations: 16.58 MB / 1.131 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.429e-05/0.8684, allocations: 16.66 kB / 1.131 GB, free: 2.051 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001727/0.8701, allocations: 0.9037 MB / 1.132 GB, free: 1.086 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.8702, allocations: 12.03 kB / 1.132 GB, free: 1.074 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003093/0.8705, allocations: 94.86 kB / 1.132 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/0.8716, allocations: 0.4965 MB / 1.133 GB, free: 456 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.87e-05/0.8717, allocations: 50.7 kB / 1.133 GB, free: 396 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.8718, allocations: 35.89 kB / 1.133 GB, free: 360 kB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006209/0.8724, allocations: 294.5 kB / 1.133 GB, free: 68 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008036/0.8732, allocations: 485.5 kB / 1.133 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.8733, allocations: 4 kB / 1.133 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.393e-05/0.8733, allocations: 4 kB / 1.133 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.002e-05/0.8734, allocations: 12 kB / 1.133 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003194/0.8766, allocations: 1.973 MB / 1.135 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004851/0.8771, allocations: 252.3 kB / 1.136 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002321/0.8773, allocations: 128.8 kB / 1.136 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.106e-05/0.8774, allocations: 4 kB / 1.136 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003171/0.8777, allocations: 195.5 kB / 1.136 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=41): time 3.206e-06/0.8777, allocations: 0 / 1.136 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of matching and sorting (n=41): time 0.0006891/0.8784, allocations: 300.3 kB / 1.136 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.813e-05/0.8785, allocations: 114.8 kB / 1.136 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009087/0.8794, allocations: 0.6253 MB / 1.137 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.32e-05/0.8795, allocations: 37.7 kB / 1.137 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001988/0.8797, allocations: 256.6 kB / 1.137 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.8798, allocations: 102.7 kB / 1.137 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.843e-05/0.8798, allocations: 0 / 1.137 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.88, allocations: 330 kB / 1.138 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/0.8802, allocations: 117.3 kB / 1.138 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003237/0.8806, allocations: 289.4 kB / 1.138 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002218/0.8808, allocations: 124.7 kB / 1.138 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.8808, allocations: 0 / 1.138 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0007194/0.8815, allocations: 438.5 kB / 1.138 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.8816, allocations: 4.562 kB / 1.139 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.8816, allocations: 4 kB / 1.139 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/0.8816, allocations: 12 kB / 1.139 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002949/0.8819, allocations: 71.88 kB / 1.139 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.53e-05/0.8819, allocations: 11.94 kB / 1.139 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003412/0.8823, allocations: 52.94 kB / 1.139 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.822e-05/0.8824, allocations: 31.98 kB / 1.139 GB, free: 9.875 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 52 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$whenCondition2,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.avaSig.combiTimeTable.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,$whenCondition3,actMod,transition1.enableFire,transition1.condition,transition2.enableFire,transition2.condition,$PRE.staBy.localActive,staBy.localActive,staBy.outPort[2].available,$PRE.staBy.newActive,staBy.newActive,$PRE.staBy.oldActive,staBy.oldActive,staBy.active,$PRE.pumOn.localActive,pumOn.localActive,$PRE.pumOn.newActive,pumOn.newActive,$PRE.pumOn.oldActive,pumOn.oldActive,pumOn.active,avaSig.combiTimeTable.nextTimeEvent,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,$PRE.off.localActive,off.localActive,off.inPort[2].occupied,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,off.active,stateGraphRoot.activeSteps,transition3.enableFire,transition3.fire,$PRE.transition3.t_start,transition3.t_start,transition4.enableFire,cheMinFlo.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 72 * 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 0.0002581/0.8826, allocations: 138.4 kB / 1.139 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.929e-05/0.8827, allocations: 71.06 kB / 1.139 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007484/0.8835, allocations: 370.4 kB / 1.139 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.8835, allocations: 7.906 kB / 1.139 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.8835, allocations: 8 kB / 1.139 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.8835, allocations: 3.984 kB / 1.139 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001533/0.8851, allocations: 0.9589 MB / 1.14 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.8851, allocations: 0 / 1.14 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/0.8852, allocations: 35.92 kB / 1.14 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.8853, allocations: 0 / 1.14 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.74e-05/0.8853, allocations: 15.84 kB / 1.14 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.8853, allocations: 1.031 kB / 1.14 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.8853, allocations: 2.109 kB / 1.14 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006673/0.886, allocations: 446.3 kB / 1.141 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001613/0.8862, allocations: 156.1 kB / 1.141 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.245e-05/0.8863, allocations: 4 kB / 1.141 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.8865, allocations: 23.97 kB / 1.141 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.8866, allocations: 44.38 kB / 1.141 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.491e-05/0.8867, allocations: 19.98 kB / 1.141 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0006126/0.8873, allocations: 463.1 kB / 1.141 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000598/0.8879, allocations: 119.8 kB / 1.141 GB, free: 6.934 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 36 (transition3.enableFire,off.active,pumOn.localActive,staBy.localActive,$cse1,$cse2,$cse5,$cse6,$cse7,$whenCondition3,$whenCondition2,$whenCondition1,actMod,transition1.enableFire,transition1.condition,transition2.enableFire,transition2.condition,staBy.outPort[2].available,staBy.newActive,staBy.oldActive,staBy.active,pumOn.newActive,pumOn.oldActive,pumOn.active,avaSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,off.localActive,off.inPort[2].occupied,off.newActive,off.oldActive,stateGraphRoot.activeSteps,transition3.fire,transition3.t_start,transition4.enableFire) * Number of discrete states: 7 (runSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEvent,staBy.newActive,pumOn.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001124/0.889, allocations: 380.1 kB / 1.142 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006791/0.8897, allocations: 348 kB / 1.142 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.8897, allocations: 3.938 kB / 1.142 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002811/0.89, allocations: 165.6 kB / 1.142 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006439/0.8907, allocations: 104.4 kB / 1.142 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/0.8928, allocations: 0.8659 MB / 1.143 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009412/0.8937, allocations: 1.031 MB / 1.144 GB, free: 4.09 MB / 0.7448 GB Notification: Performance of SimCode: time 4.81e-07/0.8937, allocations: 3.938 kB / 1.144 GB, free: 4.086 MB / 0.7448 GB Notification: Performance of Templates: time 0.01528/0.909, allocations: 6.49 MB / 1.151 GB, free: 13.68 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe 2>&1)