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.SetPoints.Validation.SupplyTemperature.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.SetPoints.Validation.SupplyTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature") [: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.09/2.09, 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.001689/0.001688, allocations: 185.2 kB / 319.6 MB, free: 3.305 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.95/1.95, 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.001283/0.001283, allocations: 109.2 kB / 0.6746 GB, free: 4.402 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.274e-05/1.29e-05, allocations: 0 / 0.7844 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2329, allocations: 106.2 MB / 0.8881 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7099/0.9428, allocations: 136.6 MB / 1.022 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005298/0.9434, allocations: 83.59 kB / 1.022 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.0709/1.014, allocations: 9.993 MB / 1.031 GB, free: 9.441 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.472e-05/1.014, allocations: 12 kB / 1.031 GB, free: 9.43 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: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.004325/1.019, allocations: 0.8602 MB / 1.032 GB, free: 8.559 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 7.447e-05/1.019, allocations: 8.031 kB / 1.032 GB, free: 8.551 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005956/1.02, allocations: 83.06 kB / 1.032 GB, free: 8.469 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001428/1.021, allocations: 399.6 kB / 1.033 GB, free: 8.121 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/1.021, allocations: 28 kB / 1.033 GB, free: 8.094 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002391/1.021, allocations: 43.91 kB / 1.033 GB, free: 8.051 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002512/1.024, allocations: 423.9 kB / 1.033 GB, free: 7.812 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002503/1.026, allocations: 468 kB / 1.034 GB, free: 7.484 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.638e-05/1.027, allocations: 0 / 1.034 GB, free: 7.484 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001338/1.027, allocations: 3.625 kB / 1.034 GB, free: 7.484 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.129e-05/1.027, allocations: 23.92 kB / 1.034 GB, free: 7.461 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008127/1.035, allocations: 1.672 MB / 1.035 GB, free: 6.227 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003515/1.039, allocations: 478.3 kB / 1.036 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001534/1.04, allocations: 164.2 kB / 1.036 GB, free: 5.82 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.696e-05/1.04, allocations: 14.61 kB / 1.036 GB, free: 5.809 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008686/1.041, allocations: 306.7 kB / 1.036 GB, free: 5.566 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=55): time 3.667e-06/1.041, allocations: 0 / 1.036 GB, free: 5.566 MB / 0.6511 GB Notification: Performance of matching and sorting (n=55): time 0.001402/1.043, allocations: 419.8 kB / 1.037 GB, free: 5.266 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/1.043, allocations: 137 kB / 1.037 GB, free: 5.102 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007524/1.044, allocations: 328.6 kB / 1.037 GB, free: 4.852 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001165/1.044, allocations: 29.2 kB / 1.037 GB, free: 4.82 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002921/1.044, allocations: 257.5 kB / 1.037 GB, free: 4.586 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002159/1.044, allocations: 138.7 kB / 1.037 GB, free: 4.469 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.893e-05/1.044, allocations: 0 / 1.037 GB, free: 4.469 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002073/1.044, allocations: 370.2 kB / 1.038 GB, free: 4.117 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004942/1.045, allocations: 148.8 kB / 1.038 GB, free: 4.039 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000602/1.046, allocations: 260.9 kB / 1.038 GB, free: 3.816 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005118/1.046, allocations: 162.2 kB / 1.038 GB, free: 3.715 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/1.046, allocations: 4 kB / 1.038 GB, free: 3.711 MB / 0.6511 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001507/1.048, allocations: 462.8 kB / 1.039 GB, free: 3.363 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006198/1.048, allocations: 1.139 MB / 1.04 GB, free: 2.156 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/1.048, allocations: 4 kB / 1.04 GB, free: 2.152 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.069e-05/1.048, allocations: 4 kB / 1.04 GB, free: 2.148 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/1.049, allocations: 115 kB / 1.04 GB, free: 2.043 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.703e-05/1.049, allocations: 8 kB / 1.04 GB, free: 2.035 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009829/1.05, allocations: 103.5 kB / 1.04 GB, free: 1.934 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.396e-05/1.051, allocations: 19.88 kB / 1.04 GB, free: 1.918 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/1.051, allocations: 4 kB / 1.04 GB, free: 1.914 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001247/1.052, allocations: 384.9 kB / 1.041 GB, free: 1.652 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/1.052, allocations: 4 kB / 1.041 GB, free: 1.648 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/1.052, allocations: 4 kB / 1.041 GB, free: 1.645 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008589/1.053, allocations: 99.75 kB / 1.041 GB, free: 1.551 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/1.053, allocations: 7.938 kB / 1.041 GB, free: 1.543 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008672/1.054, allocations: 87.78 kB / 1.041 GB, free: 1.461 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.183e-05/1.054, allocations: 19.81 kB / 1.041 GB, free: 1.445 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 35 ($PRE.conTSupSet.maxSupTemRes.tim.u,$PRE.conTSupSet.maxSupTemRes.sampler.firstTrigger,conTSupSet.maxSupTemRes.sampler.firstTrigger,$PRE.conTSupSet.maxSupTemRes.uniDel.firstTrigger,conTSupSet.maxSupTemRes.uniDel.firstTrigger,$whenCondition6,$whenCondition1,$PRE.conTSupSet.maxSupTemRes.tim.t_next,$whenCondition4,conTSupSet.maxSupTemRes.uniDel.sampleTrigger,$whenCondition5,conTSupSet.maxSupTemRes.sampler.sampleTrigger,conTSupSet.maxSupTemRes.tim.t_next,conTSupSet.maxSupTemRes.lesEquThr1.y,conTSupSet.maxSupTemRes.greEquThr.y,$whenCondition2,$whenCondition3,conTSupSet.uOpeMod,conTSupSet.uZonTemResReq,conTSupSet.maxSupTemRes.tim.u,conTSupSet.maxSupTemRes.tim.y,conTSupSet.maxSupTemRes.greThr.y,conTSupSet.maxSupTemRes.netRes.u2,$PRE.conTSupSet.maxSupTemRes.uniDel.y,conTSupSet.maxSupTemRes.uniDel.y,conTSupSet.maxSupTemRes.sampler.y,conTSupSet.and2.u1,conTSupSet.and2.u2,conTSupSet.and2.y,conTSupSet.and1.u1,conTSupSet.and1.u2,conTSupSet.and1.y,$PRE.supFanSta.pulseStart,supFanSta.pulseStart,conTSupSet.maxSupTemRes.greEquThr1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 70 * 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.0003087/1.054, allocations: 145.8 kB / 1.041 GB, free: 1.297 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/1.054, allocations: 47.44 kB / 1.041 GB, free: 1.25 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001497/1.056, allocations: 450.1 kB / 1.041 GB, free: 0.9414 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.711e-05/1.056, allocations: 8 kB / 1.041 GB, free: 0.9336 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/1.056, allocations: 0 / 1.041 GB, free: 0.9336 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/1.056, allocations: 0 / 1.041 GB, free: 0.9336 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003332/1.059, allocations: 1.334 MB / 1.043 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/1.059, allocations: 4 kB / 1.043 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007129/1.06, allocations: 83.69 kB / 1.043 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-05/1.06, allocations: 4 kB / 1.043 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.717e-05/1.06, allocations: 3.875 kB / 1.043 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.538e-06/1.06, allocations: 4 kB / 1.043 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.074e-06/1.06, allocations: 3.984 kB / 1.043 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001373/1.061, allocations: 0.5496 MB / 1.043 GB, free: 15.33 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001792/1.062, allocations: 127.8 kB / 1.043 GB, free: 15.19 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/1.062, allocations: 11.3 kB / 1.043 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008426/1.063, allocations: 63.94 kB / 1.043 GB, free: 15.12 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000236/1.063, allocations: 58.39 kB / 1.044 GB, free: 15.08 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-05/1.063, allocations: 23.05 kB / 1.044 GB, free: 15.06 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0004799/1.063, allocations: 239 kB / 1.044 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001263/1.065, allocations: 215 kB / 1.044 GB, free: 14.67 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 28 (conTSupSet.maxSupTemRes.tim.u,conTSupSet.maxSupTemRes.sampler.sampleTrigger,conTSupSet.maxSupTemRes.uniDel.sampleTrigger,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,conTSupSet.uOpeMod,conTSupSet.uZonTemResReq,conTSupSet.maxSupTemRes.tim.y,conTSupSet.maxSupTemRes.tim.t_next,conTSupSet.maxSupTemRes.greThr.y,conTSupSet.maxSupTemRes.netRes.u2,conTSupSet.maxSupTemRes.uniDel.y,conTSupSet.maxSupTemRes.uniDel.firstTrigger,conTSupSet.maxSupTemRes.sampler.y,conTSupSet.maxSupTemRes.sampler.firstTrigger,conTSupSet.and2.u1,conTSupSet.and2.u2,conTSupSet.and2.y,conTSupSet.and1.u1,conTSupSet.and1.u2,conTSupSet.and1.y,supFanSta.pulseStart,conTSupSet.maxSupTemRes.lesEquThr1.y,conTSupSet.maxSupTemRes.greEquThr.y) * Number of discrete states: 2 (conTSupSet.maxSupTemRes.tim.t_next,conTSupSet.maxSupTemRes.uniDel.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 49 * 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.000331/1.065, allocations: 145.3 kB / 1.044 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.00214/1.067, allocations: 0.6572 MB / 1.045 GB, free: 14.09 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/1.067, allocations: 0 / 1.045 GB, free: 14.09 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0007987/1.068, allocations: 253.3 kB / 1.045 GB, free: 13.92 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007063/1.069, allocations: 39.19 kB / 1.045 GB, free: 13.89 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00308/1.072, allocations: 0.7116 MB / 1.046 GB, free: 13.26 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001142/1.073, allocations: 0.9406 MB / 1.047 GB, free: 12.3 MB / 0.6667 GB Notification: Performance of SimCode: time 1.994e-06/1.073, allocations: 3.938 kB / 1.047 GB, free: 12.29 MB / 0.6667 GB Notification: Performance of Templates: time 0.02691/1.1, allocations: 7.744 MB / 1.054 GB, free: 4.637 MB / 0.6667 GB