Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=0,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=0,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.322/1.322, allocations: 285.5 MB / 292.8 MB, free: 10.49 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009412/0.0009411, allocations: 185.3 kB / 361.1 MB, free: 7.121 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.058/1.058, allocations: 205.1 MB / 0.6195 GB, free: 10.33 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000808/0.000808, allocations: 85.81 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.893e-06/6.913e-06, allocations: 4 kB / 0.8511 GB, free: 2.922 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.433/0.433, allocations: 115.3 MB / 0.9637 GB, free: 78 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1424/0.5754, allocations: 141.6 MB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002002/0.5756, allocations: 84.73 kB / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.02122/0.5969, allocations: 8.058 MB / 1.11 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.824e-05/0.5969, allocations: 4 kB / 1.11 GB, free: 6.375 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0007358/0.5977, allocations: 0.5659 MB / 1.111 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.5977, allocations: 8.531 kB / 1.111 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.077e-05/0.5978, allocations: 35.53 kB / 1.111 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005233/0.5983, allocations: 338.9 kB / 1.111 GB, free: 5.352 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.5984, allocations: 4 kB / 1.111 GB, free: 5.348 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.722e-05/0.5984, allocations: 12 kB / 1.111 GB, free: 5.336 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002601/0.5987, allocations: 131.9 kB / 1.111 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002561/0.5989, allocations: 165.3 kB / 1.111 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.5989, allocations: 3.938 kB / 1.111 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.599, allocations: 0 / 1.111 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.599, allocations: 4 kB / 1.111 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009487/0.5999, allocations: 0.6487 MB / 1.112 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003625/0.6003, allocations: 187 kB / 1.112 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.6004, allocations: 78.44 kB / 1.112 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.6005, allocations: 0 / 1.112 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001686/0.6006, allocations: 123.3 kB / 1.112 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 1.473e-06/0.6006, allocations: 0 / 1.112 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0003288/0.601, allocations: 175.1 kB / 1.112 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.601, allocations: 55.41 kB / 1.112 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003669/0.6014, allocations: 335.4 kB / 1.113 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.6014, allocations: 29.7 kB / 1.113 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.749e-05/0.6015, allocations: 136.4 kB / 1.113 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.962e-05/0.6016, allocations: 51.3 kB / 1.113 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.354e-05/0.6016, allocations: 0 / 1.113 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.6017, allocations: 342.8 kB / 1.113 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.6019, allocations: 95.98 kB / 1.113 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001826/0.602, allocations: 144.3 kB / 1.113 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000257/0.6023, allocations: 103.9 kB / 1.114 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.6023, allocations: 0 / 1.114 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005139/0.6028, allocations: 294 kB / 1.114 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.6029, allocations: 8 kB / 1.114 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.6029, allocations: 0 / 1.114 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.6029, allocations: 4.031 kB / 1.114 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.6031, allocations: 35.92 kB / 1.114 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.6031, allocations: 10.17 kB / 1.114 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.6033, allocations: 31.89 kB / 1.114 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-05/0.6033, allocations: 12 kB / 1.114 GB, free: 2.059 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition1,$PRE.uHeaCoo.tab.nextTimeEvent,zonSta.yZonSta,zonSta.booToIntCoo.u,zonSta.booToIntDea.u,$PRE.zonSta.hysUHea.y,zonSta.hysUHea.y,$PRE.zonSta.hysUCoo.y,zonSta.hysUCoo.y,zonSta.isCoo.u1,$PRE.zonSta.hysU.y,zonSta.hysU.y,zonSta.addInt.u1,zonSta.addInt.u2,zonSta.addInt.y,zonSta.addInt1.u2,uHeaCoo.tab.nextTimeEvent,$PRE.uHeaCoo.tab.nextTimeEventScaled,uHeaCoo.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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 9.039e-05/0.6034, allocations: 118.7 kB / 1.114 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.277e-05/0.6035, allocations: 27.62 kB / 1.114 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003393/0.6038, allocations: 202.9 kB / 1.114 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.6038, allocations: 4 kB / 1.114 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.6038, allocations: 4 kB / 1.114 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.6038, allocations: 0 / 1.114 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002718/0.6041, allocations: 315.5 kB / 1.115 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.6041, allocations: 0 / 1.115 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.802e-05/0.6042, allocations: 19.98 kB / 1.115 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.6042, allocations: 4 kB / 1.115 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.6042, allocations: 48 / 1.115 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.165e-06/0.6043, allocations: 3.906 kB / 1.115 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.6043, allocations: 3.984 kB / 1.115 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002874/0.6046, allocations: 223.7 kB / 1.115 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.275e-05/0.6046, allocations: 112.7 kB / 1.115 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.731e-05/0.6047, allocations: 7.188 kB / 1.115 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.6048, allocations: 15.98 kB / 1.115 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.458e-05/0.6049, allocations: 41.44 kB / 1.115 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.6049, allocations: 8 kB / 1.115 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.000205/0.6052, allocations: 231.1 kB / 1.115 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003044/0.6055, allocations: 63.84 kB / 1.115 GB, free: 0.6055 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,zonSta.yZonSta,zonSta.booToIntCoo.u,zonSta.booToIntDea.u,zonSta.hysUHea.y,zonSta.hysUCoo.y,zonSta.isCoo.u1,zonSta.hysU.y,zonSta.addInt.u1,zonSta.addInt.u2,zonSta.addInt.y,zonSta.addInt1.u2,uHeaCoo.tab.nextTimeEvent,uHeaCoo.tab.nextTimeEventScaled) * Number of discrete states: 5 (zonSta.hysU.y,zonSta.hysUCoo.y,zonSta.hysUHea.y,uHeaCoo.tab.nextTimeEvent,uHeaCoo.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005782/0.6061, allocations: 323.4 kB / 1.116 GB, free: 400 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003347/0.6064, allocations: 203.9 kB / 1.116 GB, free: 196 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.6064, allocations: 0 / 1.116 GB, free: 196 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.6065, allocations: 83.94 kB / 1.116 GB, free: 112 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.6068, allocations: 43.67 kB / 1.116 GB, free: 72 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007296/0.6076, allocations: 381.5 kB / 1.116 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003823/0.608, allocations: 0.823 MB / 1.117 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of SimCode: time 2.61e-07/0.608, allocations: 0 / 1.117 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of Templates: time 0.006717/0.6147, allocations: 3.487 MB / 1.121 GB, free: 11.39 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe 2>&1)