Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.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.TerminalUnits.Reheat.Subsequences.Validation.Alarms,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.848/1.848, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.001111/0.001111, allocations: 184.2 kB / 487 MB, free: 5.375 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.16/1.16, 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.0008931/0.0008931, allocations: 92.69 kB / 0.9213 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.434/0.4349, allocations: 148.5 MB / 1.066 GB, free: 168 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.6261, allocations: 142.3 MB / 1.205 GB, free: 26.05 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5577/1.184, allocations: 152.7 MB / 1.354 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002117/1.184, allocations: 79.08 kB / 1.355 GB, free: 15.91 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.0416/1.226, allocations: 17.12 MB / 1.371 GB, free: 6.27 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/1.226, allocations: 9 kB / 1.371 GB, free: 6.262 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001954/1.226, allocations: 142.5 kB / 1.371 GB, free: 6.121 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/1.227, allocations: 0.8078 MB / 1.372 GB, free: 5.441 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.318e-05/1.227, allocations: 43.91 kB / 1.372 GB, free: 5.402 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/1.228, allocations: 79.98 kB / 1.372 GB, free: 5.324 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008764/1.228, allocations: 0.5293 MB / 1.373 GB, free: 5.012 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/1.229, allocations: 0.6734 MB / 1.373 GB, free: 4.531 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/1.229, allocations: 0 / 1.373 GB, free: 4.531 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.131e-05/1.23, allocations: 7.984 kB / 1.373 GB, free: 4.523 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/1.23, allocations: 20 kB / 1.373 GB, free: 4.504 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003127/1.233, allocations: 2.343 MB / 1.376 GB, free: 2.766 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008662/1.234, allocations: 0.6741 MB / 1.376 GB, free: 2.336 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003566/1.234, allocations: 283.6 kB / 1.377 GB, free: 2.172 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.986e-05/1.234, allocations: 4.656 kB / 1.377 GB, free: 2.168 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000603/1.235, allocations: 482.7 kB / 1.377 GB, free: 1.828 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=91): time 1.984e-06/1.235, allocations: 0 / 1.377 GB, free: 1.828 MB / 0.8073 GB Notification: Performance of matching and sorting (n=91): time 0.001026/1.236, allocations: 0.7021 MB / 1.378 GB, free: 1.309 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/1.236, allocations: 64.19 kB / 1.378 GB, free: 1.23 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004411/1.236, allocations: 0.5178 MB / 1.378 GB, free: 0.8398 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0001022/1.236, allocations: 52.19 kB / 1.378 GB, free: 0.793 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/1.236, allocations: 320.7 kB / 1.379 GB, free: 0.5273 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/1.237, allocations: 189.8 kB / 1.379 GB, free: 388 kB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.71e-05/1.237, allocations: 7.375 kB / 1.379 GB, free: 384 kB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.105e-05/1.237, allocations: 395 kB / 1.379 GB, free: 16 kB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005155/1.237, allocations: 296.6 kB / 1.38 GB, free: 15.84 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006561/1.238, allocations: 0.5497 MB / 1.38 GB, free: 15.32 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007298/1.239, allocations: 313.7 kB / 1.38 GB, free: 15.11 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/1.239, allocations: 4 kB / 1.38 GB, free: 15.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001589/1.24, allocations: 0.8916 MB / 1.381 GB, free: 14.41 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/1.24, allocations: 6.906 kB / 1.381 GB, free: 14.41 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/1.24, allocations: 7.938 kB / 1.381 GB, free: 14.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/1.24, allocations: 19.98 kB / 1.381 GB, free: 14.38 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005627/1.241, allocations: 150 kB / 1.382 GB, free: 14.24 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.682e-05/1.241, allocations: 19.92 kB / 1.382 GB, free: 14.22 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/1.242, allocations: 290.6 kB / 1.382 GB, free: 13.94 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000157/1.242, allocations: 57.72 kB / 1.382 GB, free: 13.89 MB / 0.823 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.0002267/1.242, allocations: 190 kB / 1.382 GB, free: 13.71 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/1.243, allocations: 90.95 kB / 1.382 GB, free: 13.62 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00014/1.243, allocations: 78.69 kB / 1.382 GB, free: 13.58 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/1.243, allocations: 8 kB / 1.382 GB, free: 13.57 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/1.243, allocations: 4 kB / 1.382 GB, free: 13.57 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/1.243, allocations: 11.92 kB / 1.382 GB, free: 13.56 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002207/1.245, allocations: 1.735 MB / 1.384 GB, free: 12.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/1.245, allocations: 0 / 1.384 GB, free: 12.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003854/1.245, allocations: 95.81 kB / 1.384 GB, free: 12.21 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.175e-05/1.245, allocations: 4 kB / 1.384 GB, free: 12.21 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.403e-05/1.246, allocations: 23.64 kB / 1.384 GB, free: 12.19 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/1.246, allocations: 4 kB / 1.384 GB, free: 12.19 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.246, allocations: 4 kB / 1.384 GB, free: 12.18 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001037/1.247, allocations: 0.8483 MB / 1.385 GB, free: 11.5 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001084/1.248, allocations: 1.233 MB / 1.386 GB, free: 10.44 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/1.248, allocations: 155.3 kB / 1.386 GB, free: 10.27 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/1.248, allocations: 29.19 kB / 1.386 GB, free: 10.25 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000694/1.249, allocations: 147.2 kB / 1.386 GB, free: 10.11 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002409/1.249, allocations: 142 kB / 1.387 GB, free: 9.996 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.445e-05/1.249, allocations: 54.41 kB / 1.387 GB, free: 9.957 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0003578/1.249, allocations: 337.5 kB / 1.387 GB, free: 9.707 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001148/1.25, allocations: 222.6 kB / 1.387 GB, free: 9.492 MB / 0.823 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.0002357/1.251, allocations: 184.6 kB / 1.387 GB, free: 9.316 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001195/1.252, allocations: 0.8608 MB / 1.388 GB, free: 8.695 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/1.252, allocations: 0 / 1.388 GB, free: 8.695 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006081/1.253, allocations: 488.2 kB / 1.389 GB, free: 8.406 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005102/1.253, allocations: 104.2 kB / 1.389 GB, free: 8.328 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0022/1.255, allocations: 1.183 MB / 1.39 GB, free: 7.301 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007316/1.256, allocations: 1.088 MB / 1.391 GB, free: 6.188 MB / 0.823 GB Notification: Performance of SimCode: time 2.8e-07/1.256, allocations: 0 / 1.391 GB, free: 6.188 MB / 0.823 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Alarms.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Alarms.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Alarms.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Alarms.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Alarms_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Alarms_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Alarms.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Alarms.pipe 2>&1)