Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.214/1.214, allocations: 249.4 MB / 256.7 MB, free: 0.7344 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001078/0.001078, allocations: 187.2 kB / 316 MB, free: 8.922 MB / 258.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.142/1.142, allocations: 205.1 MB / 0.5667 GB, free: 13.43 MB / 434.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009173/0.0009174, allocations: 84.02 kB / 0.671 GB, free: 51.65 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1805/0.1815, allocations: 112.5 MB / 0.7809 GB, free: 9.82 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4571/0.6385, allocations: 106.3 MB / 0.8847 GB, free: 89.16 MB / 0.6434 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1504/0.789, allocations: 132 MB / 1.014 GB, free: 13.7 MB / 0.659 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002116/0.7893, allocations: 85.91 kB / 1.014 GB, free: 13.62 MB / 0.659 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.009092/0.7984, allocations: 3.392 MB / 1.017 GB, free: 10.27 MB / 0.659 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.7985, allocations: 15.98 kB / 1.017 GB, free: 10.26 MB / 0.659 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.075e-05/0.7985, allocations: 23.72 kB / 1.017 GB, free: 10.23 MB / 0.659 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.7987, allocations: 198.9 kB / 1.017 GB, free: 10 MB / 0.659 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.7987, allocations: 4 kB / 1.017 GB, free: 9.996 MB / 0.659 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.922e-05/0.7988, allocations: 14.62 kB / 1.017 GB, free: 9.984 MB / 0.659 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002697/0.7991, allocations: 120 kB / 1.017 GB, free: 9.867 MB / 0.659 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002816/0.7994, allocations: 154.7 kB / 1.017 GB, free: 9.711 MB / 0.659 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.7994, allocations: 4 kB / 1.017 GB, free: 9.707 MB / 0.659 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.171e-05/0.7994, allocations: 0 / 1.017 GB, free: 9.707 MB / 0.659 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.7994, allocations: 4 kB / 1.017 GB, free: 9.703 MB / 0.659 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008919/0.8003, allocations: 0.585 MB / 1.018 GB, free: 9.082 MB / 0.659 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002763/0.8006, allocations: 142.6 kB / 1.018 GB, free: 8.934 MB / 0.659 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.8007, allocations: 63.77 kB / 1.018 GB, free: 8.871 MB / 0.659 GB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.8007, allocations: 4 kB / 1.018 GB, free: 8.867 MB / 0.659 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001747/0.8009, allocations: 123.4 kB / 1.018 GB, free: 8.738 MB / 0.659 GB Notification: Performance of pre-optimization done (n=20): time 1.422e-06/0.8009, allocations: 0 / 1.018 GB, free: 8.738 MB / 0.659 GB Notification: Performance of matching and sorting (n=20): time 0.0003045/0.8012, allocations: 153.4 kB / 1.019 GB, free: 8.582 MB / 0.659 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.8013, allocations: 59.41 kB / 1.019 GB, free: 8.512 MB / 0.659 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.8014, allocations: 177.6 kB / 1.019 GB, free: 8.328 MB / 0.659 GB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.8015, allocations: 29.7 kB / 1.019 GB, free: 8.293 MB / 0.659 GB Notification: Performance of collectInitialEqns (initialization): time 6.73e-05/0.8016, allocations: 128.3 kB / 1.019 GB, free: 8.164 MB / 0.659 GB Notification: Performance of collectInitialBindings (initialization): time 4.643e-05/0.8016, allocations: 55.28 kB / 1.019 GB, free: 8.109 MB / 0.659 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.27e-05/0.8016, allocations: 0 / 1.019 GB, free: 8.109 MB / 0.659 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.8017, allocations: 326.8 kB / 1.019 GB, free: 7.781 MB / 0.659 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.8019, allocations: 64 kB / 1.019 GB, free: 7.719 MB / 0.659 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.802, allocations: 110.4 kB / 1.019 GB, free: 7.602 MB / 0.659 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.824e-05/0.8021, allocations: 53.47 kB / 1.019 GB, free: 7.551 MB / 0.659 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.8021, allocations: 0 / 1.019 GB, free: 7.551 MB / 0.659 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002892/0.8024, allocations: 193.9 kB / 1.02 GB, free: 7.355 MB / 0.659 GB Notification: Performance of prepare postOptimizeDAE: time 4.365e-05/0.8025, allocations: 4 kB / 1.02 GB, free: 7.352 MB / 0.659 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.8025, allocations: 0 / 1.02 GB, free: 7.352 MB / 0.659 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.8025, allocations: 4.844 kB / 1.02 GB, free: 7.348 MB / 0.659 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002415/0.8027, allocations: 58.14 kB / 1.02 GB, free: 7.293 MB / 0.659 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.8027, allocations: 0 / 1.02 GB, free: 7.293 MB / 0.659 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000289/0.803, allocations: 63.86 kB / 1.02 GB, free: 7.23 MB / 0.659 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/0.8031, allocations: 4 kB / 1.02 GB, free: 7.227 MB / 0.659 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition2,$whenCondition1,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,$PRE.uCoo.T_start,uCoo.T_start,$PRE.uCoo.count,uCoo.count,$PRE.uHea.T_start,uHea.T_start,$PRE.uHea.count,uHea.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.124e-05/0.8032, allocations: 119.8 kB / 1.02 GB, free: 7.105 MB / 0.659 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.973e-05/0.8032, allocations: 19.72 kB / 1.02 GB, free: 7.086 MB / 0.659 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.06e-05/0.8033, allocations: 25.58 kB / 1.02 GB, free: 7.062 MB / 0.659 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.8033, allocations: 0 / 1.02 GB, free: 7.062 MB / 0.659 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.8033, allocations: 8 kB / 1.02 GB, free: 7.055 MB / 0.659 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.8033, allocations: 0 / 1.02 GB, free: 7.055 MB / 0.659 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001991/0.8035, allocations: 257.9 kB / 1.02 GB, free: 6.766 MB / 0.659 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.8035, allocations: 0 / 1.02 GB, free: 6.766 MB / 0.659 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/0.8037, allocations: 35.97 kB / 1.02 GB, free: 6.73 MB / 0.659 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.8037, allocations: 4 kB / 1.02 GB, free: 6.727 MB / 0.659 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.202e-05/0.8037, allocations: 7.984 kB / 1.02 GB, free: 6.719 MB / 0.659 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.8037, allocations: 4 kB / 1.02 GB, free: 6.715 MB / 0.659 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.8037, allocations: 6.062 kB / 1.02 GB, free: 6.711 MB / 0.659 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000238/0.804, allocations: 178.3 kB / 1.02 GB, free: 6.52 MB / 0.659 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003165/0.8043, allocations: 0.5583 MB / 1.021 GB, free: 5.941 MB / 0.659 GB Notification: Performance of postOpt removeConstants (simulation): time 3.994e-05/0.8043, allocations: 89.81 kB / 1.021 GB, free: 5.836 MB / 0.659 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.028e-05/0.8044, allocations: 4 kB / 1.021 GB, free: 5.832 MB / 0.659 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000231/0.8046, allocations: 43.95 kB / 1.021 GB, free: 5.789 MB / 0.659 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.8047, allocations: 51.91 kB / 1.021 GB, free: 5.738 MB / 0.659 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.8048, allocations: 8 kB / 1.021 GB, free: 5.73 MB / 0.659 GB Notification: Performance of sort global known variables: time 8.505e-05/0.8049, allocations: 138.2 kB / 1.021 GB, free: 5.598 MB / 0.659 GB Notification: Performance of remove unused functions: time 0.0007722/0.8056, allocations: 43.84 kB / 1.021 GB, free: 5.555 MB / 0.659 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition2,$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,uCoo.T_start,uCoo.count,uHea.T_start,uHea.count) * Number of discrete states: 5 (uCoo.count,uHea.count,zonSta.hysU.y,zonSta.hysUCoo.y,zonSta.hysUHea.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001307/0.8058, allocations: 115 kB / 1.021 GB, free: 5.434 MB / 0.659 GB Notification: Performance of simCode: created initialization part: time 0.0002773/0.8061, allocations: 159.9 kB / 1.022 GB, free: 5.277 MB / 0.659 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.8061, allocations: 0 / 1.022 GB, free: 5.277 MB / 0.659 GB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.8062, allocations: 83.94 kB / 1.022 GB, free: 5.195 MB / 0.659 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002016/0.8064, allocations: 32.8 kB / 1.022 GB, free: 5.164 MB / 0.659 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005772/0.807, allocations: 243.9 kB / 1.022 GB, free: 4.902 MB / 0.659 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003522/0.8074, allocations: 0.7696 MB / 1.023 GB, free: 4.113 MB / 0.659 GB Notification: Performance of SimCode: time 2.71e-07/0.8074, allocations: 0 / 1.023 GB, free: 4.113 MB / 0.659 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe >> ../files/Buildings_maint.7.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_7_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_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe 2>&1)