Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.DualDuctMixConInletSensor.Subsequences.Validation.Alarms,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Alarms",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Alarms,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_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.826/1.826, allocations: 390.4 MB / 397.7 MB, free: 11.25 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: 181.2 kB / 490.8 MB, free: 1.922 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.15/1.15, allocations: 221.4 MB / 0.7863 GB, free: 13.65 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.0008805/0.0008805, allocations: 84.72 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4483/0.4492, allocations: 149.2 MB / 1.072 GB, free: 182.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.6367, allocations: 143 MB / 1.212 GB, free: 39.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5229/1.16, allocations: 153 MB / 1.361 GB, free: 17.18 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002008/1.16, allocations: 78.72 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.04222/1.202, allocations: 15.8 MB / 1.377 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/1.202, allocations: 8.312 kB / 1.377 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004881/1.203, allocations: 117.5 kB / 1.377 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001584/1.204, allocations: 0.7098 MB / 1.377 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.827e-05/1.204, allocations: 32.7 kB / 1.377 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002304/1.205, allocations: 78.33 kB / 1.378 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009712/1.206, allocations: 448.4 kB / 1.378 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/1.207, allocations: 0.5615 MB / 1.379 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/1.207, allocations: 7.984 kB / 1.379 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.916e-05/1.207, allocations: 7.797 kB / 1.379 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.726e-05/1.207, allocations: 21.22 kB / 1.379 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003454/1.21, allocations: 2.031 MB / 1.381 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009094/1.211, allocations: 0.5759 MB / 1.381 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004079/1.212, allocations: 257.2 kB / 1.381 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.928e-05/1.212, allocations: 6.031 kB / 1.381 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006583/1.212, allocations: 446.1 kB / 1.382 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=83): time 2.214e-06/1.212, allocations: 0 / 1.382 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of matching and sorting (n=83): time 0.001175/1.213, allocations: 0.6344 MB / 1.382 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/1.213, allocations: 61.16 kB / 1.382 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004547/1.214, allocations: 437.2 kB / 1.383 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001068/1.214, allocations: 56.41 kB / 1.383 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/1.214, allocations: 278.4 kB / 1.383 GB, free: 29 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/1.214, allocations: 178.7 kB / 1.383 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.214e-05/1.214, allocations: 10.31 kB / 1.383 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001297/1.215, allocations: 382.6 kB / 1.384 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005322/1.215, allocations: 286.1 kB / 1.384 GB, free: 28.54 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005848/1.216, allocations: 0.516 MB / 1.385 GB, free: 28.25 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007979/1.217, allocations: 318.1 kB / 1.385 GB, free: 28.17 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/1.217, allocations: 2.531 kB / 1.385 GB, free: 28.17 MB / 0.8386 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001731/1.218, allocations: 0.8802 MB / 1.386 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/1.218, allocations: 5.062 kB / 1.386 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/1.218, allocations: 6.406 kB / 1.386 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/1.218, allocations: 11.62 kB / 1.386 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005293/1.219, allocations: 142.6 kB / 1.386 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/1.219, allocations: 18.3 kB / 1.386 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/1.22, allocations: 287.9 kB / 1.386 GB, free: 27.81 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/1.22, allocations: 55.14 kB / 1.386 GB, free: 27.8 MB / 0.8386 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.0002202/1.22, allocations: 193.8 kB / 1.386 GB, free: 27.65 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/1.221, allocations: 78.05 kB / 1.386 GB, free: 27.61 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001265/1.221, allocations: 67.75 kB / 1.387 GB, free: 27.59 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/1.221, allocations: 7.875 kB / 1.387 GB, free: 27.59 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/1.221, allocations: 0 / 1.387 GB, free: 27.59 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/1.221, allocations: 5.359 kB / 1.387 GB, free: 27.58 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001985/1.223, allocations: 1.539 MB / 1.388 GB, free: 26.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/1.223, allocations: 1.125 kB / 1.388 GB, free: 26.96 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003772/1.223, allocations: 103 kB / 1.388 GB, free: 26.92 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.233e-06/1.223, allocations: 2.625 kB / 1.388 GB, free: 26.92 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.838e-05/1.223, allocations: 21.44 kB / 1.388 GB, free: 26.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/1.223, allocations: 3.906 kB / 1.388 GB, free: 26.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.223, allocations: 0 / 1.388 GB, free: 26.91 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001035/1.224, allocations: 0.7596 MB / 1.389 GB, free: 26.64 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001102/1.225, allocations: 1.149 MB / 1.39 GB, free: 25.99 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.011e-05/1.225, allocations: 138.5 kB / 1.39 GB, free: 25.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/1.226, allocations: 20.11 kB / 1.39 GB, free: 25.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006113/1.226, allocations: 117.9 kB / 1.39 GB, free: 25.81 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002109/1.226, allocations: 120 kB / 1.39 GB, free: 25.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.475e-05/1.227, allocations: 46.12 kB / 1.39 GB, free: 25.75 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.00031/1.227, allocations: 289.2 kB / 1.391 GB, free: 25.64 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001225/1.228, allocations: 204.8 kB / 1.391 GB, free: 25.61 MB / 0.8386 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.0002237/1.228, allocations: 183.5 kB / 1.391 GB, free: 25.49 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001191/1.229, allocations: 0.8305 MB / 1.392 GB, free: 25.32 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.23, allocations: 5.156 kB / 1.392 GB, free: 25.32 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0005612/1.23, allocations: 432.1 kB / 1.392 GB, free: 25.3 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004968/1.231, allocations: 92.7 kB / 1.392 GB, free: 25.27 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001886/1.232, allocations: 1.003 MB / 1.393 GB, free: 24.88 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006715/1.233, allocations: 1.03 MB / 1.394 GB, free: 24.05 MB / 0.8386 GB Notification: Performance of SimCode: time 2.7e-07/1.233, allocations: 0 / 1.394 GB, free: 24.05 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Alarms.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Alarms.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Alarms.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Alarms.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Alarms_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Alarms_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Alarms.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Alarms.pipe 2>&1)