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.TerminalUnits.SetPoints.Validation.ZoneTemperatures.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.TerminalUnits.SetPoints.Validation.ZoneTemperatures,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.SetPoints.Validation.ZoneTemperatures") [: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.256/2.256, allocations: 253.1 MB / 260.4 MB, free: 7.555 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.001773/0.001772, allocations: 177.3 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.098/2.098, 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.001387/0.001387, allocations: 92.78 kB / 0.6746 GB, free: 4.41 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.181e-05/1.203e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2573, allocations: 106.2 MB / 0.8881 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7499/1.007, allocations: 140.4 MB / 1.025 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003113/1.008, allocations: 71.7 kB / 1.025 GB, free: 14 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.08336/1.091, allocations: 20.32 MB / 1.045 GB, free: 13.1 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001329/1.091, allocations: 32 kB / 1.045 GB, free: 13.07 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 400 * Number of variables: 400 Notification: Performance of Generate backend data structure: time 0.005017/1.096, allocations: 1.456 MB / 1.047 GB, free: 11.63 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/1.096, allocations: 8.031 kB / 1.047 GB, free: 11.62 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008235/1.097, allocations: 173.9 kB / 1.047 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002033/1.099, allocations: 0.6607 MB / 1.047 GB, free: 10.91 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001724/1.099, allocations: 70.56 kB / 1.047 GB, free: 10.84 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003646/1.1, allocations: 99.98 kB / 1.048 GB, free: 10.75 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003978/1.104, allocations: 0.9532 MB / 1.049 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004184/1.108, allocations: 1.206 MB / 1.05 GB, free: 9.293 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.438e-05/1.108, allocations: 4 kB / 1.05 GB, free: 9.289 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001634/1.108, allocations: 7.969 kB / 1.05 GB, free: 9.281 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.206e-05/1.108, allocations: 40 kB / 1.05 GB, free: 9.242 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0127/1.121, allocations: 4.443 MB / 1.054 GB, free: 5.828 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002622/1.124, allocations: 0.7416 MB / 1.055 GB, free: 5.348 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001004/1.125, allocations: 328.7 kB / 1.055 GB, free: 5.164 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-05/1.125, allocations: 16.77 kB / 1.055 GB, free: 5.145 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001202/1.126, allocations: 423.2 kB / 1.056 GB, free: 4.855 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=106): time 5.38e-06/1.126, allocations: 0 / 1.056 GB, free: 4.855 MB / 0.6667 GB Notification: Performance of matching and sorting (n=106): time 0.002309/1.129, allocations: 0.7067 MB / 1.056 GB, free: 4.34 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.647e-05/1.129, allocations: 64.41 kB / 1.056 GB, free: 4.266 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/1.13, allocations: 0.5776 MB / 1.057 GB, free: 3.84 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0003075/1.13, allocations: 42.16 kB / 1.057 GB, free: 3.801 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006643/1.131, allocations: 0.5147 MB / 1.057 GB, free: 3.336 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004686/1.132, allocations: 280.8 kB / 1.058 GB, free: 3.098 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.183e-05/1.132, allocations: 0 / 1.058 GB, free: 3.098 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002689/1.132, allocations: 396.9 kB / 1.058 GB, free: 2.738 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001061/1.133, allocations: 314.2 kB / 1.058 GB, free: 2.566 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/1.134, allocations: 0.4995 MB / 1.059 GB, free: 2.152 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009934/1.135, allocations: 321.7 kB / 1.059 GB, free: 1.953 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.748e-06/1.135, allocations: 4 kB / 1.059 GB, free: 1.949 MB / 0.6667 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.002876/1.138, allocations: 0.9058 MB / 1.06 GB, free: 1.273 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.001002/1.139, allocations: 1.916 MB / 1.062 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.34e-05/1.139, allocations: 8 kB / 1.062 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.444e-05/1.139, allocations: 11.91 kB / 1.062 GB, free: 15.21 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002882/1.142, allocations: 198.1 kB / 1.062 GB, free: 15.03 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-05/1.142, allocations: 11.94 kB / 1.062 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001559/1.144, allocations: 131.2 kB / 1.062 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001772/1.144, allocations: 42.38 kB / 1.062 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/1.144, allocations: 6.188 kB / 1.062 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002557/1.147, allocations: 0.7721 MB / 1.063 GB, free: 14.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.027e-05/1.147, allocations: 4 kB / 1.063 GB, free: 14.31 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.047e-05/1.147, allocations: 12 kB / 1.063 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/1.148, allocations: 182.8 kB / 1.063 GB, free: 14.13 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.241e-05/1.148, allocations: 12 kB / 1.063 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/1.15, allocations: 99.38 kB / 1.063 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/1.15, allocations: 46.31 kB / 1.063 GB, free: 13.98 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 90 ($PRE.TZonSet.truHol.onDelay.u,$PRE.TZonSet.truHol.toOutputTrue.enableFire,$PRE.TZonSet.truHol.toInitial.enableFire,$PRE.TZonSet.tim.yAcc,TZonSet.tim.yAcc,$whenCondition4,$PRE.TZonSet.truHol.onDelay.t_next,$whenCondition2,$whenCondition1,TZonSet.truHol.onDelay.t_next,TZonSet.truHol.stateGraphRoot.resume,TZonSet.truHol.stateGraphRoot.suspend,TZonSet.winSenCon.y,TZonSet.have_occSenCon.y,TZonSet.heaSetAdjCon.y,TZonSet.cooSetAdjCon.y,$whenCondition10,$whenCondition9,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,TZonSet.uOpeMod,TZonSet.yAla,$PRE.TZonSet.cooSetFre.y,TZonSet.cooSetFre.y,TZonSet.cooSetFre.trigger,TZonSet.or5.y,$PRE.TZonSet.heaSetFre.y,TZonSet.heaSetFre.y,TZonSet.tim.u,$PRE.TZonSet.tim.entryTime,TZonSet.tim.entryTime,TZonSet.truHol.stateGraphRoot.activeSteps,TZonSet.truHol.onDelay.u,TZonSet.truHol.onDelay.y,$PRE.TZonSet.truHol.initialStep.localActive,TZonSet.truHol.initialStep.localActive,$PRE.TZonSet.truHol.initialStep.newActive,TZonSet.truHol.initialStep.newActive,$PRE.TZonSet.truHol.initialStep.oldActive,TZonSet.truHol.initialStep.oldActive,TZonSet.truHol.initialStep.active,$PRE.TZonSet.truHol.outputTrue.localActive,TZonSet.truHol.outputTrue.localActive,$PRE.TZonSet.truHol.outputTrue.newActive,TZonSet.truHol.outputTrue.newActive,$PRE.TZonSet.truHol.outputTrue.oldActive,TZonSet.truHol.outputTrue.oldActive,TZonSet.truHol.outputTrue.active,TZonSet.truHol.toOutputTrue.enableFire,TZonSet.truHol.toInitial.enableFire,$PRE.TZonSet.edg1.u,TZonSet.edg1.u,$PRE.TZonSet.cooSetSam.y,TZonSet.cooSetSam.y,TZonSet.cooSetSam.trigger,$PRE.TZonSet.heaSetSam.y,TZonSet.heaSetSam.y,TZonSet.greThr.y,TZonSet.intEqu.y,TZonSet.intEqu1.y,TZonSet.or3.y,TZonSet.and11.u1,TZonSet.and11.y,TZonSet.lesEqu.y,TZonSet.greEqu1.y,TZonSet.greEqu2.y,TZonSet.uOccSen,TZonSet.uWinSta,booToInt.u,$PRE.winSta.pulseStart,winSta.pulseStart,$PRE.occSta.pulseStart,occSta.pulseStart,$PRE.TZonSet.edg.u,TZonSet.edg.u,TZonSet.not1.y,TZonSet.not2.y,TZonSet.or1.u3,TZonSet.or1.u2,TZonSet.or1.u1,TZonSet.or2.u2,TZonSet.or2.u1,TZonSet.or4.u1,TZonSet.or4.u3,TZonSet.or4.u2,$PRE.TZonSet.tim.reset_internal,TZonSet.tim.reset_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (159): * Single equations (assignments): 159 * 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.0004604/1.15, allocations: 176 kB / 1.064 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002922/1.15, allocations: 94.81 kB / 1.064 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002352/1.153, allocations: 0.751 MB / 1.064 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.032e-05/1.153, allocations: 12 kB / 1.064 GB, free: 13.19 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/1.153, allocations: 0 / 1.064 GB, free: 13.19 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.718e-05/1.153, allocations: 3.984 kB / 1.064 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005475/1.158, allocations: 1.973 MB / 1.066 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/1.158, allocations: 0 / 1.066 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001154/1.16, allocations: 143.3 kB / 1.066 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.785e-05/1.16, allocations: 4 kB / 1.066 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.078e-05/1.16, allocations: 11.97 kB / 1.066 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.045e-05/1.16, allocations: 4 kB / 1.066 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/1.16, allocations: 0 / 1.066 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002235/1.162, allocations: 0.8988 MB / 1.067 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003555/1.162, allocations: 163.7 kB / 1.068 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002039/1.163, allocations: 11.73 kB / 1.068 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009423/1.164, allocations: 67.94 kB / 1.068 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003675/1.164, allocations: 104.2 kB / 1.068 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/1.164, allocations: 34.86 kB / 1.068 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0007271/1.165, allocations: 367.4 kB / 1.068 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001999/1.167, allocations: 430 kB / 1.068 GB, free: 9.848 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 53 (TZonSet.cooSetFre.trigger,TZonSet.truHol.initialStep.localActive,TZonSet.truHol.outputTrue.active,TZonSet.truHol.onDelay.u,TZonSet.cooSetSam.trigger,TZonSet.truHol.outputTrue.localActive,TZonSet.tim.u,$cse1,$cse2,$whenCondition10,$whenCondition9,$whenCondition7,$whenCondition8,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition2,$whenCondition1,TZonSet.uOpeMod,TZonSet.yAla,TZonSet.cooSetFre.y,TZonSet.heaSetFre.y,TZonSet.tim.entryTime,TZonSet.tim.yAcc,TZonSet.truHol.stateGraphRoot.activeSteps,TZonSet.truHol.onDelay.y,TZonSet.truHol.onDelay.t_next,TZonSet.truHol.initialStep.newActive,TZonSet.truHol.initialStep.oldActive,TZonSet.truHol.initialStep.active,TZonSet.truHol.outputTrue.newActive,TZonSet.truHol.outputTrue.oldActive,TZonSet.truHol.toOutputTrue.enableFire,TZonSet.truHol.toInitial.enableFire,TZonSet.edg1.u,TZonSet.cooSetSam.y,TZonSet.heaSetSam.y,TZonSet.greThr.y,TZonSet.intEqu.y,TZonSet.intEqu1.y,TZonSet.or3.y,TZonSet.and11.u1,TZonSet.and11.y,TZonSet.lesEqu.y,TZonSet.greEqu1.y,TZonSet.greEqu2.y,TZonSet.uOccSen,TZonSet.uWinSta,booToInt.u,winSta.pulseStart,occSta.pulseStart,TZonSet.or5.y) * Number of discrete states: 5 (TZonSet.truHol.onDelay.t_next,TZonSet.tim.y,TZonSet.truHol.outputTrue.newActive,TZonSet.edg1.u,TZonSet.truHol.initialStep.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 96 * 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.0003881/1.167, allocations: 151.3 kB / 1.069 GB, free: 9.695 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004164/1.171, allocations: 1.354 MB / 1.07 GB, free: 8.789 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.231e-05/1.172, allocations: 0 / 1.07 GB, free: 8.789 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001349/1.173, allocations: 449.5 kB / 1.07 GB, free: 8.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009053/1.174, allocations: 63.78 kB / 1.07 GB, free: 8.461 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005738/1.18, allocations: 1.456 MB / 1.072 GB, free: 7.164 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001827/1.182, allocations: 1.231 MB / 1.073 GB, free: 5.906 MB / 0.6823 GB Notification: Performance of SimCode: time 1.723e-06/1.182, allocations: 0 / 1.073 GB, free: 5.906 MB / 0.6823 GB Notification: Performance of Templates: time 0.04684/1.228, allocations: 13.42 MB / 1.086 GB, free: 8.539 MB / 0.698 GB