Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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 8.0.0/package.mo): time 2.248/2.248, allocations: 284.9 MB / 292.2 MB, free: 10.68 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001501/0.0015, allocations: 176 kB / 360.4 MB, free: 7.477 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.62/1.62, allocations: 205.1 MB / 0.6188 GB, free: 12.41 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001233/0.001232, allocations: 86.31 kB / 0.7318 GB, free: 44.97 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.526e-06/8.687e-06, allocations: 0 / 0.8503 GB, free: 3.754 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5604/0.5604, allocations: 115.2 MB / 0.9629 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2096/0.7701, allocations: 139.6 MB / 1.099 GB, free: 1.07 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000284/0.7704, allocations: 77.03 kB / 1.099 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.06426/0.8347, allocations: 15.27 MB / 1.114 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.677e-05/0.8348, allocations: 20 kB / 1.114 GB, free: 1.836 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002958/0.8378, allocations: 1.12 MB / 1.115 GB, free: 0.6523 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.8378, allocations: 12.53 kB / 1.115 GB, free: 0.6406 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003152/0.8382, allocations: 110.7 kB / 1.115 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/0.8396, allocations: 0.5726 MB / 1.116 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001533/0.8398, allocations: 119.1 kB / 1.116 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001834/0.84, allocations: 56 kB / 1.116 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001897/0.8419, allocations: 0.5703 MB / 1.117 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001973/0.8439, allocations: 0.698 MB / 1.117 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.31e-05/0.8439, allocations: 0 / 1.117 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-05/0.844, allocations: 7.906 kB / 1.117 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.802e-05/0.8441, allocations: 20 kB / 1.117 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006648/0.8507, allocations: 2.512 MB / 1.12 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001986/0.8527, allocations: 0.517 MB / 1.12 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006242/0.8534, allocations: 218.4 kB / 1.121 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.04e-05/0.8535, allocations: 16.47 kB / 1.121 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008505/0.8543, allocations: 362.4 kB / 1.121 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=64): time 3.396e-06/0.8544, allocations: 0 / 1.121 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of matching and sorting (n=64): time 0.001546/0.8559, allocations: 495.2 kB / 1.121 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001455/0.8561, allocations: 295.4 kB / 1.122 GB, free: 9.859 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000979/0.8571, allocations: 458.3 kB / 1.122 GB, free: 9.406 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001012/0.8572, allocations: 37.7 kB / 1.122 GB, free: 9.363 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003439/0.8575, allocations: 335.6 kB / 1.123 GB, free: 9.027 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000231/0.8578, allocations: 197.1 kB / 1.123 GB, free: 8.832 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.473e-05/0.8579, allocations: 0 / 1.123 GB, free: 8.832 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001963/0.8581, allocations: 374.8 kB / 1.123 GB, free: 8.457 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007137/0.8588, allocations: 217.5 kB / 1.123 GB, free: 8.242 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008978/0.8597, allocations: 364.5 kB / 1.124 GB, free: 7.84 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009744/0.8607, allocations: 259 kB / 1.124 GB, free: 7.586 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.8607, allocations: 0 / 1.124 GB, free: 7.586 MB / 0.7292 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002092/0.8628, allocations: 0.6454 MB / 1.124 GB, free: 6.934 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001645/0.863, allocations: 363.6 kB / 1.125 GB, free: 6.555 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.863, allocations: 0 / 1.125 GB, free: 6.555 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/0.863, allocations: 4 kB / 1.125 GB, free: 6.551 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/0.8643, allocations: 151.8 kB / 1.125 GB, free: 6.402 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/0.8643, allocations: 7.984 kB / 1.125 GB, free: 6.395 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/0.8657, allocations: 155.3 kB / 1.125 GB, free: 6.242 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.482e-05/0.8658, allocations: 31.98 kB / 1.125 GB, free: 6.211 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.8659, allocations: 4 kB / 1.125 GB, free: 6.207 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001868/0.8677, allocations: 0.5256 MB / 1.126 GB, free: 5.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.8678, allocations: 1.406 kB / 1.126 GB, free: 5.68 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.8678, allocations: 4 kB / 1.126 GB, free: 5.676 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.8688, allocations: 123.8 kB / 1.126 GB, free: 5.555 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.8689, allocations: 8.062 kB / 1.126 GB, free: 5.547 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/0.87, allocations: 123.5 kB / 1.126 GB, free: 5.426 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.425e-05/0.8701, allocations: 27.98 kB / 1.126 GB, free: 5.398 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition1,$PRE.retFanPre.movMea.mode,retFanPre.movMea.mode,$PRE.yFan.y,yFan.y,$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 (83): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 1 * 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.0002561/0.8704, allocations: 128.8 kB / 1.126 GB, free: 5.266 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.8706, allocations: 63.25 kB / 1.126 GB, free: 5.203 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001786/0.8724, allocations: 0.5574 MB / 1.127 GB, free: 4.637 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.546e-05/0.8724, allocations: 8 kB / 1.127 GB, free: 4.629 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.8724, allocations: 5.688 kB / 1.127 GB, free: 4.625 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.8724, allocations: 3.984 kB / 1.127 GB, free: 4.621 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002936/0.8754, allocations: 1.377 MB / 1.128 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.8754, allocations: 0 / 1.128 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001279/0.8767, allocations: 136 kB / 1.128 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-05/0.8768, allocations: 9.906 kB / 1.128 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.952e-05/0.8769, allocations: 8 kB / 1.128 GB, free: 3.031 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.107e-06/0.8769, allocations: 7.938 kB / 1.128 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.814e-06/0.8769, allocations: 7.891 kB / 1.128 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002501/0.8794, allocations: 1.016 MB / 1.129 GB, free: 1.93 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002733/0.8797, allocations: 156.1 kB / 1.129 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001734/0.8799, allocations: 7.984 kB / 1.129 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/0.8809, allocations: 77.81 kB / 1.129 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/0.8811, allocations: 48.5 kB / 1.129 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.874e-05/0.8812, allocations: 20 kB / 1.13 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0006872/0.8819, allocations: 350.9 kB / 1.13 GB, free: 1.27 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001282/0.8831, allocations: 310.4 kB / 1.13 GB, free: 0.9648 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (retFanPre.movMea.mu,retFanPre1.movMea.mu,retFanPre2.movMea.mu) * Number of discrete variables: 9 ($whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,$whenCondition1,retFanPre.movMea.mode,yFan.y,retFanPre1.movMea.mode,retFanPre2.movMea.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 66 * 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.0002841/0.8834, allocations: 130.5 kB / 1.13 GB, free: 0.8281 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002546/0.886, allocations: 0.9141 MB / 1.131 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.886, allocations: 256 / 1.131 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0007596/0.8868, allocations: 282.3 kB / 1.131 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001369/0.8882, allocations: 137.9 kB / 1.132 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003693/0.8919, allocations: 1.044 MB / 1.133 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001126/0.8931, allocations: 1.07 MB / 1.134 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of SimCode: time 9.11e-07/0.8931, allocations: 0 / 1.134 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of Templates: time 0.0361/0.9292, allocations: 11.96 MB / 1.145 GB, free: 1.641 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe 2>&1)