Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.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.WarmUpTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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 7.0.1/package.mo): time 2.375/2.375, allocations: 253.1 MB / 260.4 MB, free: 7.516 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.002399/0.002399, allocations: 185.2 kB / 319.6 MB, free: 3.316 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 2.066/2.066, allocations: 205.4 MB / 0.5704 GB, free: 15.11 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.001693/0.001693, allocations: 97.28 kB / 0.6746 GB, free: 4.477 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.308e-06/9.568e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2169, allocations: 106.3 MB / 0.8881 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.704/0.9209, allocations: 140.8 MB / 1.026 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003449/0.9214, allocations: 91.56 kB / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.06574/0.9871, allocations: 14.88 MB / 1.04 GB, free: 1.027 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.466e-05/0.9872, allocations: 20 kB / 1.04 GB, free: 1.008 MB / 0.6511 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.002115/0.9894, allocations: 0.9026 MB / 1.041 GB, free: 108 kB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.9894, allocations: 8.031 kB / 1.041 GB, free: 100 kB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002873/0.9897, allocations: 94.88 kB / 1.041 GB, free: 4 kB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/0.991, allocations: 450.3 kB / 1.042 GB, free: 15.57 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.9911, allocations: 62.53 kB / 1.042 GB, free: 15.51 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/0.9912, allocations: 36 kB / 1.042 GB, free: 15.48 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001171/0.9924, allocations: 365.9 kB / 1.042 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.9938, allocations: 0.5693 MB / 1.043 GB, free: 14.75 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.501e-05/0.9939, allocations: 0 / 1.043 GB, free: 14.75 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.587e-05/0.994, allocations: 0 / 1.043 GB, free: 14.75 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.895e-05/0.994, allocations: 20 kB / 1.043 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00499/0.999, allocations: 2.597 MB / 1.045 GB, free: 12.35 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008059/0.9999, allocations: 238 kB / 1.045 GB, free: 12.18 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003354/1, allocations: 131.8 kB / 1.046 GB, free: 12.1 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 4.28e-05/1, allocations: 4 kB / 1.046 GB, free: 12.09 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000471/1.001, allocations: 178.5 kB / 1.046 GB, free: 11.95 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=38): time 3.697e-06/1.001, allocations: 0 / 1.046 GB, free: 11.95 MB / 0.6667 GB Notification: Performance of matching and sorting (n=38): time 0.0009283/1.002, allocations: 283.3 kB / 1.046 GB, free: 11.72 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.736e-05/1.002, allocations: 85.05 kB / 1.046 GB, free: 11.62 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/1.003, allocations: 0.5429 MB / 1.047 GB, free: 11.2 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001177/1.003, allocations: 44.75 kB / 1.047 GB, free: 11.15 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003162/1.003, allocations: 289.3 kB / 1.047 GB, free: 10.9 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/1.004, allocations: 86.08 kB / 1.047 GB, free: 10.83 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.115e-05/1.004, allocations: 4 kB / 1.047 GB, free: 10.83 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002326/1.004, allocations: 384.9 kB / 1.047 GB, free: 10.47 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000405/1.004, allocations: 125.9 kB / 1.047 GB, free: 10.39 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006141/1.005, allocations: 336.7 kB / 1.048 GB, free: 10.04 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004172/1.005, allocations: 142 kB / 1.048 GB, free: 9.938 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/1.005, allocations: 4 kB / 1.048 GB, free: 9.934 MB / 0.6667 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001331/1.007, allocations: 477.2 kB / 1.048 GB, free: 9.543 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/1.007, allocations: 8.125 kB / 1.048 GB, free: 9.535 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/1.007, allocations: 4 kB / 1.048 GB, free: 9.531 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.667e-05/1.007, allocations: 12 kB / 1.048 GB, free: 9.52 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006059/1.007, allocations: 87.45 kB / 1.048 GB, free: 9.441 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-05/1.007, allocations: 15.94 kB / 1.049 GB, free: 9.426 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006701/1.008, allocations: 55.66 kB / 1.049 GB, free: 9.371 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.997e-05/1.008, allocations: 31.8 kB / 1.049 GB, free: 9.344 MB / 0.6667 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.0002633/1.009, allocations: 153.9 kB / 1.049 GB, free: 9.191 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/1.009, allocations: 67.16 kB / 1.049 GB, free: 9.125 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001261/1.01, allocations: 348.4 kB / 1.049 GB, free: 8.863 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/1.01, allocations: 4 kB / 1.049 GB, free: 8.859 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/1.01, allocations: 0 / 1.049 GB, free: 8.859 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/1.01, allocations: 3.984 kB / 1.049 GB, free: 8.855 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002326/1.012, allocations: 0.9024 MB / 1.05 GB, free: 8.121 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/1.012, allocations: 0 / 1.05 GB, free: 8.121 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003679/1.013, allocations: 34.73 kB / 1.05 GB, free: 8.09 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.169e-05/1.013, allocations: 0 / 1.05 GB, free: 8.09 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.703e-05/1.013, allocations: 7.984 kB / 1.05 GB, free: 8.082 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.755e-06/1.013, allocations: 7.875 kB / 1.05 GB, free: 8.074 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.013, allocations: 4 kB / 1.05 GB, free: 8.07 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009874/1.014, allocations: 427.9 kB / 1.05 GB, free: 7.703 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001941/1.014, allocations: 135.2 kB / 1.051 GB, free: 7.555 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/1.014, allocations: 3.984 kB / 1.051 GB, free: 7.551 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004493/1.015, allocations: 31.17 kB / 1.051 GB, free: 7.523 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002294/1.015, allocations: 54.66 kB / 1.051 GB, free: 7.48 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.272e-05/1.015, allocations: 15.98 kB / 1.051 GB, free: 7.465 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.000778/1.016, allocations: 391.8 kB / 1.051 GB, free: 7.176 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0008745/1.017, allocations: 107.8 kB / 1.051 GB, free: 7.07 MB / 0.6667 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.001146/1.018, allocations: 372.8 kB / 1.052 GB, free: 6.797 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001101/1.019, allocations: 358.1 kB / 1.052 GB, free: 6.547 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/1.019, allocations: 0 / 1.052 GB, free: 6.547 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004084/1.019, allocations: 159 kB / 1.052 GB, free: 6.438 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000831/1.02, allocations: 71.7 kB / 1.052 GB, free: 6.391 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002908/1.023, allocations: 0.8134 MB / 1.053 GB, free: 5.645 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001252/1.025, allocations: 1.014 MB / 1.054 GB, free: 4.617 MB / 0.6667 GB Notification: Performance of SimCode: time 1.723e-06/1.025, allocations: 0 / 1.054 GB, free: 4.617 MB / 0.6667 GB Notification: Performance of Templates: time 0.02343/1.048, allocations: 5.943 MB / 1.06 GB, free: 14.73 MB / 0.6823 GB