Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Enable_FreProSta.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.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Enable_FreProSta,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Enable_FreProSta") [: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.317/2.317, allocations: 253.1 MB / 260.4 MB, free: 7.52 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.001955/0.001955, allocations: 177.3 kB / 319.6 MB, free: 3.324 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.06/2.06, allocations: 205.4 MB / 0.5704 GB, free: 15.05 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.001286/0.001285, allocations: 95.27 kB / 0.6746 GB, free: 4.41 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.033e-05/1.059e-05, allocations: 4 kB / 0.7844 GB, free: 102.4 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1932, allocations: 106.2 MB / 0.8881 GB, free: 12.1 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6302/0.8235, allocations: 136 MB / 1.021 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003266/0.8239, allocations: 81.69 kB / 1.021 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.04448/0.8684, allocations: 11.28 MB / 1.032 GB, free: 9.062 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.669e-05/0.8685, allocations: 19.98 kB / 1.032 GB, free: 9.043 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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.00229/0.8708, allocations: 0.8444 MB / 1.033 GB, free: 8.195 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.8709, allocations: 12.03 kB / 1.033 GB, free: 8.184 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004306/0.8713, allocations: 87.06 kB / 1.033 GB, free: 8.098 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/0.8726, allocations: 492.4 kB / 1.034 GB, free: 7.695 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.397e-05/0.8727, allocations: 35.69 kB / 1.034 GB, free: 7.664 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001893/0.8729, allocations: 63.98 kB / 1.034 GB, free: 7.602 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001855/0.8748, allocations: 0.5125 MB / 1.034 GB, free: 7.305 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002178/0.877, allocations: 0.7553 MB / 1.035 GB, free: 6.719 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.304e-05/0.8771, allocations: 7.938 kB / 1.035 GB, free: 6.711 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/0.8772, allocations: 7.984 kB / 1.035 GB, free: 6.703 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.577e-05/0.8773, allocations: 20 kB / 1.035 GB, free: 6.684 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005848/0.8831, allocations: 2.992 MB / 1.038 GB, free: 4.254 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.8846, allocations: 0.491 MB / 1.038 GB, free: 3.945 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000632/0.8852, allocations: 242.4 kB / 1.039 GB, free: 3.805 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.284e-05/0.8853, allocations: 4.438 kB / 1.039 GB, free: 3.801 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00087/0.8862, allocations: 333.5 kB / 1.039 GB, free: 3.562 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=65): time 3.387e-06/0.8862, allocations: 4 kB / 1.039 GB, free: 3.559 MB / 0.6511 GB Notification: Performance of matching and sorting (n=65): time 0.001512/0.8877, allocations: 487.6 kB / 1.039 GB, free: 3.207 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.051e-05/0.8878, allocations: 68 kB / 1.039 GB, free: 3.129 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006419/0.8885, allocations: 338 kB / 1.04 GB, free: 2.875 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001724/0.8887, allocations: 46.39 kB / 1.04 GB, free: 2.832 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000312/0.889, allocations: 303.9 kB / 1.04 GB, free: 2.562 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002058/0.8892, allocations: 136.2 kB / 1.04 GB, free: 2.449 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.003e-05/0.8893, allocations: 0 / 1.04 GB, free: 2.449 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001862/0.8895, allocations: 360.8 kB / 1.04 GB, free: 2.109 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006852/0.8902, allocations: 193.9 kB / 1.041 GB, free: 2.004 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008434/0.891, allocations: 438.8 kB / 1.041 GB, free: 1.574 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006296/0.8917, allocations: 200.4 kB / 1.041 GB, free: 1.441 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/0.8917, allocations: 4 kB / 1.041 GB, free: 1.438 MB / 0.6511 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001737/0.8934, allocations: 0.6096 MB / 1.042 GB, free: 0.957 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.8935, allocations: 8 kB / 1.042 GB, free: 0.9492 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.8935, allocations: 4 kB / 1.042 GB, free: 0.9453 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.878e-05/0.8935, allocations: 16 kB / 1.042 GB, free: 0.9297 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006552/0.8942, allocations: 99.33 kB / 1.042 GB, free: 0.8398 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.167e-05/0.8942, allocations: 15.98 kB / 1.042 GB, free: 0.8242 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006446/0.8949, allocations: 51.61 kB / 1.042 GB, free: 0.7734 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.895, allocations: 35.12 kB / 1.042 GB, free: 0.7461 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 83 ($PRE.enaDis.truFalHol.onDel1.u,$PRE.enaDis.truFalHol.onDel2.u,$PRE.enaDis.truFalHol.toTrue.enableFire,$PRE.enaDis.truFalHol.toFalse.enableFire,$PRE.enaDis.truFalHol.toTrue1.enableFire,$PRE.enaDis.truFalHol.toFalse1.enableFire,$PRE.enaDis.delOutDamOsc.u,$PRE.enaDis.delRetDam.u,$whenCondition13,$whenCondition10,$PRE.enaDis.delRetDam.t_next,$whenCondition7,$PRE.enaDis.delOutDamOsc.t_next,$whenCondition4,$PRE.enaDis.truFalHol.onDel2.t_next,$whenCondition1,$PRE.enaDis.truFalHol.onDel1.t_next,enaDis.delRetDam.t_next,enaDis.delOutDamOsc.t_next,enaDis.truFalHol.onDel2.t_next,enaDis.truFalHol.onDel1.t_next,enaDis.truFalHol.stateGraphRoot.resume,enaDis.truFalHol.stateGraphRoot.suspend,$whenCondition11,$whenCondition12,$whenCondition8,$whenCondition9,$whenCondition5,$whenCondition6,$whenCondition2,$whenCondition3,enaDis.uFreProSta,enaDis.truFalHol.u,enaDis.truFalHol.onDel1.u,enaDis.truFalHol.onDel1.y,enaDis.truFalHol.onDel2.u,enaDis.truFalHol.onDel2.y,enaDis.truFalHol.stateGraphRoot.activeSteps,$PRE.enaDis.truFalHol.outputFalse.localActive,enaDis.truFalHol.outputFalse.localActive,enaDis.truFalHol.outputFalse.inPort[2].occupied,$PRE.enaDis.truFalHol.outputFalse.newActive,enaDis.truFalHol.outputFalse.newActive,$PRE.enaDis.truFalHol.outputFalse.oldActive,enaDis.truFalHol.outputFalse.oldActive,enaDis.truFalHol.outputFalse.active,enaDis.truFalHol.toTrue.enableFire,$PRE.enaDis.truFalHol.outputTrue.localActive,enaDis.truFalHol.outputTrue.localActive,enaDis.truFalHol.outputTrue.inPort[2].occupied,$PRE.enaDis.truFalHol.outputTrue.newActive,enaDis.truFalHol.outputTrue.newActive,$PRE.enaDis.truFalHol.outputTrue.oldActive,enaDis.truFalHol.outputTrue.oldActive,enaDis.truFalHol.outputTrue.active,enaDis.truFalHol.toFalse.enableFire,enaDis.truFalHol.and2.y,enaDis.truFalHol.and1.y,$PRE.enaDis.truFalHol.initialStep.localActive,enaDis.truFalHol.initialStep.localActive,enaDis.truFalHol.initialStep.outPort[2].available,$PRE.enaDis.truFalHol.initialStep.newActive,enaDis.truFalHol.initialStep.newActive,$PRE.enaDis.truFalHol.initialStep.oldActive,enaDis.truFalHol.initialStep.oldActive,enaDis.truFalHol.initialStep.active,enaDis.truFalHol.toTrue1.enableFire,enaDis.truFalHol.toFalse1.enableFire,enaDis.andEnaDis.u1,enaDis.andEnaDis.u2,$PRE.enaDis.hysOutTem.y,enaDis.hysOutTem.y,enaDis.and2.y,enaDis.and3.y,enaDis.delOutDamOsc.u,enaDis.delOutDamOsc.y,enaDis.delRetDam.u,enaDis.delRetDam.y,$PRE.enaDis.hysOutEnt.y,enaDis.hysOutEnt.y,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 110 * 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.0004293/0.8955, allocations: 193 kB / 1.042 GB, free: 0.5547 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/0.8956, allocations: 51.42 kB / 1.042 GB, free: 0.5039 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00179/0.8974, allocations: 0.5228 MB / 1.043 GB, free: 136 kB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.756e-05/0.8975, allocations: 8 kB / 1.043 GB, free: 128 kB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.8975, allocations: 0 / 1.043 GB, free: 128 kB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.411e-05/0.8975, allocations: 3.984 kB / 1.043 GB, free: 124 kB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003915/0.9014, allocations: 1.499 MB / 1.044 GB, free: 14.94 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.9015, allocations: 0 / 1.044 GB, free: 14.94 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002813/0.9018, allocations: 34.86 kB / 1.044 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.279e-05/0.9018, allocations: 0 / 1.044 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.195e-05/0.9019, allocations: 15.09 kB / 1.044 GB, free: 14.9 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.01e-05/0.9019, allocations: 4 kB / 1.044 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.902, allocations: 3.906 kB / 1.044 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001575/0.9035, allocations: 0.6009 MB / 1.045 GB, free: 14.41 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/0.9037, allocations: 119.4 kB / 1.045 GB, free: 14.28 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/0.9039, allocations: 14.67 kB / 1.045 GB, free: 14.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000486/0.9044, allocations: 31.86 kB / 1.045 GB, free: 14.24 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002748/0.9047, allocations: 86.33 kB / 1.045 GB, free: 14.17 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.5e-05/0.9048, allocations: 31.67 kB / 1.045 GB, free: 14.15 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0003516/0.9051, allocations: 210 kB / 1.045 GB, free: 13.98 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.000969/0.9061, allocations: 131.8 kB / 1.046 GB, free: 13.86 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: 62 (enaDis.delRetDam.u,enaDis.delOutDamOsc.u,enaDis.truFalHol.initialStep.active,enaDis.truFalHol.onDel2.u,enaDis.truFalHol.outputTrue.localActive,enaDis.truFalHol.outputTrue.active,enaDis.truFalHol.onDel1.u,enaDis.truFalHol.outputFalse.localActive,enaDis.truFalHol.outputFalse.active,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition13,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition1,$whenCondition2,$whenCondition3,enaDis.uFreProSta,enaDis.truFalHol.u,enaDis.truFalHol.onDel1.y,enaDis.truFalHol.onDel1.t_next,enaDis.truFalHol.onDel2.y,enaDis.truFalHol.onDel2.t_next,enaDis.truFalHol.stateGraphRoot.activeSteps,enaDis.truFalHol.outputFalse.inPort[2].occupied,enaDis.truFalHol.outputFalse.newActive,enaDis.truFalHol.outputFalse.oldActive,enaDis.truFalHol.toTrue.enableFire,enaDis.truFalHol.outputTrue.inPort[2].occupied,enaDis.truFalHol.outputTrue.newActive,enaDis.truFalHol.outputTrue.oldActive,enaDis.truFalHol.toFalse.enableFire,enaDis.truFalHol.and2.y,enaDis.truFalHol.and1.y,enaDis.truFalHol.initialStep.localActive,enaDis.truFalHol.initialStep.outPort[2].available,enaDis.truFalHol.initialStep.newActive,enaDis.truFalHol.initialStep.oldActive,enaDis.truFalHol.toTrue1.enableFire,enaDis.truFalHol.toFalse1.enableFire,enaDis.andEnaDis.u1,enaDis.andEnaDis.u2,enaDis.hysOutTem.y,enaDis.and2.y,enaDis.and3.y,enaDis.delOutDamOsc.y,enaDis.delOutDamOsc.t_next,enaDis.delRetDam.y,enaDis.delRetDam.t_next,enaDis.hysOutEnt.y,booPul1.y,booPul1.pulseStart) * Number of discrete states: 9 (enaDis.delRetDam.t_next,enaDis.delOutDamOsc.t_next,enaDis.truFalHol.onDel2.t_next,enaDis.truFalHol.onDel1.t_next,enaDis.truFalHol.outputFalse.newActive,enaDis.truFalHol.outputTrue.newActive,enaDis.truFalHol.initialStep.newActive,enaDis.hysOutTem.y,enaDis.hysOutEnt.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.0003718/0.9065, allocations: 170.5 kB / 1.046 GB, free: 13.69 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001674/0.9082, allocations: 0.5531 MB / 1.046 GB, free: 13.31 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.9083, allocations: 2 kB / 1.046 GB, free: 13.31 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0008225/0.9091, allocations: 315.5 kB / 1.047 GB, free: 13.11 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006903/0.9098, allocations: 60.48 kB / 1.047 GB, free: 13.06 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003132/0.913, allocations: 0.8122 MB / 1.047 GB, free: 12.37 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001064/0.9141, allocations: 0.9761 MB / 1.048 GB, free: 11.37 MB / 0.6667 GB Notification: Performance of SimCode: time 2.745e-06/0.9141, allocations: 0 / 1.048 GB, free: 11.37 MB / 0.6667 GB Notification: Performance of Templates: time 0.02282/0.9369, allocations: 6.443 MB / 1.055 GB, free: 5.004 MB / 0.6667 GB