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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,fileNamePrefix="Buildings_maint_8_0_x_Buildings_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 8.0.1-maint.8.0.x/package.mo): time 1.334/1.334, allocations: 285.5 MB / 292.8 MB, free: 9.871 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.0009445/0.0009445, allocations: 185.2 kB / 361.1 MB, free: 400 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.034/1.034, allocations: 205.1 MB / 0.6195 GB, free: 2.891 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007715/0.0007715, allocations: 91.98 kB / 0.7326 GB, free: 1.059 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.35/0.3508, allocations: 121.5 MB / 0.8512 GB, free: 151.7 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.4936, allocations: 115.3 MB / 0.9638 GB, free: 56.24 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4119/0.9055, allocations: 141.6 MB / 1.102 GB, free: 31.84 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001763/0.9058, allocations: 82.97 kB / 1.102 GB, free: 31.84 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.01844/0.9242, allocations: 8.625 MB / 1.111 GB, free: 30.97 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.965e-05/0.9242, allocations: 7.75 kB / 1.111 GB, free: 30.97 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.157e-05/0.9243, allocations: 38.5 kB / 1.111 GB, free: 30.95 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004305/0.9248, allocations: 333.1 kB / 1.111 GB, free: 30.72 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.9248, allocations: 11.75 kB / 1.111 GB, free: 30.71 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/0.9248, allocations: 11.69 kB / 1.111 GB, free: 30.71 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002111/0.925, allocations: 133.8 kB / 1.111 GB, free: 30.71 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.9253, allocations: 165.1 kB / 1.111 GB, free: 30.67 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.9253, allocations: 3.969 kB / 1.111 GB, free: 30.67 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.9253, allocations: 0 / 1.111 GB, free: 30.67 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.9253, allocations: 3.75 kB / 1.111 GB, free: 30.67 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007723/0.9261, allocations: 0.6535 MB / 1.112 GB, free: 30.39 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002995/0.9264, allocations: 180.7 kB / 1.112 GB, free: 30.37 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.34e-05/0.9265, allocations: 74.77 kB / 1.112 GB, free: 30.36 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.9265, allocations: 3.906 kB / 1.112 GB, free: 30.35 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001367/0.9267, allocations: 122.8 kB / 1.112 GB, free: 30.3 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 1.453e-06/0.9267, allocations: 0 / 1.112 GB, free: 30.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0002652/0.9269, allocations: 169.7 kB / 1.112 GB, free: 30.25 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.915e-05/0.927, allocations: 59.28 kB / 1.112 GB, free: 30.19 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002639/0.9272, allocations: 333.4 kB / 1.113 GB, free: 30.08 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.9273, allocations: 40.52 kB / 1.113 GB, free: 30.05 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.61e-05/0.9273, allocations: 131.6 kB / 1.113 GB, free: 29.95 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.315e-05/0.9274, allocations: 49.44 kB / 1.113 GB, free: 29.92 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.383e-05/0.9274, allocations: 0 / 1.113 GB, free: 29.92 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.892e-05/0.9274, allocations: 343.5 kB / 1.113 GB, free: 29.61 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.9276, allocations: 98.08 kB / 1.113 GB, free: 29.61 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.9277, allocations: 145.3 kB / 1.114 GB, free: 29.56 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002171/0.9279, allocations: 107.7 kB / 1.114 GB, free: 29.55 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.928, allocations: 3.938 kB / 1.114 GB, free: 29.55 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004134/0.9284, allocations: 288.7 kB / 1.114 GB, free: 29.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/0.9284, allocations: 3.875 kB / 1.114 GB, free: 29.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.9284, allocations: 0 / 1.114 GB, free: 29.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.9284, allocations: 3.812 kB / 1.114 GB, free: 29.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.9286, allocations: 39.64 kB / 1.114 GB, free: 29.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.9286, allocations: 6.797 kB / 1.114 GB, free: 29.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.9288, allocations: 32.59 kB / 1.114 GB, free: 29.49 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.923e-05/0.9288, allocations: 15.28 kB / 1.114 GB, free: 29.48 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 6.824e-05/0.9289, allocations: 119.2 kB / 1.114 GB, free: 29.38 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/0.9289, allocations: 27.25 kB / 1.114 GB, free: 29.36 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002802/0.9292, allocations: 206.5 kB / 1.114 GB, free: 29.31 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.9292, allocations: 0 / 1.114 GB, free: 29.31 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.9292, allocations: 0 / 1.114 GB, free: 29.31 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.9292, allocations: 2.484 kB / 1.114 GB, free: 29.31 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001976/0.9294, allocations: 317.6 kB / 1.115 GB, free: 29.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.9294, allocations: 3.938 kB / 1.115 GB, free: 29.14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.86e-05/0.9295, allocations: 18.45 kB / 1.115 GB, free: 29.14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.9295, allocations: 0 / 1.115 GB, free: 29.14 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.9296, allocations: 0 / 1.115 GB, free: 29.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.9296, allocations: 3.844 kB / 1.115 GB, free: 29.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.9296, allocations: 3.281 kB / 1.115 GB, free: 29.14 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000224/0.9298, allocations: 211.1 kB / 1.115 GB, free: 29.05 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003059/0.9301, allocations: 0.5953 MB / 1.116 GB, free: 44.59 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.796e-05/0.9302, allocations: 114.9 kB / 1.116 GB, free: 44.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.491e-05/0.9302, allocations: 4 kB / 1.116 GB, free: 44.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.9304, allocations: 24.83 kB / 1.116 GB, free: 44.47 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.431e-05/0.9304, allocations: 35.56 kB / 1.116 GB, free: 44.47 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.9305, allocations: 3.969 kB / 1.116 GB, free: 44.47 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001671/0.9306, allocations: 230.7 kB / 1.116 GB, free: 44.39 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008048/0.9315, allocations: 72.5 kB / 1.116 GB, free: 44.37 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.0005701/0.932, allocations: 326.4 kB / 1.116 GB, free: 44.2 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002697/0.9323, allocations: 197.2 kB / 1.116 GB, free: 44.2 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.9323, allocations: 0 / 1.116 GB, free: 44.2 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.9324, allocations: 90.64 kB / 1.117 GB, free: 44.19 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/0.9327, allocations: 41.31 kB / 1.117 GB, free: 44.19 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006428/0.9334, allocations: 383.3 kB / 1.117 GB, free: 44.05 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003834/0.9337, allocations: 0.8163 MB / 1.118 GB, free: 43.34 MB / 0.7292 GB Notification: Performance of SimCode: time 2.41e-07/0.9338, allocations: 0 / 1.118 GB, free: 43.34 MB / 0.7292 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe 2>&1)