Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Alarms.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.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Alarms,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 1.853/1.853, allocations: 390.4 MB / 397.7 MB, free: 11.26 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.001002/0.001002, allocations: 183.5 kB / 490.8 MB, free: 1.941 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.196/1.196, allocations: 221.3 MB / 0.7863 GB, free: 13.71 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.0008788/0.0008788, allocations: 103 kB / 0.9264 GB, free: 14.25 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4402/0.4411, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.6506, allocations: 143 MB / 1.212 GB, free: 40.04 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.532/1.183, allocations: 152.8 MB / 1.361 GB, free: 17.18 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002067/1.183, allocations: 69.31 kB / 1.361 GB, free: 17.18 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.03147/1.214, allocations: 12.23 MB / 1.373 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/1.214, allocations: 10.41 kB / 1.373 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003802/1.215, allocations: 105.2 kB / 1.373 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001458/1.216, allocations: 0.6626 MB / 1.374 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.988e-05/1.216, allocations: 34.83 kB / 1.374 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001558/1.217, allocations: 64.02 kB / 1.374 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008859/1.217, allocations: 436.2 kB / 1.374 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/1.219, allocations: 0.5584 MB / 1.375 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/1.219, allocations: 0 / 1.375 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.014e-05/1.219, allocations: 8.672 kB / 1.375 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/1.219, allocations: 17.34 kB / 1.375 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003421/1.222, allocations: 1.831 MB / 1.376 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/1.223, allocations: 0.5909 MB / 1.377 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003774/1.224, allocations: 241.6 kB / 1.377 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.511e-05/1.224, allocations: 6.203 kB / 1.377 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000624/1.224, allocations: 406.1 kB / 1.378 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=72): time 2.074e-06/1.224, allocations: 0 / 1.378 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of matching and sorting (n=72): time 0.001021/1.225, allocations: 0.5643 MB / 1.378 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/1.225, allocations: 62.03 kB / 1.378 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004447/1.226, allocations: 393.3 kB / 1.379 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.557e-05/1.226, allocations: 52.44 kB / 1.379 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/1.226, allocations: 256.9 kB / 1.379 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/1.226, allocations: 145.7 kB / 1.379 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.814e-05/1.226, allocations: 1.844 kB / 1.379 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001403/1.226, allocations: 375.4 kB / 1.379 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003853/1.227, allocations: 207.6 kB / 1.38 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004454/1.227, allocations: 406.3 kB / 1.38 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005164/1.228, allocations: 194.3 kB / 1.38 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/1.228, allocations: 1.188 kB / 1.38 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001239/1.229, allocations: 0.6058 MB / 1.381 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/1.229, allocations: 5.125 kB / 1.381 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/1.229, allocations: 3.906 kB / 1.381 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/1.229, allocations: 9.25 kB / 1.381 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003608/1.229, allocations: 99.47 kB / 1.381 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.613e-05/1.23, allocations: 11.53 kB / 1.381 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007451/1.23, allocations: 143.5 kB / 1.381 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-05/1.23, allocations: 31.95 kB / 1.381 GB, free: 29.67 MB / 0.8386 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.0001879/1.231, allocations: 182.1 kB / 1.381 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.637e-05/1.231, allocations: 74.98 kB / 1.381 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/1.231, allocations: 54.67 kB / 1.381 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.004e-06/1.231, allocations: 7.375 kB / 1.381 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/1.231, allocations: 1.188 kB / 1.381 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/1.231, allocations: 3.984 kB / 1.381 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001972/1.233, allocations: 1.411 MB / 1.383 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/1.233, allocations: 0 / 1.383 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002293/1.233, allocations: 62.48 kB / 1.383 GB, free: 28.85 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/1.233, allocations: 1.969 kB / 1.383 GB, free: 28.85 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.242e-05/1.233, allocations: 15.91 kB / 1.383 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/1.233, allocations: 2.719 kB / 1.383 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/1.233, allocations: 1 kB / 1.383 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008862/1.234, allocations: 0.6568 MB / 1.384 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001006/1.235, allocations: 1.045 MB / 1.385 GB, free: 28.01 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.508e-05/1.235, allocations: 131.6 kB / 1.385 GB, free: 27.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/1.235, allocations: 23.03 kB / 1.385 GB, free: 27.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000531/1.236, allocations: 94.25 kB / 1.385 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002088/1.236, allocations: 112.6 kB / 1.385 GB, free: 27.79 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.172e-05/1.236, allocations: 43.92 kB / 1.385 GB, free: 27.78 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0002587/1.236, allocations: 256.8 kB / 1.385 GB, free: 27.68 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001156/1.237, allocations: 163.5 kB / 1.385 GB, free: 27.65 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: 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.0002294/1.238, allocations: 165.6 kB / 1.386 GB, free: 27.53 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0009617/1.239, allocations: 0.6031 MB / 1.386 GB, free: 27.46 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/1.239, allocations: 0 / 1.386 GB, free: 27.46 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004999/1.239, allocations: 367.8 kB / 1.386 GB, free: 27.44 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003804/1.24, allocations: 62.05 kB / 1.386 GB, free: 27.42 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/1.241, allocations: 0.8688 MB / 1.387 GB, free: 27.09 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006339/1.242, allocations: 0.995 MB / 1.388 GB, free: 26.27 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/1.242, allocations: 7.938 kB / 1.388 GB, free: 26.26 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Alarms.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Alarms.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Alarms.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Alarms.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Alarms_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_Alarms_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_Alarms.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.Alarms.pipe 2>&1)