Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.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.WarmUpTimeDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay") [: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.368/2.368, allocations: 253.1 MB / 260.4 MB, free: 7.527 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.001656/0.001656, allocations: 177.3 kB / 319.6 MB, free: 3.309 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.903/1.903, allocations: 205.4 MB / 0.5704 GB, free: 14.94 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.001262/0.001262, allocations: 94.69 kB / 0.6746 GB, free: 4.305 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.295e-05/1.313e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2155, allocations: 106.3 MB / 0.8881 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6907/0.9063, allocations: 140.6 MB / 1.025 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003615/0.9068, allocations: 88.83 kB / 1.025 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.06135/0.9681, allocations: 13.9 MB / 1.039 GB, free: 2.148 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.872e-05/0.9683, allocations: 12 kB / 1.039 GB, free: 2.137 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001703/0.97, allocations: 0.8254 MB / 1.04 GB, free: 1.309 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.9701, allocations: 16.03 kB / 1.04 GB, free: 1.293 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002471/0.9703, allocations: 86.95 kB / 1.04 GB, free: 1.207 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/0.9715, allocations: 452.7 kB / 1.04 GB, free: 0.7734 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/0.9716, allocations: 54.08 kB / 1.04 GB, free: 0.7188 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.9717, allocations: 43.89 kB / 1.04 GB, free: 0.6758 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001051/0.9728, allocations: 325.9 kB / 1.041 GB, free: 484 kB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001347/0.9742, allocations: 0.5254 MB / 1.041 GB, free: 16 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.676e-05/0.9742, allocations: 4 kB / 1.041 GB, free: 15.99 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.287e-05/0.9743, allocations: 3.625 kB / 1.041 GB, free: 15.99 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.801e-05/0.9743, allocations: 16 kB / 1.041 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00413/0.9785, allocations: 2.539 MB / 1.044 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006347/0.9792, allocations: 239.9 kB / 1.044 GB, free: 13.46 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003083/0.9795, allocations: 116.6 kB / 1.044 GB, free: 13.38 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.444e-05/0.9795, allocations: 4 kB / 1.044 GB, free: 13.38 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004519/0.98, allocations: 180.5 kB / 1.044 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=39): time 6.342e-06/0.98, allocations: 3.984 kB / 1.044 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of matching and sorting (n=39): time 0.0008994/0.9809, allocations: 285.7 kB / 1.045 GB, free: 13 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.85e-05/0.981, allocations: 88.78 kB / 1.045 GB, free: 12.89 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.9821, allocations: 0.5443 MB / 1.045 GB, free: 12.47 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.018e-05/0.9823, allocations: 33.02 kB / 1.045 GB, free: 12.43 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003417/0.9826, allocations: 275.6 kB / 1.045 GB, free: 12.2 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.9828, allocations: 87.64 kB / 1.046 GB, free: 12.12 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-05/0.9828, allocations: 0 / 1.046 GB, free: 12.12 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002247/0.983, allocations: 382.4 kB / 1.046 GB, free: 11.77 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003671/0.9834, allocations: 118.9 kB / 1.046 GB, free: 11.7 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005398/0.984, allocations: 319.4 kB / 1.046 GB, free: 11.36 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004195/0.9844, allocations: 131.1 kB / 1.046 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.926e-06/0.9844, allocations: 4 kB / 1.046 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001255/0.9857, allocations: 462.7 kB / 1.047 GB, free: 10.88 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.9857, allocations: 4 kB / 1.047 GB, free: 10.88 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/0.9858, allocations: 8 kB / 1.047 GB, free: 10.87 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.211e-05/0.9858, allocations: 8 kB / 1.047 GB, free: 10.86 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005068/0.9863, allocations: 75.59 kB / 1.047 GB, free: 10.79 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.305e-05/0.9863, allocations: 16.48 kB / 1.047 GB, free: 10.78 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004354/0.9868, allocations: 31.75 kB / 1.047 GB, free: 10.75 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.291e-05/0.9869, allocations: 27.92 kB / 1.047 GB, free: 10.72 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: 56 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition5.enableFire,$PRE.warUpCtr.timer.yAcc,warUpCtr.timer.yAcc,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.condition,$whenCondition4,$whenCondition2,$whenCondition3,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.timer.entryTime,warUpCtr.timer.entryTime,transition5.enableFire,$PRE.warUpCtr.timer.reset_internal,warUpCtr.timer.reset_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 79 * 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.0002388/0.9871, allocations: 149.8 kB / 1.047 GB, free: 10.57 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.9873, allocations: 62.81 kB / 1.047 GB, free: 10.52 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001204/0.9885, allocations: 351.4 kB / 1.048 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.9885, allocations: 4 kB / 1.048 GB, free: 10.24 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/0.9885, allocations: 3.906 kB / 1.048 GB, free: 10.24 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.9886, allocations: 3.984 kB / 1.048 GB, free: 10.23 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002932/0.9915, allocations: 0.9192 MB / 1.049 GB, free: 9.461 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.9916, allocations: 0 / 1.049 GB, free: 9.461 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002808/0.9918, allocations: 23.92 kB / 1.049 GB, free: 9.438 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-05/0.9919, allocations: 8 kB / 1.049 GB, free: 9.43 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.646e-05/0.9919, allocations: 3.062 kB / 1.049 GB, free: 9.43 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.145e-05/0.992, allocations: 7.984 kB / 1.049 GB, free: 9.422 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.992, allocations: 0 / 1.049 GB, free: 9.422 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001327/0.9933, allocations: 430.1 kB / 1.049 GB, free: 9.047 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000264/0.9936, allocations: 131.6 kB / 1.049 GB, free: 8.902 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001712/0.9938, allocations: 11.05 kB / 1.049 GB, free: 8.895 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000428/0.9943, allocations: 11.94 kB / 1.049 GB, free: 8.883 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002459/0.9945, allocations: 46.55 kB / 1.049 GB, free: 8.844 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.689e-05/0.9946, allocations: 19.48 kB / 1.049 GB, free: 8.828 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.001007/0.9956, allocations: 390.6 kB / 1.05 GB, free: 8.543 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001306/0.9969, allocations: 115.4 kB / 1.05 GB, free: 8.434 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: 37 (nor.active,off.active,warUp.active,warUp.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition4,$whenCondition2,$whenCondition3,$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,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.timer.entryTime,warUpCtr.timer.yAcc) * Number of discrete states: 6 (runSig.combiTimeTable.nextTimeEvent,warUp.newActive,off.newActive,nor.newActive,warUpCtr.timer.y,runSig.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.001633/0.9986, allocations: 360.8 kB / 1.05 GB, free: 8.172 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001467/1, allocations: 357.9 kB / 1.05 GB, free: 7.918 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.411e-05/1, allocations: 4.125 kB / 1.05 GB, free: 7.914 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005843/1.001, allocations: 159.3 kB / 1.05 GB, free: 7.805 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/1.002, allocations: 76.27 kB / 1.051 GB, free: 7.75 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003644/1.006, allocations: 0.7767 MB / 1.051 GB, free: 7.035 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001484/1.007, allocations: 0.9887 MB / 1.052 GB, free: 6.039 MB / 0.6667 GB Notification: Performance of SimCode: time 1.313e-06/1.007, allocations: 0 / 1.052 GB, free: 6.039 MB / 0.6667 GB Notification: Performance of Templates: time 0.02786/1.035, allocations: 5.556 MB / 1.058 GB, free: 0.5312 MB / 0.6667 GB