Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Alarms.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Alarms,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_Alarms",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Alarms,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_Alarms",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 9.1.1-maint.9.1.x/package.mo): time 1.82/1.82, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.0009672/0.0009673, allocations: 177.3 kB / 487 MB, free: 5.383 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.144/1.144, allocations: 221.3 MB / 0.7819 GB, free: 1.375 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008422/0.0008422, allocations: 99.31 kB / 0.9213 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4209/0.4218, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.6157, allocations: 142.3 MB / 1.205 GB, free: 26.09 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5393/1.155, allocations: 152 MB / 1.354 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001963/1.155, allocations: 71.97 kB / 1.354 GB, free: 15.95 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.02995/1.185, allocations: 12.24 MB / 1.366 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/1.185, allocations: 8 kB / 1.366 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001499/1.185, allocations: 106.9 kB / 1.366 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/1.186, allocations: 0.6573 MB / 1.366 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.147e-05/1.186, allocations: 39.3 kB / 1.367 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/1.187, allocations: 63.97 kB / 1.367 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007055/1.187, allocations: 438.8 kB / 1.367 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008155/1.188, allocations: 0.5492 MB / 1.368 GB, free: 9.73 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/1.188, allocations: 3.938 kB / 1.368 GB, free: 9.727 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.873e-05/1.188, allocations: 10.98 kB / 1.368 GB, free: 9.719 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/1.188, allocations: 19.98 kB / 1.368 GB, free: 9.699 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00237/1.191, allocations: 1.834 MB / 1.369 GB, free: 8.328 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008219/1.191, allocations: 0.5951 MB / 1.37 GB, free: 7.949 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003003/1.192, allocations: 237.6 kB / 1.37 GB, free: 7.816 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.081e-05/1.192, allocations: 12.42 kB / 1.37 GB, free: 7.805 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000501/1.192, allocations: 393 kB / 1.371 GB, free: 7.527 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=72): time 2.024e-06/1.192, allocations: 3.938 kB / 1.371 GB, free: 7.523 MB / 0.8073 GB Notification: Performance of matching and sorting (n=72): time 0.0008063/1.193, allocations: 0.5632 MB / 1.371 GB, free: 7.109 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.267e-05/1.193, allocations: 60.06 kB / 1.371 GB, free: 7.035 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000304/1.193, allocations: 397.5 kB / 1.372 GB, free: 6.734 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.334e-05/1.194, allocations: 49 kB / 1.372 GB, free: 6.688 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/1.194, allocations: 258.8 kB / 1.372 GB, free: 6.473 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 9.138e-05/1.194, allocations: 142.1 kB / 1.372 GB, free: 6.363 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-05/1.194, allocations: 4 kB / 1.372 GB, free: 6.359 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.2e-05/1.194, allocations: 377.2 kB / 1.372 GB, free: 6.008 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003109/1.194, allocations: 209 kB / 1.373 GB, free: 5.895 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003632/1.195, allocations: 397.9 kB / 1.373 GB, free: 5.527 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003812/1.195, allocations: 201.3 kB / 1.373 GB, free: 5.387 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/1.195, allocations: 0 / 1.373 GB, free: 5.387 MB / 0.8073 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0008993/1.196, allocations: 0.5979 MB / 1.374 GB, free: 4.922 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/1.196, allocations: 8 kB / 1.374 GB, free: 4.914 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/1.196, allocations: 4 kB / 1.374 GB, free: 4.91 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/1.196, allocations: 15.84 kB / 1.374 GB, free: 4.895 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003255/1.196, allocations: 102.6 kB / 1.374 GB, free: 4.801 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/1.196, allocations: 11.94 kB / 1.374 GB, free: 4.789 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006108/1.197, allocations: 139.7 kB / 1.374 GB, free: 4.652 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.796e-05/1.197, allocations: 35.05 kB / 1.374 GB, free: 4.625 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 87 ($PRE.zonAla.tenMinDur.u,$PRE.zonAla.tenMinDur1.u,$PRE.zonAla.tenMinDur2.u,$PRE.zonAla.tenMinDur3.u,$PRE.zonAla.twoHou.u,$PRE.zonAla.tenMinDur4.u,$whenCondition19,$whenCondition20,$whenCondition16,$PRE.zonAla.tenMinDur4.t_next,$whenCondition13,$PRE.zonAla.twoHou.t_next,$whenCondition10,$PRE.zonAla.tenMinDur3.t_next,$whenCondition7,$PRE.zonAla.tenMinDur2.t_next,$whenCondition4,$PRE.zonAla.tenMinDur1.t_next,$whenCondition1,$PRE.zonAla.tenMinDur.t_next,zonAla.tenMinDur4.t_next,zonAla.twoHou.t_next,zonAla.tenMinDur3.t_next,zonAla.tenMinDur2.t_next,zonAla.tenMinDur1.t_next,$whenCondition17,$whenCondition18,$whenCondition14,$whenCondition15,$whenCondition11,$whenCondition12,$whenCondition8,$whenCondition9,$whenCondition5,$whenCondition6,$whenCondition2,$whenCondition3,zonAla.yTemAla,$PRE.zonAla.twoDegLow.greHys.y,zonAla.twoDegLow.greHys.y,$PRE.zonAla.thrDegLow.greHys.y,zonAla.thrDegLow.greHys.y,$PRE.zonAla.twoDegHig.greHys.y,zonAla.twoDegHig.greHys.y,$PRE.zonAla.thrDegHig.greHys.y,zonAla.thrDegHig.greHys.y,zonAla.and1.u2,zonAla.booToInt.y,zonAla.booToInt2.y,zonAla.levThrHig.y,zonAla.levTwoHig.y,zonAla.levThrLow.u1,zonAla.levThrLow.y,zonAla.levTwoLow.y,zonAla.tenMinDur.u,zonAla.tenMinDur.y,zonAla.tenMinDur1.u,zonAla.tenMinDur1.y,zonAla.tenMinDur2.u,zonAla.tenMinDur2.y,zonAla.tenMinDur3.u,zonAla.tenMinDur3.y,zonAla.intEqu3.y,zonAla.intEqu4.y,zonAla.or1.u2,zonAla.higTemAla.y,zonAla.yCO2Ala,$PRE.zonAla.lesThr.lesHys.y,zonAla.lesThr.lesHys.y,$PRE.zonAla.greThr.greHys.y,zonAla.greThr.greHys.y,zonAla.and5.y,$PRE.zonAla.greThr1.greHys.y,zonAla.greThr1.greHys.y,zonAla.booToInt4.y,zonAla.and6.u1,zonAla.and6.y,zonAla.booToInt5.y,zonAla.twoHou.u,zonAla.twoHou.y,zonAla.tenMinDur4.u,zonAla.tenMinDur4.y,booToInt.u,booToInt.y,$PRE.occSta.y,occSta.y,zonAla.tenMinDur.t_next) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 1 * 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.0001502/1.197, allocations: 179 kB / 1.374 GB, free: 4.453 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.092e-05/1.197, allocations: 75.22 kB / 1.374 GB, free: 4.379 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/1.197, allocations: 58.73 kB / 1.374 GB, free: 4.348 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/1.197, allocations: 8 kB / 1.374 GB, free: 4.34 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/1.197, allocations: 0 / 1.374 GB, free: 4.34 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/1.197, allocations: 3.984 kB / 1.374 GB, free: 4.336 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001516/1.199, allocations: 1.407 MB / 1.376 GB, free: 3.309 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/1.199, allocations: 0 / 1.376 GB, free: 3.309 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002079/1.199, allocations: 63.33 kB / 1.376 GB, free: 3.25 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/1.199, allocations: 0 / 1.376 GB, free: 3.25 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.765e-05/1.199, allocations: 14.84 kB / 1.376 GB, free: 3.238 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/1.199, allocations: 8 kB / 1.376 GB, free: 3.23 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.199, allocations: 0 / 1.376 GB, free: 3.23 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007038/1.2, allocations: 0.6589 MB / 1.376 GB, free: 2.707 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007207/1.201, allocations: 1.045 MB / 1.377 GB, free: 1.801 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.438e-05/1.201, allocations: 127.3 kB / 1.378 GB, free: 1.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/1.201, allocations: 25.34 kB / 1.378 GB, free: 1.645 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004751/1.201, allocations: 95.91 kB / 1.378 GB, free: 1.551 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001752/1.201, allocations: 109.8 kB / 1.378 GB, free: 1.465 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.564e-05/1.201, allocations: 46.44 kB / 1.378 GB, free: 1.43 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001831/1.202, allocations: 255.1 kB / 1.378 GB, free: 1.238 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0009805/1.203, allocations: 161.9 kB / 1.378 GB, free: 1.082 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 67 (zonAla.tenMinDur2.u,zonAla.tenMinDur3.u,zonAla.tenMinDur.u,zonAla.tenMinDur1.u,zonAla.tenMinDur4.u,zonAla.twoHou.u,$whenCondition19,$whenCondition20,$whenCondition16,$whenCondition17,$whenCondition18,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition1,$whenCondition2,$whenCondition3,zonAla.yTemAla,zonAla.twoDegLow.greHys.y,zonAla.thrDegLow.greHys.y,zonAla.twoDegHig.greHys.y,zonAla.thrDegHig.greHys.y,zonAla.and1.u2,zonAla.booToInt.y,zonAla.booToInt2.y,zonAla.levThrHig.y,zonAla.levTwoHig.y,zonAla.levThrLow.u1,zonAla.levThrLow.y,zonAla.levTwoLow.y,zonAla.tenMinDur.y,zonAla.tenMinDur.t_next,zonAla.tenMinDur1.y,zonAla.tenMinDur1.t_next,zonAla.tenMinDur2.y,zonAla.tenMinDur2.t_next,zonAla.tenMinDur3.y,zonAla.tenMinDur3.t_next,zonAla.intEqu3.y,zonAla.intEqu4.y,zonAla.or1.u2,zonAla.higTemAla.y,zonAla.yCO2Ala,zonAla.lesThr.lesHys.y,zonAla.greThr.greHys.y,zonAla.and5.y,zonAla.greThr1.greHys.y,zonAla.booToInt4.y,zonAla.and6.u1,zonAla.and6.y,zonAla.booToInt5.y,zonAla.twoHou.y,zonAla.twoHou.t_next,zonAla.tenMinDur4.y,zonAla.tenMinDur4.t_next,booToInt.u,booToInt.y,occSta.y) * Number of discrete states: 13 (zonAla.tenMinDur4.t_next,zonAla.twoHou.t_next,zonAla.tenMinDur3.t_next,zonAla.tenMinDur2.t_next,zonAla.tenMinDur1.t_next,zonAla.tenMinDur.t_next,zonAla.thrDegHig.greHys.y,zonAla.twoDegHig.greHys.y,zonAla.thrDegLow.greHys.y,zonAla.twoDegLow.greHys.y,zonAla.greThr1.greHys.y,zonAla.greThr.greHys.y,zonAla.lesThr.lesHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.0001981/1.203, allocations: 175 kB / 1.378 GB, free: 0.9102 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0007385/1.204, allocations: 0.6017 MB / 1.379 GB, free: 0.4922 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/1.204, allocations: 0 / 1.379 GB, free: 0.4922 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0003892/1.204, allocations: 371.1 kB / 1.379 GB, free: 272 kB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/1.204, allocations: 59.69 kB / 1.379 GB, free: 228 kB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/1.206, allocations: 0.862 MB / 1.38 GB, free: 15.48 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000582/1.206, allocations: 0.9931 MB / 1.381 GB, free: 14.46 MB / 0.823 GB Notification: Performance of SimCode: time 2.41e-07/1.206, allocations: 4 kB / 1.381 GB, free: 14.46 MB / 0.823 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Alarms.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Alarms.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Alarms.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Alarms.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Alarms_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_Alarms_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_Alarms.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Alarms.pipe 2>&1)