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.SingleZone.VAV.Validation.ZoneState.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.SingleZone.VAV.Validation.ZoneState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=0,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.115/2.115, allocations: 284.9 MB / 292.2 MB, free: 10.76 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.00161/0.00161, allocations: 173.3 kB / 360.4 MB, free: 7.539 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.626/1.626, allocations: 205.1 MB / 0.6188 GB, free: 13.19 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.001176/0.001176, allocations: 85.95 kB / 0.7318 GB, free: 45.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.454e-06/7.545e-06, allocations: 0 / 0.8503 GB, free: 3.914 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5448/0.5448, allocations: 115.2 MB / 0.9628 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2074/0.7523, allocations: 141.4 MB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002856/0.7526, allocations: 84.47 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.03534/0.788, allocations: 8.059 MB / 1.109 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.899e-05/0.7881, allocations: 4 kB / 1.109 GB, free: 7.316 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.001107/0.7892, allocations: 0.5697 MB / 1.109 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.7892, allocations: 8.531 kB / 1.109 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.7894, allocations: 35.53 kB / 1.11 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007926/0.7902, allocations: 331.1 kB / 1.11 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.7902, allocations: 4 kB / 1.11 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.468e-05/0.7903, allocations: 12 kB / 1.11 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004447/0.7907, allocations: 139.7 kB / 1.11 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004469/0.7912, allocations: 173.3 kB / 1.11 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.7912, allocations: 0 / 1.11 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.896e-05/0.7913, allocations: 0 / 1.11 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.7913, allocations: 4 kB / 1.11 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001629/0.7929, allocations: 0.6467 MB / 1.111 GB, free: 5.281 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005734/0.7935, allocations: 179.3 kB / 1.111 GB, free: 5.098 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001929/0.7937, allocations: 72.77 kB / 1.111 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.7938, allocations: 4 kB / 1.111 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002797/0.7941, allocations: 127.7 kB / 1.111 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 2.284e-06/0.7941, allocations: 0 / 1.111 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0005529/0.7946, allocations: 178.9 kB / 1.111 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.7947, allocations: 51.41 kB / 1.111 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006091/0.7953, allocations: 335.4 kB / 1.112 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.229e-05/0.7954, allocations: 33.7 kB / 1.112 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.7955, allocations: 132.4 kB / 1.112 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.478e-05/0.7956, allocations: 51.3 kB / 1.112 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.722e-05/0.7956, allocations: 3.984 kB / 1.112 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.7958, allocations: 338.8 kB / 1.112 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002816/0.796, allocations: 95.98 kB / 1.112 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003487/0.7964, allocations: 148.2 kB / 1.112 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004306/0.7969, allocations: 103.9 kB / 1.113 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.7969, allocations: 4 kB / 1.113 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008653/0.7977, allocations: 286 kB / 1.113 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.7978, allocations: 8 kB / 1.113 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.7978, allocations: 6.797 kB / 1.113 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.7978, allocations: 0 / 1.113 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003159/0.7982, allocations: 35.92 kB / 1.113 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.7982, allocations: 4 kB / 1.113 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000353/0.7985, allocations: 35.91 kB / 1.113 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.007e-05/0.7986, allocations: 12 kB / 1.113 GB, free: 3 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 0.0001324/0.7988, allocations: 118.7 kB / 1.113 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.625e-05/0.7988, allocations: 27.62 kB / 1.113 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005972/0.7994, allocations: 207.5 kB / 1.113 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.7995, allocations: 4 kB / 1.113 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.7995, allocations: 3.984 kB / 1.113 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.7995, allocations: 0 / 1.113 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004397/0.7999, allocations: 311.8 kB / 1.114 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.8, allocations: 8 kB / 1.114 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000176/0.8001, allocations: 12 kB / 1.114 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.8002, allocations: 4 kB / 1.114 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/0.8002, allocations: 4.031 kB / 1.114 GB, free: 2.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.633e-06/0.8002, allocations: 3.906 kB / 1.114 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.8002, allocations: 3.984 kB / 1.114 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005124/0.8007, allocations: 216.6 kB / 1.114 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.8009, allocations: 112.7 kB / 1.114 GB, free: 1.902 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.182e-05/0.801, allocations: 4 kB / 1.114 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002478/0.8012, allocations: 19.97 kB / 1.114 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.8014, allocations: 35.95 kB / 1.114 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.721e-05/0.8014, allocations: 9.484 kB / 1.114 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0004162/0.8018, allocations: 227.1 kB / 1.114 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004691/0.8023, allocations: 71.84 kB / 1.114 GB, free: 1.543 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.0008908/0.8032, allocations: 330 kB / 1.115 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005761/0.8038, allocations: 199.9 kB / 1.115 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.8038, allocations: 0 / 1.115 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002441/0.8041, allocations: 91.98 kB / 1.115 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004471/0.8045, allocations: 40.61 kB / 1.115 GB, free: 1.027 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.8057, allocations: 382.1 kB / 1.115 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000583/0.8063, allocations: 0.8228 MB / 1.116 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of SimCode: time 8.32e-07/0.8063, allocations: 4 kB / 1.116 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of Templates: time 0.01177/0.8181, allocations: 3.475 MB / 1.119 GB, free: 12.38 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe 2>&1)