Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.Controller,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.35/2.35, allocations: 253.1 MB / 260.4 MB, free: 7.621 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001716/0.001716, allocations: 189.2 kB / 319.6 MB, free: 3.305 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.908/1.908, allocations: 205.4 MB / 0.5704 GB, free: 15.06 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001238/0.001237, allocations: 86.39 kB / 0.6746 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.354e-05/1.378e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2318, allocations: 106.2 MB / 0.888 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.726/0.9579, allocations: 143.9 MB / 1.029 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003421/0.9583, allocations: 89.56 kB / 1.029 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.1433/1.102, allocations: 32.37 MB / 1.06 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001859/1.102, allocations: 39.94 kB / 1.06 GB, free: 15.77 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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.004404/1.106, allocations: 1.565 MB / 1.062 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/1.106, allocations: 12.03 kB / 1.062 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008989/1.107, allocations: 205.5 kB / 1.062 GB, free: 14.03 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003291/1.111, allocations: 1.054 MB / 1.063 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001788/1.111, allocations: 91.36 kB / 1.063 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002807/1.111, allocations: 83.92 kB / 1.063 GB, free: 12.97 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002731/1.114, allocations: 0.8004 MB / 1.064 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003036/1.117, allocations: 1.163 MB / 1.065 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.378e-05/1.117, allocations: 11.92 kB / 1.065 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001396/1.117, allocations: 4 kB / 1.065 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-05/1.117, allocations: 32 kB / 1.065 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01077/1.128, allocations: 5.329 MB / 1.07 GB, free: 6.914 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001815/1.13, allocations: 0.6002 MB / 1.071 GB, free: 6.527 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008554/1.131, allocations: 325 kB / 1.071 GB, free: 6.34 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.034e-05/1.131, allocations: 16.39 kB / 1.071 GB, free: 6.328 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001172/1.132, allocations: 411.6 kB / 1.072 GB, free: 6.035 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=95): time 5.36e-06/1.132, allocations: 0 / 1.072 GB, free: 6.035 MB / 0.6823 GB Notification: Performance of matching and sorting (n=95): time 0.002299/1.134, allocations: 0.6766 MB / 1.072 GB, free: 5.504 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/1.135, allocations: 123.2 kB / 1.072 GB, free: 5.363 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003804/1.138, allocations: 1.399 MB / 1.074 GB, free: 4.316 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003595/1.139, allocations: 55.19 kB / 1.074 GB, free: 4.27 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008042/1.14, allocations: 0.4909 MB / 1.074 GB, free: 3.855 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004761/1.14, allocations: 229.2 kB / 1.075 GB, free: 3.664 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/1.14, allocations: 0 / 1.075 GB, free: 3.664 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002133/1.14, allocations: 358.5 kB / 1.075 GB, free: 3.332 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001121/1.142, allocations: 358.8 kB / 1.075 GB, free: 3.121 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001503/1.143, allocations: 0.7348 MB / 1.076 GB, free: 2.406 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/1.144, allocations: 364.1 kB / 1.076 GB, free: 2.16 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/1.144, allocations: 3.938 kB / 1.076 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.003585/1.148, allocations: 1.124 MB / 1.077 GB, free: 1.266 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.665e-05/1.148, allocations: 8 kB / 1.077 GB, free: 1.258 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.248e-05/1.148, allocations: 15.89 kB / 1.077 GB, free: 1.242 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.211e-05/1.148, allocations: 24.06 kB / 1.077 GB, free: 1.219 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/1.149, allocations: 173 kB / 1.078 GB, free: 1.062 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.24e-05/1.15, allocations: 19.94 kB / 1.078 GB, free: 1.043 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/1.151, allocations: 83.41 kB / 1.078 GB, free: 0.9609 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002131/1.151, allocations: 64.42 kB / 1.078 GB, free: 0.9102 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 124 ($PRE.con.transition3.enableFire,$PRE.con.transition5.enableFire,$PRE.con.transition9.enableFire,$PRE.con.transition7.enableFire,$PRE.con.transition10.enableFire,$PRE.con.transition1.enableFire,$PRE.con.transition2.enableFire,$PRE.con.transition8.enableFire,$PRE.con.transition6.enableFire,$PRE.con.transition4.enableFire,$PRE.con.timer.yAcc,con.timer.yAcc,$PRE.con.warUpCtr.timer.yAcc,con.warUpCtr.timer.yAcc,$whenCondition10,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition9,$PRE.avaSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,con.runSig,con.opeMod,$PRE.con.staBy.localActive,con.staBy.localActive,con.staBy.outPort[2].available,$PRE.con.staBy.newActive,con.staBy.newActive,$PRE.con.staBy.oldActive,con.staBy.oldActive,con.staBy.active,$PRE.con.pumOn.localActive,con.pumOn.localActive,con.pumOn.outPort[2].available,$PRE.con.pumOn.newActive,con.pumOn.newActive,$PRE.con.pumOn.oldActive,con.pumOn.oldActive,con.pumOn.active,$PRE.con.warUp.localActive,con.warUp.localActive,con.warUp.inPort[2].occupied,con.warUp.outPort[2].available,$PRE.con.warUp.newActive,con.warUp.newActive,$PRE.con.warUp.oldActive,con.warUp.oldActive,con.warUp.active,$PRE.con.cooDow.localActive,con.cooDow.localActive,con.cooDow.inPort[2].occupied,con.cooDow.outPort[2].available,$PRE.con.cooDow.newActive,con.cooDow.newActive,$PRE.con.cooDow.oldActive,con.cooDow.oldActive,con.cooDow.active,$PRE.con.hys.y,con.hys.y,con.and1.u2,con.and1.y,con.transition3.enableFire,con.transition5.enableFire,con.transition9.enableFire,con.transition7.enableFire,con.and3.y,con.transition10.enableFire,con.and4.u1,con.and4.u2,con.and4.y,con.assWatMas.assMes.u,$PRE.con.assWatMas.hys.y,con.assWatMas.hys.y,con.transition1.enableFire,con.transition2.enableFire,$PRE.con.nor.localActive,con.nor.localActive,$PRE.con.nor.newActive,con.nor.newActive,$PRE.con.nor.oldActive,con.nor.oldActive,con.nor.active,con.transition8.enableFire,$PRE.con.warUpCtr.timer.entryTime,con.warUpCtr.timer.entryTime,con.transition6.enableFire,$PRE.con.plaOff.localActive,con.plaOff.localActive,con.plaOff.inPort[2].occupied,con.plaOff.inPort[3].occupied,$PRE.con.plaOff.newActive,con.plaOff.newActive,$PRE.con.plaOff.oldActive,con.plaOff.oldActive,con.plaOff.active,con.transition4.enableFire,con.transition4.fire,$PRE.con.transition4.t_start,con.transition4.t_start,$PRE.con.timer.entryTime,con.timer.entryTime,avaSig.y,avaSig.combiTimeTable.nextTimeEvent,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,stateGraphRoot.activeSteps,$PRE.con.warUpCtr.timer.reset_internal,con.warUpCtr.timer.reset_internal,$PRE.con.timer.reset_internal,con.timer.reset_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 179 * 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.0007406/1.152, allocations: 221.3 kB / 1.078 GB, free: 0.6953 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007101/1.153, allocations: 146.1 kB / 1.078 GB, free: 0.5508 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004396/1.157, allocations: 0.8132 MB / 1.079 GB, free: 15.95 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.475e-05/1.157, allocations: 15.98 kB / 1.079 GB, free: 15.94 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.574e-05/1.157, allocations: 0 / 1.079 GB, free: 15.94 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.762e-05/1.157, allocations: 7.984 kB / 1.079 GB, free: 15.93 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01002/1.167, allocations: 2.15 MB / 1.081 GB, free: 14.33 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.789e-05/1.167, allocations: 4 kB / 1.081 GB, free: 14.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008178/1.168, allocations: 57.78 kB / 1.081 GB, free: 14.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.421e-05/1.168, allocations: 8 kB / 1.081 GB, free: 14.27 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001745/1.168, allocations: 23.12 kB / 1.081 GB, free: 14.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.538e-05/1.168, allocations: 7.938 kB / 1.081 GB, free: 14.24 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/1.169, allocations: 0 / 1.081 GB, free: 14.24 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00387/1.172, allocations: 0.8576 MB / 1.082 GB, free: 13.54 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/1.173, allocations: 249.5 kB / 1.082 GB, free: 13.29 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007847/1.174, allocations: 18.3 kB / 1.082 GB, free: 13.28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001531/1.176, allocations: 31.97 kB / 1.082 GB, free: 13.25 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008244/1.177, allocations: 142.3 kB / 1.082 GB, free: 13.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002149/1.177, allocations: 38.11 kB / 1.082 GB, free: 13.11 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.003708/1.181, allocations: 0.9379 MB / 1.083 GB, free: 12.43 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002843/1.184, allocations: 250.8 kB / 1.084 GB, free: 12.2 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 88 (con.transition4.enableFire,con.plaOff.active,con.nor.active,con.cooDow.active,con.cooDow.localActive,con.warUp.active,con.warUp.localActive,con.pumOn.localActive,con.staBy.localActive,$cse3,$cse4,$cse5,$cse6,$cse7,$cse8,$cse9,$cse10,$cse11,$cse12,$cse13,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,$whenCondition1,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,con.runSig,con.opeMod,con.staBy.outPort[2].available,con.staBy.newActive,con.staBy.oldActive,con.staBy.active,con.pumOn.outPort[2].available,con.pumOn.newActive,con.pumOn.oldActive,con.pumOn.active,con.warUp.inPort[2].occupied,con.warUp.outPort[2].available,con.warUp.newActive,con.warUp.oldActive,con.cooDow.inPort[2].occupied,con.cooDow.outPort[2].available,con.cooDow.newActive,con.cooDow.oldActive,con.hys.y,con.and1.u2,con.and1.y,con.transition3.enableFire,con.transition5.enableFire,con.transition9.enableFire,con.transition7.enableFire,con.and3.y,con.transition10.enableFire,con.and4.u1,con.and4.u2,con.and4.y,con.assWatMas.assMes.u,con.assWatMas.hys.y,con.transition1.enableFire,con.transition2.enableFire,con.nor.localActive,con.nor.newActive,con.nor.oldActive,con.transition8.enableFire,con.warUpCtr.timer.entryTime,con.warUpCtr.timer.yAcc,con.transition6.enableFire,con.plaOff.localActive,con.plaOff.inPort[2].occupied,con.plaOff.inPort[3].occupied,con.plaOff.newActive,con.plaOff.oldActive,con.transition4.fire,con.transition4.t_start,con.timer.entryTime,con.timer.yAcc,avaSig.y,avaSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,stateGraphRoot.activeSteps) * Number of discrete states: 16 (mWat_flow.tab.nextTimeEvent,avaSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent,con.staBy.newActive,con.pumOn.newActive,con.warUp.newActive,con.cooDow.newActive,con.nor.newActive,con.plaOff.newActive,mWat_flow.tab.nextTimeEventScaled,con.assWatMas.hys.y,con.hys.y,avaSig.combiTimeTable.nextTimeEventScaled,con.timer.y,con.warUpCtr.timer.y,runSig.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 17 * 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.002162/1.186, allocations: 452.6 kB / 1.084 GB, free: 11.85 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004265/1.19, allocations: 0.9031 MB / 1.085 GB, free: 11.22 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.602e-05/1.19, allocations: 0 / 1.085 GB, free: 11.22 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001795/1.192, allocations: 426.4 kB / 1.085 GB, free: 10.93 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002976/1.195, allocations: 203.6 kB / 1.086 GB, free: 10.79 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/1.206, allocations: 2.021 MB / 1.087 GB, free: 9.016 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00355/1.209, allocations: 1.471 MB / 1.089 GB, free: 7.57 MB / 0.698 GB Notification: Performance of SimCode: time 2.174e-06/1.21, allocations: 0 / 1.089 GB, free: 7.57 MB / 0.698 GB Notification: Performance of Templates: time 0.07001/1.28, allocations: 13.82 MB / 1.102 GB, free: 9.84 MB / 0.7136 GB