Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.382/1.382, allocations: 289.8 MB / 297.1 MB, free: 6.711 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.000968/0.0009682, allocations: 185.2 kB / 366.3 MB, free: 1.969 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.114/1.114, allocations: 205.1 MB / 0.6256 GB, free: 5.852 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.0008096/0.0008096, allocations: 90.41 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.402e-06/6.502e-06, allocations: 0 / 0.8591 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4393/0.4393, allocations: 116.3 MB / 0.9726 GB, free: 68.84 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1489/0.5883, allocations: 142.6 MB / 1.112 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002021/0.5885, allocations: 80.7 kB / 1.112 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01983/0.6084, allocations: 8.069 MB / 1.12 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.663e-05/0.6084, allocations: 4 kB / 1.12 GB, free: 13.78 MB / 0.7292 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.000664/0.6091, allocations: 0.5609 MB / 1.12 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.6091, allocations: 8.594 kB / 1.12 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.514e-05/0.6092, allocations: 35.53 kB / 1.12 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004957/0.6097, allocations: 335.1 kB / 1.121 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.6098, allocations: 4 kB / 1.121 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.045e-05/0.6098, allocations: 12 kB / 1.121 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002607/0.6101, allocations: 139.9 kB / 1.121 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000265/0.6103, allocations: 166 kB / 1.121 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.6103, allocations: 0 / 1.121 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.6104, allocations: 0 / 1.121 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.6104, allocations: 4 kB / 1.121 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009426/0.6113, allocations: 0.645 MB / 1.122 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003323/0.6117, allocations: 190.3 kB / 1.122 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.6118, allocations: 64.77 kB / 1.122 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.6118, allocations: 8.844 kB / 1.122 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001629/0.612, allocations: 115.4 kB / 1.122 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 1.363e-06/0.612, allocations: 3.938 kB / 1.122 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.000313/0.6123, allocations: 181.8 kB / 1.122 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.464e-05/0.6124, allocations: 51.41 kB / 1.122 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003347/0.6127, allocations: 335.4 kB / 1.123 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.6127, allocations: 29.7 kB / 1.123 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.822e-05/0.6128, allocations: 144.4 kB / 1.123 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.333e-05/0.6129, allocations: 47.3 kB / 1.123 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.41e-05/0.6129, allocations: 0.75 kB / 1.123 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.613, allocations: 342.8 kB / 1.123 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.6132, allocations: 91.98 kB / 1.123 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/0.6134, allocations: 148.2 kB / 1.123 GB, free: 9.957 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002553/0.6136, allocations: 107.9 kB / 1.123 GB, free: 9.852 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.6136, allocations: 0 / 1.123 GB, free: 9.852 MB / 0.7292 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004789/0.6141, allocations: 293.7 kB / 1.124 GB, free: 9.559 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.6141, allocations: 4 kB / 1.124 GB, free: 9.555 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.6142, allocations: 0.5625 kB / 1.124 GB, free: 9.555 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.6142, allocations: 0 / 1.124 GB, free: 9.555 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.6143, allocations: 39.92 kB / 1.124 GB, free: 9.516 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.6144, allocations: 4 kB / 1.124 GB, free: 9.512 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.6145, allocations: 39.91 kB / 1.124 GB, free: 9.473 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/0.6146, allocations: 8 kB / 1.124 GB, free: 9.465 MB / 0.7292 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 8.311e-05/0.6147, allocations: 128.1 kB / 1.124 GB, free: 9.336 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.776e-05/0.6147, allocations: 27.62 kB / 1.124 GB, free: 9.309 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003289/0.615, allocations: 205.5 kB / 1.124 GB, free: 9.102 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.6151, allocations: 4 kB / 1.124 GB, free: 9.098 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.6151, allocations: 0 / 1.124 GB, free: 9.098 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.6151, allocations: 0 / 1.124 GB, free: 9.098 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002535/0.6153, allocations: 309.9 kB / 1.124 GB, free: 8.758 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.6153, allocations: 0 / 1.124 GB, free: 8.758 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.568e-05/0.6154, allocations: 19.94 kB / 1.124 GB, free: 8.738 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.6155, allocations: 4 kB / 1.124 GB, free: 8.734 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.6155, allocations: 7.984 kB / 1.124 GB, free: 8.727 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.6155, allocations: 3.906 kB / 1.124 GB, free: 8.723 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.6155, allocations: 4 kB / 1.124 GB, free: 8.719 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002793/0.6158, allocations: 204.7 kB / 1.125 GB, free: 8.5 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.15e-05/0.6159, allocations: 112.7 kB / 1.125 GB, free: 8.371 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.92e-05/0.6159, allocations: 9.672 kB / 1.125 GB, free: 8.363 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.616, allocations: 27.92 kB / 1.125 GB, free: 8.336 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.049e-05/0.6161, allocations: 31.94 kB / 1.125 GB, free: 8.305 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.6162, allocations: 4 kB / 1.125 GB, free: 8.301 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.000201/0.6164, allocations: 231.1 kB / 1.125 GB, free: 8.078 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002599/0.6166, allocations: 67.83 kB / 1.125 GB, free: 8.012 MB / 0.7292 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.0005979/0.6172, allocations: 329.9 kB / 1.125 GB, free: 7.773 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003244/0.6176, allocations: 199.8 kB / 1.126 GB, free: 7.578 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.6176, allocations: 0 / 1.126 GB, free: 7.578 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.6177, allocations: 87.92 kB / 1.126 GB, free: 7.492 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.618, allocations: 52.27 kB / 1.126 GB, free: 7.445 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006863/0.6187, allocations: 373.3 kB / 1.126 GB, free: 7.055 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004276/0.6191, allocations: 0.8216 MB / 1.127 GB, free: 6.207 MB / 0.7292 GB Notification: Performance of SimCode: time 2.41e-07/0.6191, allocations: 0 / 1.127 GB, free: 6.207 MB / 0.7292 GB Notification: Performance of Templates: time 0.006519/0.6256, allocations: 3.48 MB / 1.13 GB, free: 2.754 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.makefile (rm -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.sim & ./Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe 2>&1)