Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.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.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") [: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.572/2.572, allocations: 253.1 MB / 260.4 MB, free: 0.5586 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.001661/0.00166, allocations: 186.4 kB / 319.6 MB, free: 7.676 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.1/2.1, allocations: 205.4 MB / 0.5704 GB, free: 25.83 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.001301/0.001301, allocations: 95.7 kB / 0.6746 GB, free: 3.312 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 1.261e-05/1.279e-05, allocations: 4 kB / 0.7843 GB, free: 2.918 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5393/0.5394, allocations: 106.2 MB / 0.888 GB, free: 77.15 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2656/0.805, allocations: 138.6 MB / 1.023 GB, free: 2.355 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003782/0.8055, allocations: 87.94 kB / 1.023 GB, free: 2.27 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.06561/0.8711, allocations: 13.81 MB / 1.037 GB, free: 4.316 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.956e-05/0.8713, allocations: 23.98 kB / 1.037 GB, free: 4.293 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002205/0.8735, allocations: 0.8247 MB / 1.038 GB, free: 3.414 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/0.8736, allocations: 8.031 kB / 1.038 GB, free: 3.406 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003407/0.8739, allocations: 86.97 kB / 1.038 GB, free: 3.32 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001514/0.8754, allocations: 440.2 kB / 1.038 GB, free: 2.848 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001861/0.8757, allocations: 51.02 kB / 1.038 GB, free: 2.793 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001597/0.8758, allocations: 40 kB / 1.038 GB, free: 2.754 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00148/0.8773, allocations: 322.5 kB / 1.039 GB, free: 2.438 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001807/0.8792, allocations: 0.5284 MB / 1.039 GB, free: 1.844 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.155e-05/0.8792, allocations: 3.938 kB / 1.039 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.325e-05/0.8793, allocations: 8 kB / 1.039 GB, free: 1.832 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.124e-05/0.8794, allocations: 12 kB / 1.039 GB, free: 1.82 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3126/1.192, allocations: 2.46 MB / 1.042 GB, free: 203 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007005/1.193, allocations: 229.8 kB / 1.042 GB, free: 203 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003064/1.193, allocations: 127.4 kB / 1.042 GB, free: 203 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/1.193, allocations: 3.594 kB / 1.042 GB, free: 203 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003919/1.194, allocations: 177.7 kB / 1.042 GB, free: 202.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=40): time 3.507e-06/1.194, allocations: 3.75 kB / 1.042 GB, free: 202.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=40): time 0.0008568/1.194, allocations: 287.9 kB / 1.042 GB, free: 202.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/1.194, allocations: 83.89 kB / 1.043 GB, free: 202.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009918/1.195, allocations: 0.5529 MB / 1.043 GB, free: 202.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001019/1.196, allocations: 38.33 kB / 1.043 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002109/1.196, allocations: 269.9 kB / 1.043 GB, free: 202.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001464/1.196, allocations: 99.84 kB / 1.043 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-05/1.196, allocations: 0 / 1.043 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001333/1.196, allocations: 379 kB / 1.044 GB, free: 202.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003363/1.197, allocations: 114.1 kB / 1.044 GB, free: 202.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004392/1.197, allocations: 318.2 kB / 1.044 GB, free: 201.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003459/1.197, allocations: 137.2 kB / 1.044 GB, free: 201.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/1.197, allocations: 2.625 kB / 1.044 GB, free: 201.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001178/1.199, allocations: 468.2 kB / 1.045 GB, free: 201.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/1.199, allocations: 5.531 kB / 1.045 GB, free: 201.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/1.199, allocations: 5.938 kB / 1.045 GB, free: 201.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.629e-05/1.199, allocations: 17.28 kB / 1.045 GB, free: 201.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004518/1.199, allocations: 71.7 kB / 1.045 GB, free: 201.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.553e-05/1.199, allocations: 15.48 kB / 1.045 GB, free: 201.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004538/1.2, allocations: 27.62 kB / 1.045 GB, free: 201.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.333e-05/1.2, allocations: 26.47 kB / 1.045 GB, free: 201.8 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 57 ($PRE.transition2.enableFire,$PRE.transition1.enableFire,$PRE.transition4.enableFire,$PRE.transition3.enableFire,$PRE.transition5.enableFire,$PRE.timer.yAcc,timer.yAcc,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.condition,$whenCondition4,$whenCondition2,$whenCondition3,actMod,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,notRun.y,and1.y,$PRE.cooDow.localActive,cooDow.localActive,cooDow.inPort[2].occupied,cooDow.outPort[2].available,$PRE.cooDow.newActive,cooDow.newActive,$PRE.cooDow.oldActive,cooDow.oldActive,cooDow.active,$PRE.norm.localActive,norm.localActive,norm.inPort[2].occupied,norm.outPort[2].available,$PRE.norm.newActive,norm.newActive,$PRE.norm.oldActive,norm.oldActive,norm.active,stateGraphRoot.activeSteps,transition2.enableFire,transition1.enableFire,transition4.enableFire,$PRE.off.localActive,off.localActive,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,off.active,transition3.enableFire,$PRE.timer.entryTime,timer.entryTime,timeDel.y,transition5.enableFire,$PRE.timer.reset_internal,timer.reset_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 80 * 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.0002003/1.2, allocations: 151.9 kB / 1.045 GB, free: 201.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/1.2, allocations: 63.34 kB / 1.045 GB, free: 201.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001097/1.201, allocations: 346.3 kB / 1.045 GB, free: 201.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/1.201, allocations: 5.562 kB / 1.045 GB, free: 201.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/1.201, allocations: 0 / 1.045 GB, free: 201.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/1.201, allocations: 8.5 kB / 1.046 GB, free: 201.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002949/1.204, allocations: 0.9218 MB / 1.046 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.899e-06/1.204, allocations: 0 / 1.046 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003048/1.205, allocations: 27.39 kB / 1.046 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.809e-05/1.205, allocations: 9.062 kB / 1.046 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.974e-05/1.205, allocations: 6.5 kB / 1.046 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/1.205, allocations: 2.75 kB / 1.046 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/1.205, allocations: 0 / 1.046 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001369/1.206, allocations: 422.1 kB / 1.047 GB, free: 201.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002194/1.207, allocations: 142.3 kB / 1.047 GB, free: 201 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001613/1.207, allocations: 7.281 kB / 1.047 GB, free: 201 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004706/1.207, allocations: 10.58 kB / 1.047 GB, free: 201 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002563/1.207, allocations: 44.2 kB / 1.047 GB, free: 201 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-05/1.208, allocations: 16.25 kB / 1.047 GB, free: 201 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.00101/1.209, allocations: 395.6 kB / 1.047 GB, free: 200.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002145/1.211, allocations: 102.1 kB / 1.048 GB, free: 200.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 38 (off.active,norm.active,cooDow.active,cooDow.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition4,$whenCondition2,$whenCondition3,$whenCondition1,actMod,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,notRun.y,and1.y,cooDow.inPort[2].occupied,cooDow.outPort[2].available,cooDow.newActive,cooDow.oldActive,norm.localActive,norm.inPort[2].occupied,norm.outPort[2].available,norm.newActive,norm.oldActive,stateGraphRoot.activeSteps,transition2.enableFire,transition1.enableFire,transition4.enableFire,off.localActive,off.newActive,off.oldActive,transition3.enableFire,timer.entryTime,timer.yAcc,timeDel.y) * Number of discrete states: 6 (runSig.combiTimeTable.nextTimeEvent,cooDow.newActive,norm.newActive,off.newActive,timer.y,runSig.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 39 * 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.00173/1.213, allocations: 368 kB / 1.048 GB, free: 200.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001075/1.214, allocations: 353 kB / 1.048 GB, free: 200.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.214, allocations: 0 / 1.048 GB, free: 200.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003744/1.214, allocations: 163.9 kB / 1.048 GB, free: 200.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007361/1.215, allocations: 69.06 kB / 1.048 GB, free: 200.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002106/1.217, allocations: 0.7885 MB / 1.049 GB, free: 200.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006867/1.218, allocations: 1.001 MB / 1.05 GB, free: 199.9 MB / 0.6823 GB Notification: Performance of SimCode: time 1.172e-06/1.218, allocations: 0 / 1.05 GB, free: 199.9 MB / 0.6823 GB Notification: Performance of Templates: time 0.01937/1.237, allocations: 5.563 MB / 1.056 GB, free: 199.6 MB / 0.6823 GB