Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.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.WarmUpTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature") [: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.515/2.515, allocations: 284.9 MB / 292.2 MB, free: 10.77 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.001561/0.001561, allocations: 185.3 kB / 360.4 MB, free: 7.488 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.827/1.827, allocations: 205.1 MB / 0.6188 GB, free: 12.41 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.001288/0.001287, allocations: 95.28 kB / 0.7318 GB, free: 44.97 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.369e-05/1.388e-05, allocations: 4 kB / 0.8503 GB, free: 3.836 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6216/0.6216, allocations: 115.2 MB / 0.9628 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2327/0.8544, allocations: 145.9 MB / 1.105 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003176/0.8548, allocations: 93.25 kB / 1.105 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.06413/0.9189, allocations: 14.85 MB / 1.12 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.299e-05/0.9191, allocations: 12 kB / 1.12 GB, free: 11.93 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: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.002045/0.9211, allocations: 0.9036 MB / 1.121 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.9212, allocations: 12.03 kB / 1.121 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002752/0.9215, allocations: 90.88 kB / 1.121 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/0.9226, allocations: 464 kB / 1.121 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/0.9227, allocations: 63.02 kB / 1.121 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.9229, allocations: 39.94 kB / 1.121 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001188/0.9241, allocations: 354.5 kB / 1.122 GB, free: 9.922 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/0.9255, allocations: 0.5675 MB / 1.122 GB, free: 9.289 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.807e-05/0.9255, allocations: 7.969 kB / 1.122 GB, free: 9.281 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.897e-05/0.9256, allocations: 4 kB / 1.122 GB, free: 9.277 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.414e-05/0.9256, allocations: 16 kB / 1.122 GB, free: 9.262 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00433/0.93, allocations: 2.585 MB / 1.125 GB, free: 6.582 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000804/0.9308, allocations: 243.1 kB / 1.125 GB, free: 6.332 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000339/0.9312, allocations: 124.8 kB / 1.125 GB, free: 6.207 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.859e-05/0.9312, allocations: 11.91 kB / 1.125 GB, free: 6.195 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004535/0.9317, allocations: 175.7 kB / 1.125 GB, free: 6.012 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=38): time 7.594e-06/0.9317, allocations: 0 / 1.125 GB, free: 6.012 MB / 0.7292 GB Notification: Performance of matching and sorting (n=38): time 0.0009312/0.9327, allocations: 280.5 kB / 1.126 GB, free: 5.73 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.502e-05/0.9328, allocations: 89.02 kB / 1.126 GB, free: 5.625 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/0.9339, allocations: 0.5343 MB / 1.126 GB, free: 5.082 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001221/0.9341, allocations: 41.69 kB / 1.126 GB, free: 5.035 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003011/0.9344, allocations: 296 kB / 1.127 GB, free: 4.738 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.9345, allocations: 90.84 kB / 1.127 GB, free: 4.648 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.16e-05/0.9346, allocations: 0 / 1.127 GB, free: 4.648 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000195/0.9348, allocations: 378.8 kB / 1.127 GB, free: 4.27 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003998/0.9352, allocations: 129.3 kB / 1.127 GB, free: 4.145 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005765/0.9358, allocations: 343.8 kB / 1.127 GB, free: 3.719 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004139/0.9362, allocations: 135.8 kB / 1.128 GB, free: 3.586 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.012e-06/0.9362, allocations: 0 / 1.128 GB, free: 3.586 MB / 0.7292 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001314/0.9376, allocations: 484.6 kB / 1.128 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.9376, allocations: 4 kB / 1.128 GB, free: 3.102 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.91e-05/0.9376, allocations: 11.94 kB / 1.128 GB, free: 3.09 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.226e-05/0.9377, allocations: 8.656 kB / 1.128 GB, free: 3.082 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005728/0.9383, allocations: 83.83 kB / 1.128 GB, free: 3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.151e-05/0.9383, allocations: 15.92 kB / 1.128 GB, free: 2.984 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006568/0.939, allocations: 55.92 kB / 1.128 GB, free: 2.93 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-05/0.9391, allocations: 32.03 kB / 1.128 GB, free: 2.898 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 53 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition5.enableFire,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.condition,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition2.condition,transition3.enableFire,transition3.condition,$PRE.warUp.localActive,warUp.localActive,warUp.inPort[2].occupied,warUp.outPort[2].available,$PRE.warUp.newActive,warUp.newActive,$PRE.warUp.oldActive,warUp.oldActive,warUp.active,$PRE.off.localActive,off.localActive,off.inPort[2].occupied,off.outPort[2].available,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,off.active,stateGraphRoot.activeSteps,transition4.enableFire,$PRE.nor.localActive,nor.localActive,$PRE.nor.newActive,nor.newActive,$PRE.nor.oldActive,nor.oldActive,nor.active,$PRE.warUpCtr.pre.u,transition5.enableFire,$PRE.warUpCtr.hysTem.y,warUpCtr.hysTem.y,$PRE.warUpCtr.hysPow.y,warUpCtr.hysPow.y,warUpCtr.pre.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 78 * 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.0002148/0.9393, allocations: 154.8 kB / 1.128 GB, free: 2.742 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.9394, allocations: 63.16 kB / 1.128 GB, free: 2.68 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/0.9407, allocations: 352.8 kB / 1.129 GB, free: 2.332 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.9407, allocations: 11.91 kB / 1.129 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.9407, allocations: 0 / 1.129 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.9407, allocations: 4 kB / 1.129 GB, free: 2.316 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002172/0.9429, allocations: 0.9016 MB / 1.13 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.943, allocations: 0 / 1.13 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003204/0.9433, allocations: 35.91 kB / 1.13 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.9433, allocations: 4 kB / 1.13 GB, free: 1.332 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.914e-05/0.9434, allocations: 12 kB / 1.13 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.9434, allocations: 0 / 1.13 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.9434, allocations: 0 / 1.13 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001008/0.9444, allocations: 415.2 kB / 1.13 GB, free: 0.8984 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001935/0.9446, allocations: 140.2 kB / 1.13 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/0.9448, allocations: 8 kB / 1.13 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004404/0.9452, allocations: 27.89 kB / 1.13 GB, free: 0.707 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002012/0.9454, allocations: 52.84 kB / 1.13 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.575e-05/0.9455, allocations: 22.3 kB / 1.13 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0007248/0.9462, allocations: 387.1 kB / 1.131 GB, free: 268 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008025/0.947, allocations: 103.9 kB / 1.131 GB, free: 164 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: 35 (nor.active,off.active,warUp.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition1,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition2.condition,transition3.enableFire,transition3.condition,warUp.inPort[2].occupied,warUp.outPort[2].available,warUp.newActive,warUp.oldActive,warUp.active,off.localActive,off.inPort[2].occupied,off.outPort[2].available,off.newActive,off.oldActive,stateGraphRoot.activeSteps,transition4.enableFire,nor.localActive,nor.newActive,nor.oldActive,warUpCtr.hysTem.y,warUpCtr.hysPow.y,warUpCtr.pre.u) * Number of discrete states: 8 (runSig.combiTimeTable.nextTimeEvent,warUp.newActive,off.newActive,nor.newActive,warUpCtr.hysTem.y,warUpCtr.hysPow.y,warUpCtr.pre.u,runSig.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001116/0.9482, allocations: 385.2 kB / 1.131 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001097/0.9493, allocations: 364.6 kB / 1.132 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.9493, allocations: 0 / 1.132 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003915/0.9497, allocations: 157.4 kB / 1.132 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008073/0.9505, allocations: 80.09 kB / 1.132 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002562/0.9531, allocations: 0.8099 MB / 1.133 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001007/0.9542, allocations: 1.011 MB / 1.134 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of SimCode: time 1.062e-06/0.9542, allocations: 0 / 1.134 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of Templates: time 0.02125/0.9754, allocations: 5.945 MB / 1.139 GB, free: 7.656 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.sim & ./Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe 2>&1)