Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.433/1.433, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.001153/0.001153, allocations: 181.3 kB / 361.1 MB, free: 7.086 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.292/1.292, allocations: 205.1 MB / 0.6195 GB, free: 10.27 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.0009305/0.0009307, allocations: 85.42 kB / 0.7325 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.305e-06/8.315e-06, allocations: 0 / 0.8511 GB, free: 2.945 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6814/0.6815, allocations: 115.3 MB / 0.9637 GB, free: 78.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1905/0.872, allocations: 144.7 MB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/0.8724, allocations: 90.09 kB / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.04671/0.9191, allocations: 16.57 MB / 1.121 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.226e-05/0.9192, allocations: 19.98 kB / 1.121 GB, free: 10.65 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.001913/0.9211, allocations: 0.9073 MB / 1.122 GB, free: 9.684 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.9212, allocations: 8.031 kB / 1.122 GB, free: 9.676 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003609/0.9216, allocations: 90.88 kB / 1.122 GB, free: 9.586 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/0.9228, allocations: 0.4965 MB / 1.123 GB, free: 9.051 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.579e-05/0.9229, allocations: 50.69 kB / 1.123 GB, free: 8.992 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.697e-05/0.923, allocations: 39.91 kB / 1.123 GB, free: 8.953 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006905/0.9237, allocations: 305.9 kB / 1.123 GB, free: 8.656 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008182/0.9245, allocations: 469.6 kB / 1.124 GB, free: 8.152 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.9245, allocations: 4 kB / 1.124 GB, free: 8.148 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.306e-05/0.9246, allocations: 0 / 1.124 GB, free: 8.148 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.845e-05/0.9246, allocations: 14.25 kB / 1.124 GB, free: 8.137 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002897/0.9275, allocations: 1.984 MB / 1.125 GB, free: 6.07 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004407/0.928, allocations: 251.6 kB / 1.126 GB, free: 5.812 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002197/0.9282, allocations: 128.8 kB / 1.126 GB, free: 5.684 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.9283, allocations: 4 kB / 1.126 GB, free: 5.68 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003127/0.9286, allocations: 194.8 kB / 1.126 GB, free: 5.477 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=41): time 3.927e-06/0.9286, allocations: 0 / 1.126 GB, free: 5.477 MB / 0.7292 GB Notification: Performance of matching and sorting (n=41): time 0.0006558/0.9292, allocations: 300.5 kB / 1.126 GB, free: 5.176 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.369e-05/0.9293, allocations: 110.8 kB / 1.126 GB, free: 5.043 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009136/0.9303, allocations: 0.6322 MB / 1.127 GB, free: 4.406 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.974e-05/0.9303, allocations: 33.7 kB / 1.127 GB, free: 4.367 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/0.9305, allocations: 260.5 kB / 1.127 GB, free: 4.105 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001705/0.9307, allocations: 102.7 kB / 1.127 GB, free: 4.004 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.883e-05/0.9308, allocations: 4 kB / 1.127 GB, free: 4 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.9309, allocations: 327.3 kB / 1.128 GB, free: 3.676 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002293/0.9311, allocations: 117.3 kB / 1.128 GB, free: 3.562 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003413/0.9315, allocations: 285.5 kB / 1.128 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002687/0.9318, allocations: 120.7 kB / 1.128 GB, free: 3.102 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.296e-06/0.9318, allocations: 11.94 kB / 1.128 GB, free: 3.09 MB / 0.7292 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008068/0.9326, allocations: 434.5 kB / 1.129 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.9326, allocations: 11.98 kB / 1.129 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.9326, allocations: 8.031 kB / 1.129 GB, free: 2.637 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.741e-05/0.9327, allocations: 8 kB / 1.129 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003019/0.933, allocations: 67.84 kB / 1.129 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/0.933, allocations: 8 kB / 1.129 GB, free: 2.555 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004077/0.9334, allocations: 45.84 kB / 1.129 GB, free: 2.512 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-05/0.9335, allocations: 24 kB / 1.129 GB, free: 2.488 MB / 0.7292 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.0001996/0.9337, allocations: 142 kB / 1.129 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.9338, allocations: 76.97 kB / 1.129 GB, free: 2.27 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007785/0.9346, allocations: 371.2 kB / 1.129 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.869e-06/0.9346, allocations: 15.94 kB / 1.129 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.9347, allocations: 1.938 kB / 1.129 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.9347, allocations: 0 / 1.129 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001634/0.9363, allocations: 0.9628 MB / 1.13 GB, free: 0.8789 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.9363, allocations: 0 / 1.13 GB, free: 0.8789 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.9365, allocations: 31.92 kB / 1.13 GB, free: 0.8477 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.9365, allocations: 8 kB / 1.13 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.874e-05/0.9365, allocations: 7.891 kB / 1.13 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.9365, allocations: 4 kB / 1.13 GB, free: 0.8281 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.9366, allocations: 3.938 kB / 1.13 GB, free: 0.8242 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007027/0.9373, allocations: 442.3 kB / 1.131 GB, free: 384 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001871/0.9375, allocations: 160.1 kB / 1.131 GB, free: 204 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.9376, allocations: 4 kB / 1.131 GB, free: 200 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002323/0.9378, allocations: 23.92 kB / 1.131 GB, free: 176 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.938, allocations: 44.36 kB / 1.131 GB, free: 132 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-05/0.938, allocations: 18.5 kB / 1.131 GB, free: 116 kB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0006736/0.9387, allocations: 467.1 kB / 1.132 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006044/0.9393, allocations: 115.8 kB / 1.132 GB, free: 15.55 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.0009541/0.9403, allocations: 378.5 kB / 1.132 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006508/0.9409, allocations: 351.3 kB / 1.132 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.9409, allocations: 0 / 1.132 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002692/0.9412, allocations: 169.6 kB / 1.132 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006375/0.9419, allocations: 92.2 kB / 1.133 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/0.9437, allocations: 0.8751 MB / 1.133 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009168/0.9447, allocations: 1.031 MB / 1.134 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of SimCode: time 7.11e-07/0.9447, allocations: 0 / 1.134 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of Templates: time 0.01521/0.9599, allocations: 6.486 MB / 1.141 GB, free: 6.395 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe 2>&1)