Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.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.StandBy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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 7.0.1/package.mo): time 2.386/2.386, allocations: 253.1 MB / 260.4 MB, free: 7.48 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.002214/0.002214, allocations: 181.3 kB / 319.6 MB, free: 3.297 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.005/2.005, allocations: 205.4 MB / 0.5704 GB, free: 15.04 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.001304/0.001304, allocations: 89.83 kB / 0.6746 GB, free: 4.402 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.161e-05/1.163e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2244, allocations: 106.3 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6726/0.897, allocations: 139.1 MB / 1.024 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003954/0.8975, allocations: 91.19 kB / 1.024 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.07256/0.9701, allocations: 16.55 MB / 1.04 GB, free: 1.387 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.57e-05/0.9703, allocations: 16 kB / 1.04 GB, free: 1.371 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001878/0.9722, allocations: 0.9003 MB / 1.041 GB, free: 472 kB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.9722, allocations: 8.031 kB / 1.041 GB, free: 464 kB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000242/0.9725, allocations: 90.88 kB / 1.041 GB, free: 372 kB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001362/0.9738, allocations: 0.4964 MB / 1.042 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/0.974, allocations: 46.7 kB / 1.042 GB, free: 15.83 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.9741, allocations: 35.98 kB / 1.042 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000994/0.9751, allocations: 309.7 kB / 1.042 GB, free: 15.6 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/0.9762, allocations: 480.5 kB / 1.042 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.9763, allocations: 0 / 1.042 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.158e-05/0.9763, allocations: 7.984 kB / 1.042 GB, free: 15.19 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.159e-05/0.9764, allocations: 12 kB / 1.042 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003542/0.9799, allocations: 1.974 MB / 1.044 GB, free: 13.41 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007027/0.9807, allocations: 264.4 kB / 1.045 GB, free: 13.22 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003481/0.9811, allocations: 139.3 kB / 1.045 GB, free: 13.13 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.514e-05/0.9811, allocations: 12.25 kB / 1.045 GB, free: 13.12 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000477/0.9816, allocations: 177.8 kB / 1.045 GB, free: 12.98 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=42): time 3.356e-06/0.9816, allocations: 0 / 1.045 GB, free: 12.98 MB / 0.6667 GB Notification: Performance of matching and sorting (n=42): time 0.0009987/0.9826, allocations: 311 kB / 1.045 GB, free: 12.73 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.079e-05/0.9827, allocations: 114.3 kB / 1.045 GB, free: 12.59 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/0.9841, allocations: 0.6375 MB / 1.046 GB, free: 12.1 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.42e-05/0.9842, allocations: 37.06 kB / 1.046 GB, free: 12.06 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003372/0.9845, allocations: 248.2 kB / 1.046 GB, free: 11.85 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/0.9847, allocations: 99.14 kB / 1.046 GB, free: 11.77 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-05/0.9847, allocations: 0 / 1.046 GB, free: 11.77 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002291/0.985, allocations: 385.9 kB / 1.047 GB, free: 11.41 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003762/0.9853, allocations: 122.3 kB / 1.047 GB, free: 11.34 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005345/0.9859, allocations: 296.8 kB / 1.047 GB, free: 11.04 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004009/0.9863, allocations: 138.4 kB / 1.047 GB, free: 10.95 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.9863, allocations: 0 / 1.047 GB, free: 10.95 MB / 0.6667 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001266/0.9876, allocations: 453.5 kB / 1.048 GB, free: 10.57 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.9876, allocations: 10.66 kB / 1.048 GB, free: 10.56 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.9877, allocations: 4 kB / 1.048 GB, free: 10.56 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.37e-05/0.9877, allocations: 8 kB / 1.048 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000536/0.9883, allocations: 70.95 kB / 1.048 GB, free: 10.48 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.83e-05/0.9883, allocations: 8.594 kB / 1.048 GB, free: 10.48 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005875/0.9889, allocations: 43.73 kB / 1.048 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.687e-05/0.989, allocations: 34.73 kB / 1.048 GB, free: 10.41 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 54 ($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,pumOn.outPort[2].reset,$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,pumOn.outPort[2].available,$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 (74): * Single equations (assignments): 74 * 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.0002453/0.9892, allocations: 145.8 kB / 1.048 GB, free: 10.26 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/0.9894, allocations: 71.06 kB / 1.048 GB, free: 10.19 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001322/0.9908, allocations: 375.9 kB / 1.048 GB, free: 9.902 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.9908, allocations: 4 kB / 1.048 GB, free: 9.898 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.9908, allocations: 0 / 1.048 GB, free: 9.898 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.9908, allocations: 3.984 kB / 1.048 GB, free: 9.895 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002504/0.9933, allocations: 0.9816 MB / 1.049 GB, free: 9.09 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.9934, allocations: 0 / 1.049 GB, free: 9.09 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002741/0.9937, allocations: 31.61 kB / 1.049 GB, free: 9.062 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.695e-05/0.9937, allocations: 8.031 kB / 1.049 GB, free: 9.055 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.938e-05/0.9938, allocations: 3.984 kB / 1.049 GB, free: 9.051 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.408e-06/0.9938, allocations: 4 kB / 1.049 GB, free: 9.047 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.9938, allocations: 0 / 1.049 GB, free: 9.047 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001135/0.9949, allocations: 459.5 kB / 1.05 GB, free: 8.652 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002352/0.9952, allocations: 159.3 kB / 1.05 GB, free: 8.484 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001381/0.9953, allocations: 7.938 kB / 1.05 GB, free: 8.477 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003867/0.9957, allocations: 19.55 kB / 1.05 GB, free: 8.461 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00019/0.9959, allocations: 47.55 kB / 1.05 GB, free: 8.418 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-05/0.996, allocations: 15.56 kB / 1.05 GB, free: 8.406 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.000969/0.997, allocations: 466.2 kB / 1.051 GB, free: 8.07 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0009843/0.998, allocations: 119.2 kB / 1.051 GB, free: 7.957 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 (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.outPort[2].available,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 (49): * Single equations (assignments): 41 * 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.001208/0.9992, allocations: 373.4 kB / 1.051 GB, free: 7.684 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001089/1, allocations: 357.6 kB / 1.051 GB, free: 7.434 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/1, allocations: 1.188 kB / 1.051 GB, free: 7.434 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004216/1.001, allocations: 177.3 kB / 1.052 GB, free: 7.309 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/1.002, allocations: 100.7 kB / 1.052 GB, free: 7.234 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00274/1.005, allocations: 0.8659 MB / 1.053 GB, free: 6.453 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00107/1.006, allocations: 1.028 MB / 1.054 GB, free: 5.418 MB / 0.6667 GB Notification: Performance of SimCode: time 1.102e-06/1.006, allocations: 0 / 1.054 GB, free: 5.418 MB / 0.6667 GB Notification: Performance of Templates: time 0.02364/1.029, allocations: 6.521 MB / 1.06 GB, free: 14.95 MB / 0.6823 GB