Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState",fmuType="me",version="2.0",platforms={"static"}) [: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 10.0.0-master/package.mo): time 2.018/2.018, allocations: 390.4 MB / 397.7 MB, free: 11.2 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00131/0.001311, allocations: 189.2 kB / 490.8 MB, free: 1.883 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 221.3 MB / 0.7863 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009511/0.0009512, allocations: 91.64 kB / 0.9264 GB, free: 14.16 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.5734/0.5744, allocations: 149.2 MB / 1.072 GB, free: 182.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.8332, allocations: 143 MB / 1.212 GB, free: 39.91 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7375/1.571, allocations: 154.7 MB / 1.363 GB, free: 17.41 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/1.571, allocations: 90.16 kB / 1.363 GB, free: 17.41 MB / 0.823 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.02197/1.593, allocations: 8.794 MB / 1.371 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/1.593, allocations: 8.25 kB / 1.371 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/1.593, allocations: 44.06 kB / 1.372 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005526/1.594, allocations: 326.7 kB / 1.372 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/1.594, allocations: 7.25 kB / 1.372 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.496e-05/1.594, allocations: 11.19 kB / 1.372 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002746/1.594, allocations: 133 kB / 1.372 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002831/1.594, allocations: 161.5 kB / 1.372 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/1.594, allocations: 1 kB / 1.372 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/1.594, allocations: 0 / 1.372 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/1.594, allocations: 4.312 kB / 1.372 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/1.596, allocations: 0.6326 MB / 1.373 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003706/1.596, allocations: 172.4 kB / 1.373 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/1.596, allocations: 86.58 kB / 1.373 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/1.596, allocations: 2.031 kB / 1.373 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001709/1.596, allocations: 118.5 kB / 1.373 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=18): time 2.224e-06/1.596, allocations: 4 kB / 1.373 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18): time 0.0003617/1.597, allocations: 164.7 kB / 1.373 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/1.597, allocations: 56.22 kB / 1.373 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004045/1.597, allocations: 327 kB / 1.374 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.349e-05/1.597, allocations: 27.83 kB / 1.374 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.399e-05/1.597, allocations: 137.9 kB / 1.374 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.637e-05/1.597, allocations: 42.28 kB / 1.374 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.513e-05/1.597, allocations: 0 / 1.374 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001539/1.597, allocations: 345.1 kB / 1.374 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/1.598, allocations: 97.39 kB / 1.374 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001913/1.598, allocations: 146.8 kB / 1.374 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002865/1.598, allocations: 101.9 kB / 1.375 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/1.598, allocations: 0 / 1.375 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005315/1.599, allocations: 288.6 kB / 1.375 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/1.599, allocations: 6.297 kB / 1.375 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/1.599, allocations: 1.094 kB / 1.375 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/1.599, allocations: 5.094 kB / 1.375 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/1.599, allocations: 37.48 kB / 1.375 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/1.599, allocations: 1.156 kB / 1.375 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/1.599, allocations: 37.45 kB / 1.375 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-05/1.599, allocations: 12.45 kB / 1.375 GB, free: 31.04 MB / 0.8386 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.0001843/1.599, allocations: 117.7 kB / 1.375 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.508e-05/1.599, allocations: 26.34 kB / 1.375 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003873/1.6, allocations: 205.7 kB / 1.375 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/1.6, allocations: 6.766 kB / 1.375 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/1.6, allocations: 0 / 1.375 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/1.6, allocations: 2.75 kB / 1.375 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000345/1.6, allocations: 298.1 kB / 1.375 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/1.6, allocations: 0.5625 kB / 1.375 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.792e-05/1.6, allocations: 18.47 kB / 1.376 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/1.6, allocations: 1 kB / 1.376 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/1.6, allocations: 6.016 kB / 1.376 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/1.6, allocations: 0.8438 kB / 1.376 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/1.6, allocations: 5 kB / 1.376 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002958/1.601, allocations: 205.3 kB / 1.376 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000424/1.601, allocations: 0.5818 MB / 1.376 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.491e-05/1.601, allocations: 105.1 kB / 1.376 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.914e-05/1.601, allocations: 10.91 kB / 1.376 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/1.601, allocations: 22.06 kB / 1.376 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.698e-05/1.602, allocations: 32.02 kB / 1.376 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/1.602, allocations: 9.141 kB / 1.376 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0002632/1.602, allocations: 219.2 kB / 1.377 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0008855/1.603, allocations: 77.95 kB / 1.377 GB, free: 29.93 MB / 0.8386 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.0006631/1.603, allocations: 335.3 kB / 1.377 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003519/1.604, allocations: 192.1 kB / 1.377 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/1.604, allocations: 0.9375 kB / 1.377 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001398/1.604, allocations: 88.59 kB / 1.377 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/1.604, allocations: 39.17 kB / 1.377 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007879/1.605, allocations: 377.2 kB / 1.378 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005262/1.606, allocations: 0.8197 MB / 1.379 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of SimCode: time 2.9e-07/1.606, allocations: 0.9375 kB / 1.379 GB, free: 28.88 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe 2>&1)