Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.533/2.533, allocations: 284.9 MB / 292.2 MB, free: 10.78 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002465/0.002464, allocations: 177.3 kB / 360.4 MB, free: 7.543 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.761/1.761, allocations: 205.1 MB / 0.6188 GB, free: 13.19 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001252/0.001251, allocations: 92.69 kB / 0.7318 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.149e-05/1.16e-05, allocations: 4 kB / 0.8503 GB, free: 3.977 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6051/0.6051, allocations: 115.2 MB / 0.9628 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2302/0.8354, allocations: 144.5 MB / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000325/0.8358, allocations: 84.56 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.07479/0.9106, allocations: 16.57 MB / 1.12 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.074e-05/0.9107, allocations: 12 kB / 1.12 GB, free: 11.64 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.002038/0.9128, allocations: 0.9134 MB / 1.121 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.9128, allocations: 8.031 kB / 1.121 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003588/0.9132, allocations: 94.86 kB / 1.121 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001452/0.9147, allocations: 0.5004 MB / 1.122 GB, free: 10.03 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/0.9148, allocations: 54.7 kB / 1.122 GB, free: 9.965 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.915, allocations: 39.89 kB / 1.122 GB, free: 9.926 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00101/0.916, allocations: 293.9 kB / 1.122 GB, free: 9.641 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/0.9172, allocations: 477.6 kB / 1.122 GB, free: 9.129 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.061e-05/0.9173, allocations: 3.938 kB / 1.122 GB, free: 9.125 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.963e-05/0.9173, allocations: 4 kB / 1.122 GB, free: 9.121 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.984e-05/0.9174, allocations: 12 kB / 1.123 GB, free: 9.109 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003955/0.9213, allocations: 1.978 MB / 1.124 GB, free: 7.051 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000731/0.9221, allocations: 251.6 kB / 1.125 GB, free: 6.793 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003582/0.9225, allocations: 132.8 kB / 1.125 GB, free: 6.66 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.532e-05/0.9225, allocations: 4.938 kB / 1.125 GB, free: 6.656 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004664/0.923, allocations: 188.4 kB / 1.125 GB, free: 6.461 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=41): time 4.107e-06/0.923, allocations: 3.938 kB / 1.125 GB, free: 6.457 MB / 0.7292 GB Notification: Performance of matching and sorting (n=41): time 0.0009851/0.924, allocations: 304.5 kB / 1.125 GB, free: 6.152 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.269e-05/0.9241, allocations: 106.8 kB / 1.125 GB, free: 6.023 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/0.9256, allocations: 0.6322 MB / 1.126 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001373/0.9258, allocations: 33.7 kB / 1.126 GB, free: 5.344 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003191/0.9261, allocations: 260.6 kB / 1.126 GB, free: 5.082 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000171/0.9263, allocations: 98.7 kB / 1.126 GB, free: 4.984 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.791e-05/0.9263, allocations: 0 / 1.126 GB, free: 4.984 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.9265, allocations: 329.7 kB / 1.127 GB, free: 4.66 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003698/0.9269, allocations: 113.3 kB / 1.127 GB, free: 4.551 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005419/0.9275, allocations: 289.4 kB / 1.127 GB, free: 4.203 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004511/0.9279, allocations: 132.7 kB / 1.127 GB, free: 4.074 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.928, allocations: 0 / 1.127 GB, free: 4.074 MB / 0.7292 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001257/0.9292, allocations: 438.1 kB / 1.128 GB, free: 3.637 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.9293, allocations: 4 kB / 1.128 GB, free: 3.633 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/0.9293, allocations: 5.438 kB / 1.128 GB, free: 3.629 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.803e-05/0.9293, allocations: 8 kB / 1.128 GB, free: 3.621 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005062/0.9298, allocations: 75.83 kB / 1.128 GB, free: 3.547 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/0.9299, allocations: 7.938 kB / 1.128 GB, free: 3.539 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005494/0.9304, allocations: 44.11 kB / 1.128 GB, free: 3.496 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.255e-05/0.9305, allocations: 27.98 kB / 1.128 GB, free: 3.469 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.0002207/0.9308, allocations: 144 kB / 1.128 GB, free: 3.324 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/0.9309, allocations: 75.06 kB / 1.128 GB, free: 3.25 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001239/0.9322, allocations: 363.9 kB / 1.128 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/0.9322, allocations: 15.94 kB / 1.128 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.9322, allocations: 2.438 kB / 1.128 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.9323, allocations: 3.984 kB / 1.128 GB, free: 2.871 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002537/0.9348, allocations: 0.9628 MB / 1.129 GB, free: 1.859 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.9349, allocations: 4 kB / 1.129 GB, free: 1.855 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002578/0.9351, allocations: 27.92 kB / 1.129 GB, free: 1.828 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/0.9351, allocations: 0 / 1.129 GB, free: 1.828 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.915e-05/0.9352, allocations: 11.91 kB / 1.129 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.919e-06/0.9352, allocations: 11.92 kB / 1.129 GB, free: 1.805 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.9352, allocations: 0 / 1.129 GB, free: 1.805 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001067/0.9363, allocations: 446.3 kB / 1.13 GB, free: 1.352 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000237/0.9366, allocations: 156.1 kB / 1.13 GB, free: 1.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001382/0.9367, allocations: 7.984 kB / 1.13 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004218/0.9372, allocations: 19.98 kB / 1.13 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001744/0.9373, allocations: 40.38 kB / 1.13 GB, free: 1.113 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.995e-05/0.9374, allocations: 15.98 kB / 1.13 GB, free: 1.098 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0009575/0.9384, allocations: 471.1 kB / 1.13 GB, free: 0.6406 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008772/0.9393, allocations: 115.8 kB / 1.131 GB, free: 0.5273 MB / 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: 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.0011/0.9404, allocations: 393.7 kB / 1.131 GB, free: 284 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001107/0.9415, allocations: 340.1 kB / 1.131 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.9415, allocations: 0 / 1.131 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004194/0.942, allocations: 166.7 kB / 1.131 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.943, allocations: 99.97 kB / 1.132 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002806/0.9458, allocations: 0.8663 MB / 1.132 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001134/0.947, allocations: 1.031 MB / 1.133 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of SimCode: time 1.533e-06/0.947, allocations: 0 / 1.133 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of Templates: time 0.02394/0.971, allocations: 6.497 MB / 1.14 GB, free: 7.379 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.sim & ./Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe 2>&1)