Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.DualDuctColdDuctMin.Subsequences.Validation.Alarms,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Alarms",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_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.808/1.808, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.0009516/0.0009516, allocations: 189.2 kB / 487 MB, free: 5.348 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.167/1.167, 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.0008595/0.0008595, allocations: 81.41 kB / 0.9213 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4324/0.4333, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.6186, allocations: 142.3 MB / 1.205 GB, free: 26.07 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5279/1.147, allocations: 152.2 MB / 1.354 GB, free: 16.08 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000199/1.147, allocations: 76.14 kB / 1.354 GB, free: 16.08 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.03916/1.186, allocations: 15.81 MB / 1.37 GB, free: 7.863 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/1.186, allocations: 9 kB / 1.37 GB, free: 7.855 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001809/1.186, allocations: 118.9 kB / 1.37 GB, free: 7.738 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/1.187, allocations: 0.7069 MB / 1.37 GB, free: 7.133 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.314e-05/1.187, allocations: 31.97 kB / 1.37 GB, free: 7.102 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/1.188, allocations: 79.3 kB / 1.37 GB, free: 7.027 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007442/1.188, allocations: 442 kB / 1.371 GB, free: 6.773 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008587/1.189, allocations: 0.567 MB / 1.371 GB, free: 6.367 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/1.189, allocations: 7.906 kB / 1.371 GB, free: 6.359 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.251e-05/1.189, allocations: 11.97 kB / 1.371 GB, free: 6.348 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/1.189, allocations: 16 kB / 1.371 GB, free: 6.332 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00275/1.192, allocations: 2.03 MB / 1.373 GB, free: 4.809 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007704/1.193, allocations: 0.5835 MB / 1.374 GB, free: 4.438 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003329/1.193, allocations: 249.7 kB / 1.374 GB, free: 4.289 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.173e-05/1.193, allocations: 8.5 kB / 1.374 GB, free: 4.281 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005512/1.194, allocations: 442.8 kB / 1.375 GB, free: 3.969 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=83): time 2.515e-06/1.194, allocations: 0 / 1.375 GB, free: 3.969 MB / 0.8073 GB Notification: Performance of matching and sorting (n=83): time 0.0009185/1.195, allocations: 0.6363 MB / 1.375 GB, free: 3.488 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/1.195, allocations: 64 kB / 1.375 GB, free: 3.418 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003446/1.195, allocations: 435 kB / 1.376 GB, free: 3.09 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.627e-05/1.195, allocations: 56.12 kB / 1.376 GB, free: 3.039 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/1.195, allocations: 273.8 kB / 1.376 GB, free: 2.809 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/1.195, allocations: 181.2 kB / 1.376 GB, free: 2.668 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.023e-05/1.195, allocations: 8 kB / 1.376 GB, free: 2.66 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.331e-05/1.196, allocations: 384.1 kB / 1.377 GB, free: 2.309 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004626/1.196, allocations: 280.8 kB / 1.377 GB, free: 2.148 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005329/1.197, allocations: 0.5173 MB / 1.377 GB, free: 1.664 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007397/1.197, allocations: 314.6 kB / 1.378 GB, free: 1.441 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/1.197, allocations: 0 / 1.378 GB, free: 1.441 MB / 0.8073 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001519/1.199, allocations: 0.8806 MB / 1.379 GB, free: 0.7539 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/1.199, allocations: 7.938 kB / 1.379 GB, free: 0.7461 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/1.199, allocations: 8 kB / 1.379 GB, free: 0.7383 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/1.199, allocations: 15.94 kB / 1.379 GB, free: 0.7227 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004846/1.199, allocations: 142.5 kB / 1.379 GB, free: 0.5898 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/1.199, allocations: 19.92 kB / 1.379 GB, free: 0.5703 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/1.201, allocations: 299 kB / 1.379 GB, free: 288 kB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.855e-05/1.201, allocations: 53.11 kB / 1.379 GB, free: 244 kB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 95 ($PRE.ala.truDel.u,$PRE.ala.truDel1.u,$PRE.ala.truDel2.u,$PRE.ala.truDel3.u,$PRE.ala.truDel4.u,$PRE.ala.truDel5.u,$whenCondition25,$whenCondition26,$whenCondition23,$whenCondition24,$whenCondition21,$whenCondition22,$whenCondition19,$whenCondition20,$whenCondition16,$PRE.ala.truDel5.t_next,$whenCondition13,$PRE.ala.truDel4.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.truDel3.t_next,ala.truDel2.t_next,ala.truDel1.t_next,ala.truDel.t_next,$whenCondition17,$whenCondition18,$whenCondition14,$whenCondition15,$whenCondition11,$whenCondition12,$whenCondition8,$whenCondition9,$whenCondition5,$whenCondition6,$whenCondition2,$whenCondition3,ala.yLowFloAla,ala.yColFloSenAla,ala.yColLeaDamAla,ala.yHotFloSenAla,ala.yHotLeaDamAla,$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.truDel4.u,ala.truDel4.y,$PRE.ala.gre2.greHys.y,ala.gre2.greHys.y,ala.assMes4.u,ala.truDel5.u,ala.truDel5.y,$PRE.ala.cloDam1.lesHys.y,ala.cloDam1.lesHys.y,ala.booToInt5.u,$PRE.supCooFan.y,supCooFan.y,$PRE.colDammSta.y,colDammSta.y,$PRE.supHeaFan.y,supHeaFan.y,$PRE.heaDammSta.y,heaDammSta.y,ala.and3.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 4 * 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.000184/1.201, allocations: 187.9 kB / 1.379 GB, free: 60 kB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/1.201, allocations: 75.2 kB / 1.379 GB, free: 15.98 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000122/1.201, allocations: 69.94 kB / 1.379 GB, free: 15.94 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/1.201, allocations: 8 kB / 1.379 GB, free: 15.93 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/1.201, allocations: 0 / 1.379 GB, free: 15.93 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.318e-06/1.201, allocations: 7.891 kB / 1.379 GB, free: 15.93 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001999/1.203, allocations: 1.532 MB / 1.381 GB, free: 14.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/1.203, allocations: 4 kB / 1.381 GB, free: 14.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003732/1.204, allocations: 102.8 kB / 1.381 GB, free: 14.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/1.204, allocations: 0 / 1.381 GB, free: 14.7 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.352e-05/1.204, allocations: 19.09 kB / 1.381 GB, free: 14.69 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/1.204, allocations: 7.984 kB / 1.381 GB, free: 14.68 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.204, allocations: 0 / 1.381 GB, free: 14.68 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009601/1.205, allocations: 0.7584 MB / 1.382 GB, free: 14.07 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00111/1.206, allocations: 1.148 MB / 1.383 GB, free: 13.08 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/1.206, allocations: 135.7 kB / 1.383 GB, free: 12.93 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/1.206, allocations: 27.41 kB / 1.383 GB, free: 12.91 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006118/1.207, allocations: 115.9 kB / 1.383 GB, free: 12.8 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002192/1.207, allocations: 121.1 kB / 1.383 GB, free: 12.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.786e-05/1.207, allocations: 42.09 kB / 1.383 GB, free: 12.67 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0003268/1.207, allocations: 296 kB / 1.384 GB, free: 12.45 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.00123/1.208, allocations: 207.5 kB / 1.384 GB, free: 12.25 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 71 (ala.truDel2.u,ala.truDel4.u,ala.truDel5.u,ala.truDel.u,ala.truDel1.u,ala.truDel3.u,$whenCondition25,$whenCondition26,$whenCondition23,$whenCondition24,$whenCondition21,$whenCondition22,$whenCondition19,$whenCondition20,$whenCondition16,$whenCondition17,$whenCondition18,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition1,$whenCondition2,$whenCondition3,ala.yLowFloAla,ala.yColFloSenAla,ala.yColLeaDamAla,ala.yHotFloSenAla,ala.yHotLeaDamAla,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.truDel4.y,ala.truDel4.t_next,ala.gre2.greHys.y,ala.assMes4.u,ala.truDel5.y,ala.truDel5.t_next,ala.cloDam1.lesHys.y,ala.booToInt5.u,supCooFan.y,colDammSta.y,supHeaFan.y,heaDammSta.y,ala.booToInt1.y) * Number of discrete states: 13 (ala.truDel5.t_next,ala.truDel4.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.gre2.greHys.y,ala.cloDam1.lesHys.y,ala.cloDam.lesHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 16 * 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.000265/1.209, allocations: 174.6 kB / 1.384 GB, free: 12.09 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001164/1.21, allocations: 0.8319 MB / 1.385 GB, free: 11.47 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/1.21, allocations: 0 / 1.385 GB, free: 11.47 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005417/1.21, allocations: 437.4 kB / 1.385 GB, free: 11.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005014/1.211, allocations: 100.6 kB / 1.385 GB, free: 11.12 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/1.213, allocations: 0.9953 MB / 1.386 GB, free: 10.27 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006676/1.214, allocations: 1.032 MB / 1.387 GB, free: 9.215 MB / 0.823 GB Notification: Performance of SimCode: time 2.6e-07/1.214, allocations: 4 kB / 1.387 GB, free: 9.211 MB / 0.823 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Alarms_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Alarms.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms.pipe 2>&1)