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.ReturnFanDirectPressure.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.ReturnFanDirectPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure") [: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.12/2.12, allocations: 253.1 MB / 260.4 MB, free: 7.551 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.001679/0.001678, allocations: 189.2 kB / 319.6 MB, free: 3.328 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.963/1.963, allocations: 205.4 MB / 0.5704 GB, free: 15.09 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.001346/0.001346, allocations: 92.25 kB / 0.6746 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.054e-05/1.072e-05, allocations: 4 kB / 0.7844 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2234, allocations: 106.2 MB / 0.8881 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6717/0.8952, allocations: 135.6 MB / 1.021 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003491/0.8956, allocations: 83.8 kB / 1.021 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.06851/0.9642, allocations: 16.2 MB / 1.036 GB, free: 5.344 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.422e-05/0.9643, allocations: 31.92 kB / 1.036 GB, free: 5.312 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.003479/0.9678, allocations: 1.145 MB / 1.038 GB, free: 4.176 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.9679, allocations: 12.03 kB / 1.038 GB, free: 4.164 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004917/0.9684, allocations: 122.5 kB / 1.038 GB, free: 4.043 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/0.9699, allocations: 0.5933 MB / 1.038 GB, free: 3.535 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001925/0.9701, allocations: 123.1 kB / 1.038 GB, free: 3.398 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001803/0.9703, allocations: 52 kB / 1.038 GB, free: 3.348 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002092/0.9724, allocations: 0.615 MB / 1.039 GB, free: 2.992 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002221/0.9746, allocations: 0.7494 MB / 1.04 GB, free: 2.457 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.995e-05/0.9747, allocations: 0 / 1.04 GB, free: 2.457 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/0.9748, allocations: 0 / 1.04 GB, free: 2.457 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.693e-05/0.9749, allocations: 24 kB / 1.04 GB, free: 2.434 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007733/0.9826, allocations: 2.617 MB / 1.042 GB, free: 456 kB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001828/0.9845, allocations: 0.5232 MB / 1.043 GB, free: 96 kB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007596/0.9853, allocations: 238.7 kB / 1.043 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 7.522e-05/0.9854, allocations: 12.59 kB / 1.043 GB, free: 15.95 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009319/0.9863, allocations: 384.3 kB / 1.044 GB, free: 15.66 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=70): time 4.078e-06/0.9864, allocations: 0 / 1.044 GB, free: 15.66 MB / 0.6667 GB Notification: Performance of matching and sorting (n=70): time 0.00173/0.9881, allocations: 0.5121 MB / 1.044 GB, free: 15.29 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001922/0.9883, allocations: 298.6 kB / 1.044 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/0.9895, allocations: 492.1 kB / 1.045 GB, free: 14.57 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002087/0.9897, allocations: 29.7 kB / 1.045 GB, free: 14.53 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004632/0.9902, allocations: 350.8 kB / 1.045 GB, free: 14.22 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003806/0.9906, allocations: 216 kB / 1.045 GB, free: 14.04 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.003e-05/0.9907, allocations: 3.562 kB / 1.045 GB, free: 14.04 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000257/0.9909, allocations: 379.9 kB / 1.046 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000717/0.9917, allocations: 216.9 kB / 1.046 GB, free: 13.57 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008516/0.9925, allocations: 346.2 kB / 1.046 GB, free: 13.3 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007363/0.9933, allocations: 238.2 kB / 1.046 GB, free: 13.16 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.9933, allocations: 4 kB / 1.046 GB, free: 13.16 MB / 0.6667 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001962/0.9953, allocations: 0.6196 MB / 1.047 GB, free: 12.71 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001501/0.9955, allocations: 269.5 kB / 1.047 GB, free: 12.44 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.9955, allocations: 0 / 1.047 GB, free: 12.44 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.059e-05/0.9955, allocations: 11.94 kB / 1.047 GB, free: 12.43 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/0.997, allocations: 155 kB / 1.047 GB, free: 12.28 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408e-05/0.997, allocations: 8 kB / 1.047 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/0.9984, allocations: 127.4 kB / 1.048 GB, free: 12.15 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.9985, allocations: 23.92 kB / 1.048 GB, free: 12.13 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.9985, allocations: 10.59 kB / 1.048 GB, free: 12.12 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001657/1, allocations: 0.4897 MB / 1.048 GB, free: 11.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/1, allocations: 3.969 kB / 1.048 GB, free: 11.8 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/1, allocations: 11.91 kB / 1.048 GB, free: 11.79 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/1.002, allocations: 138.9 kB / 1.048 GB, free: 11.66 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/1.002, allocations: 7.984 kB / 1.048 GB, free: 11.65 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/1.003, allocations: 99.53 kB / 1.048 GB, free: 11.55 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.821e-05/1.003, allocations: 19.94 kB / 1.048 GB, free: 11.54 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$whenCondition4,$whenCondition3,$whenCondition1,retFanPre.uFan,$PRE.retFanPre.movMea.mode,retFanPre.movMea.mode,$PRE.yFan.pulseStart,yFan.pulseStart,$PRE.retFanPre1.movMea.mode,retFanPre1.movMea.mode,$PRE.retFanPre2.movMea.mode,retFanPre2.movMea.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 89 * 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.0003146/1.003, allocations: 124.5 kB / 1.049 GB, free: 11.41 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002133/1.003, allocations: 71.06 kB / 1.049 GB, free: 11.34 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00197/1.005, allocations: 0.5953 MB / 1.049 GB, free: 10.93 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.807e-05/1.005, allocations: 11.91 kB / 1.049 GB, free: 10.92 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/1.005, allocations: 3.984 kB / 1.049 GB, free: 10.91 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/1.005, allocations: 0 / 1.049 GB, free: 10.91 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003547/1.009, allocations: 1.507 MB / 1.051 GB, free: 9.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/1.009, allocations: 0 / 1.051 GB, free: 9.77 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00138/1.01, allocations: 148 kB / 1.051 GB, free: 9.629 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.62e-05/1.01, allocations: 11.91 kB / 1.051 GB, free: 9.617 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.333e-05/1.011, allocations: 7.984 kB / 1.051 GB, free: 9.609 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.038e-05/1.011, allocations: 4 kB / 1.051 GB, free: 9.605 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.578e-05/1.011, allocations: 7.938 kB / 1.051 GB, free: 9.598 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002872/1.014, allocations: 1.139 MB / 1.052 GB, free: 8.688 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000289/1.014, allocations: 155.1 kB / 1.052 GB, free: 8.523 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001897/1.014, allocations: 12.08 kB / 1.052 GB, free: 8.512 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/1.015, allocations: 83.38 kB / 1.052 GB, free: 8.434 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001817/1.015, allocations: 51.56 kB / 1.052 GB, free: 8.391 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.681e-05/1.015, allocations: 27.5 kB / 1.052 GB, free: 8.367 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0007673/1.016, allocations: 367.1 kB / 1.053 GB, free: 8.109 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001425/1.018, allocations: 317.7 kB / 1.053 GB, free: 7.801 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 3 (retFanPre.movMea.mu,retFanPre1.movMea.mu,retFanPre2.movMea.mu) * Number of discrete variables: 9 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,retFanPre.uFan,retFanPre.movMea.mode,yFan.pulseStart,retFanPre1.movMea.mode,retFanPre2.movMea.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003337/1.018, allocations: 124 kB / 1.053 GB, free: 7.672 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002548/1.021, allocations: 0.8581 MB / 1.054 GB, free: 7.121 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/1.021, allocations: 0 / 1.054 GB, free: 7.121 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0009209/1.022, allocations: 305 kB / 1.054 GB, free: 6.922 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001741/1.023, allocations: 156.8 kB / 1.054 GB, free: 6.801 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004501/1.028, allocations: 1.142 MB / 1.055 GB, free: 5.738 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001345/1.029, allocations: 1.093 MB / 1.056 GB, free: 4.613 MB / 0.6667 GB Notification: Performance of SimCode: time 1.412e-06/1.029, allocations: 0 / 1.056 GB, free: 4.613 MB / 0.6667 GB Notification: Performance of Templates: time 0.04086/1.07, allocations: 12.01 MB / 1.068 GB, free: 8.75 MB / 0.6823 GB