Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.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.TerminalUnits.Reheat.Subsequences.Validation.Alarms,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Alarms",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Alarms,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_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.814/1.814, 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.0009835/0.0009835, allocations: 181.2 kB / 490.8 MB, free: 1.902 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.139/1.139, allocations: 221.4 MB / 0.7863 GB, free: 13.61 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.0008941/0.0008941, allocations: 94.77 kB / 0.9264 GB, free: 14.15 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4389/0.4399, allocations: 149.2 MB / 1.072 GB, free: 182.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.6376, allocations: 143 MB / 1.212 GB, free: 39.92 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6167/1.254, allocations: 153.5 MB / 1.362 GB, free: 17.04 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002952/1.255, allocations: 74.92 kB / 1.362 GB, free: 17.04 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.05132/1.306, allocations: 17.11 MB / 1.378 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.794e-05/1.306, allocations: 9.125 kB / 1.378 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000355/1.306, allocations: 139.2 kB / 1.379 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001785/1.308, allocations: 0.8203 MB / 1.379 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.589e-05/1.308, allocations: 39.64 kB / 1.379 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001926/1.308, allocations: 90.72 kB / 1.379 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001319/1.31, allocations: 0.5167 MB / 1.38 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/1.311, allocations: 0.6704 MB / 1.381 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/1.311, allocations: 0 / 1.381 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-05/1.311, allocations: 8.891 kB / 1.381 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.149e-05/1.311, allocations: 31.7 kB / 1.381 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00435/1.316, allocations: 2.346 MB / 1.383 GB, free: 28.81 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/1.317, allocations: 0.6594 MB / 1.384 GB, free: 28.75 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004784/1.318, allocations: 292.2 kB / 1.384 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.427e-05/1.318, allocations: 7.062 kB / 1.384 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008036/1.318, allocations: 475.3 kB / 1.384 GB, free: 28.6 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=91): time 3.467e-06/1.318, allocations: 3.938 kB / 1.384 GB, free: 28.59 MB / 0.8386 GB Notification: Performance of matching and sorting (n=91): time 0.001412/1.32, allocations: 0.7032 MB / 1.385 GB, free: 28.44 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/1.32, allocations: 65.59 kB / 1.385 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006883/1.321, allocations: 0.5106 MB / 1.386 GB, free: 28.18 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001475/1.321, allocations: 51.89 kB / 1.386 GB, free: 28.14 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002411/1.321, allocations: 314.3 kB / 1.386 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001505/1.321, allocations: 190.3 kB / 1.386 GB, free: 27.82 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.836e-05/1.321, allocations: 4.062 kB / 1.386 GB, free: 27.82 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001749/1.321, allocations: 395.8 kB / 1.386 GB, free: 27.48 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006224/1.322, allocations: 303.3 kB / 1.387 GB, free: 27.46 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007409/1.323, allocations: 0.5514 MB / 1.387 GB, free: 27.13 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008997/1.324, allocations: 306.5 kB / 1.388 GB, free: 27.06 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.261e-06/1.324, allocations: 2.219 kB / 1.388 GB, free: 27.06 MB / 0.8386 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002006/1.326, allocations: 0.9018 MB / 1.388 GB, free: 26.85 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/1.326, allocations: 5.156 kB / 1.388 GB, free: 26.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.957e-05/1.326, allocations: 10.28 kB / 1.388 GB, free: 26.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.64e-05/1.326, allocations: 12.38 kB / 1.389 GB, free: 26.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007201/1.327, allocations: 150 kB / 1.389 GB, free: 26.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.852e-05/1.327, allocations: 15.12 kB / 1.389 GB, free: 26.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/1.328, allocations: 297.8 kB / 1.389 GB, free: 26.69 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/1.328, allocations: 50.52 kB / 1.389 GB, free: 26.69 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 110 ($PRE.ala.truDel.u,$PRE.ala.truDel1.u,$PRE.ala.truDel2.u,$PRE.ala.truDel3.u,$PRE.ala.truDel6.u,$PRE.ala.truDel4.u,$PRE.ala.truDel5.u,$whenCondition26,$whenCondition27,$whenCondition24,$whenCondition25,$whenCondition22,$whenCondition23,$whenCondition19,$PRE.ala.truDel5.t_next,$whenCondition16,$PRE.ala.truDel4.t_next,$whenCondition13,$PRE.ala.truDel6.t_next,$whenCondition10,$PRE.ala.truDel3.t_next,$whenCondition7,$PRE.ala.truDel2.t_next,$whenCondition4,$PRE.ala.truDel1.t_next,$whenCondition1,$PRE.ala.truDel.t_next,ala.truDel5.t_next,ala.truDel4.t_next,ala.truDel6.t_next,ala.truDel3.t_next,ala.truDel2.t_next,ala.truDel1.t_next,ala.truDel.t_next,$whenCondition20,$whenCondition21,$whenCondition17,$whenCondition18,$whenCondition14,$whenCondition15,$whenCondition11,$whenCondition12,$whenCondition8,$whenCondition9,$whenCondition5,$whenCondition6,$whenCondition2,$whenCondition3,ala.yLowFloAla,ala.yFloSenAla,ala.yLeaDamAla,ala.yLeaValAla,$PRE.ala.les.lesHys.y,ala.les.lesHys.y,ala.truDel.u,ala.truDel.y,$PRE.ala.greThr.greHys.y,ala.greThr.greHys.y,$PRE.ala.gre.greHys.y,ala.gre.greHys.y,ala.truDel1.u,ala.truDel1.y,ala.and2.y,ala.and1.y,ala.lowFloAla.y,ala.booToInt.y,ala.booToInt1.y,ala.and3.y,ala.assMes1.u,ala.truDel2.u,ala.truDel2.y,$PRE.ala.gre1.greHys.y,ala.gre1.greHys.y,ala.assMes2.u,ala.truDel3.u,ala.truDel3.y,$PRE.ala.cloDam.lesHys.y,ala.cloDam.lesHys.y,ala.booToInt3.u,ala.truDel6.u,ala.truDel6.y,$PRE.ala.cloVal.lesHys.y,ala.cloVal.lesHys.y,$PRE.ala.gre2.greHys.y,ala.gre2.greHys.y,ala.assMes6.u,ala.yLowTemAla,$PRE.ala.les1.lesHys.y,ala.les1.lesHys.y,$PRE.ala.les2.lesHys.y,ala.les2.lesHys.y,ala.truDel4.u,ala.truDel4.y,ala.truDel5.u,ala.truDel5.y,ala.and6.y,ala.assMes4.u,ala.lowTemAla.y,ala.and8.y,ala.booToInt4.y,ala.assMes5.u,ala.booToInt5.y,$PRE.supFan.y,supFan.y,$PRE.damSta.y,damSta.y,$PRE.hotPla.y,hotPla.y,ala.and7.u2,ala.and3.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 3 * 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.0003335/1.329, allocations: 191.2 kB / 1.389 GB, free: 26.54 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001619/1.329, allocations: 91.92 kB / 1.389 GB, free: 26.5 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002107/1.329, allocations: 84.34 kB / 1.389 GB, free: 26.47 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/1.329, allocations: 9.094 kB / 1.389 GB, free: 26.47 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.828e-05/1.329, allocations: 0 / 1.389 GB, free: 26.47 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/1.329, allocations: 3.984 kB / 1.389 GB, free: 26.46 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002869/1.332, allocations: 1.74 MB / 1.391 GB, free: 25.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/1.332, allocations: 1.406 kB / 1.391 GB, free: 25.78 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004644/1.332, allocations: 100.8 kB / 1.391 GB, free: 25.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/1.332, allocations: 7.188 kB / 1.391 GB, free: 25.74 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.068e-05/1.332, allocations: 18.66 kB / 1.391 GB, free: 25.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/1.332, allocations: 7.953 kB / 1.391 GB, free: 25.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/1.332, allocations: 1.281 kB / 1.391 GB, free: 25.73 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001323/1.334, allocations: 0.855 MB / 1.392 GB, free: 25.41 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001416/1.335, allocations: 1.236 MB / 1.393 GB, free: 24.73 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/1.335, allocations: 153.7 kB / 1.393 GB, free: 24.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001786/1.336, allocations: 25 kB / 1.393 GB, free: 24.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007978/1.336, allocations: 140.9 kB / 1.394 GB, free: 24.53 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002634/1.337, allocations: 149.5 kB / 1.394 GB, free: 24.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.66e-05/1.337, allocations: 52.33 kB / 1.394 GB, free: 24.45 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0004116/1.337, allocations: 341.9 kB / 1.394 GB, free: 24.33 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002011/1.339, allocations: 223.9 kB / 1.394 GB, free: 24.29 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 82 (ala.truDel2.u,ala.truDel6.u,ala.truDel4.u,ala.truDel5.u,ala.truDel.u,ala.truDel1.u,ala.truDel3.u,$whenCondition26,$whenCondition27,$whenCondition24,$whenCondition25,$whenCondition22,$whenCondition23,$whenCondition19,$whenCondition20,$whenCondition21,$whenCondition16,$whenCondition17,$whenCondition18,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition1,$whenCondition2,$whenCondition3,ala.yLowFloAla,ala.yFloSenAla,ala.yLeaDamAla,ala.yLeaValAla,ala.les.lesHys.y,ala.truDel.y,ala.truDel.t_next,ala.greThr.greHys.y,ala.gre.greHys.y,ala.truDel1.y,ala.truDel1.t_next,ala.and2.y,ala.and1.y,ala.lowFloAla.y,ala.booToInt.y,ala.and3.y,ala.assMes1.u,ala.truDel2.y,ala.truDel2.t_next,ala.gre1.greHys.y,ala.assMes2.u,ala.truDel3.y,ala.truDel3.t_next,ala.cloDam.lesHys.y,ala.booToInt3.u,ala.truDel6.y,ala.truDel6.t_next,ala.cloVal.lesHys.y,ala.gre2.greHys.y,ala.assMes6.u,ala.yLowTemAla,ala.les1.lesHys.y,ala.les2.lesHys.y,ala.truDel4.y,ala.truDel4.t_next,ala.truDel5.y,ala.truDel5.t_next,ala.and6.y,ala.assMes4.u,ala.lowTemAla.y,ala.and8.y,ala.booToInt4.y,ala.assMes5.u,supFan.y,damSta.y,hotPla.y,ala.booToInt5.y,ala.booToInt1.y) * Number of discrete states: 16 (ala.truDel5.t_next,ala.truDel4.t_next,ala.truDel6.t_next,ala.truDel3.t_next,ala.truDel2.t_next,ala.truDel1.t_next,ala.truDel.t_next,ala.greThr.greHys.y,ala.gre1.greHys.y,ala.gre.greHys.y,ala.les.lesHys.y,ala.les2.lesHys.y,ala.les1.lesHys.y,ala.gre2.greHys.y,ala.cloVal.lesHys.y,ala.cloDam.lesHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 17 * 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.0003013/1.339, allocations: 189.2 kB / 1.394 GB, free: 24.16 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001771/1.341, allocations: 0.8611 MB / 1.395 GB, free: 24.02 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/1.341, allocations: 1.688 kB / 1.395 GB, free: 24.02 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0007758/1.342, allocations: 484.8 kB / 1.396 GB, free: 24 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007499/1.343, allocations: 102.8 kB / 1.396 GB, free: 23.97 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003094/1.346, allocations: 1.173 MB / 1.397 GB, free: 23.51 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009459/1.347, allocations: 1.09 MB / 1.398 GB, free: 22.65 MB / 0.8386 GB Notification: Performance of SimCode: time 7.01e-07/1.347, allocations: 8.719 kB / 1.398 GB, free: 22.64 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Alarms.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Alarms.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Alarms.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Alarms.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Alarms_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Alarms_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Alarms.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Alarms.pipe 2>&1)