Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.DualDuctMixConInletSensor.Subsequences.Validation.Alarms,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.85/1.85, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.000933/0.000933, allocations: 177.3 kB / 487 MB, free: 5.398 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.154/1.154, allocations: 221.3 MB / 0.7819 GB, free: 1.398 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.0008591/0.0008592, allocations: 90 kB / 0.9213 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4255/0.4264, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.6123, allocations: 142.3 MB / 1.205 GB, free: 26.1 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5227/1.135, allocations: 152.2 MB / 1.354 GB, free: 16.11 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002076/1.135, allocations: 77.03 kB / 1.354 GB, free: 16.11 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.04099/1.176, allocations: 15.81 MB / 1.37 GB, free: 7.871 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/1.176, allocations: 8 kB / 1.37 GB, free: 7.863 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001887/1.176, allocations: 118.9 kB / 1.37 GB, free: 7.746 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/1.178, allocations: 0.7005 MB / 1.37 GB, free: 7.145 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.384e-05/1.178, allocations: 35.92 kB / 1.37 GB, free: 7.113 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/1.178, allocations: 79.97 kB / 1.37 GB, free: 7.035 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007478/1.179, allocations: 443.4 kB / 1.371 GB, free: 6.781 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000878/1.179, allocations: 0.5678 MB / 1.371 GB, free: 6.371 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/1.179, allocations: 3.906 kB / 1.371 GB, free: 6.367 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.183e-05/1.18, allocations: 11.61 kB / 1.371 GB, free: 6.359 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/1.18, allocations: 16 kB / 1.371 GB, free: 6.344 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002837/1.182, allocations: 2.034 MB / 1.373 GB, free: 4.816 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007606/1.183, allocations: 0.5831 MB / 1.374 GB, free: 4.445 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003219/1.184, allocations: 250.6 kB / 1.374 GB, free: 4.297 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.137e-05/1.184, allocations: 4.5 kB / 1.374 GB, free: 4.293 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005619/1.184, allocations: 444 kB / 1.375 GB, free: 3.977 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=83): time 2.315e-06/1.184, allocations: 0 / 1.375 GB, free: 3.977 MB / 0.8073 GB Notification: Performance of matching and sorting (n=83): time 0.000951/1.185, allocations: 0.6352 MB / 1.375 GB, free: 3.5 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/1.185, allocations: 64.17 kB / 1.375 GB, free: 3.426 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004066/1.186, allocations: 441.4 kB / 1.376 GB, free: 3.094 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0001066/1.186, allocations: 52.56 kB / 1.376 GB, free: 3.047 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/1.186, allocations: 275.6 kB / 1.376 GB, free: 2.812 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/1.186, allocations: 177.2 kB / 1.376 GB, free: 2.676 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.068e-05/1.186, allocations: 11.88 kB / 1.376 GB, free: 2.668 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.587e-05/1.186, allocations: 382.4 kB / 1.377 GB, free: 2.316 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004517/1.187, allocations: 280.1 kB / 1.377 GB, free: 2.156 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005144/1.187, allocations: 0.5207 MB / 1.377 GB, free: 1.668 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007599/1.188, allocations: 311.4 kB / 1.378 GB, free: 1.449 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/1.188, allocations: 4 kB / 1.378 GB, free: 1.445 MB / 0.8073 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001524/1.189, allocations: 0.8751 MB / 1.379 GB, free: 0.7617 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/1.189, allocations: 8 kB / 1.379 GB, free: 0.7539 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/1.189, allocations: 4 kB / 1.379 GB, free: 0.75 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/1.189, allocations: 12 kB / 1.379 GB, free: 0.7383 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005021/1.19, allocations: 150.8 kB / 1.379 GB, free: 0.6016 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/1.19, allocations: 15.94 kB / 1.379 GB, free: 0.5859 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/1.191, allocations: 299.3 kB / 1.379 GB, free: 300 kB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.17e-05/1.191, allocations: 57.78 kB / 1.379 GB, free: 252 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.0001851/1.191, allocations: 181.9 kB / 1.379 GB, free: 72 kB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/1.192, allocations: 79.31 kB / 1.379 GB, free: 15.99 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001215/1.192, allocations: 67.73 kB / 1.379 GB, free: 15.95 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/1.192, allocations: 8 kB / 1.379 GB, free: 15.94 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/1.192, allocations: 3.984 kB / 1.379 GB, free: 15.94 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/1.192, allocations: 3.984 kB / 1.379 GB, free: 15.93 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002126/1.194, allocations: 1.538 MB / 1.381 GB, free: 14.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/1.194, allocations: 0 / 1.381 GB, free: 14.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003875/1.194, allocations: 102.8 kB / 1.381 GB, free: 14.71 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/1.194, allocations: 4 kB / 1.381 GB, free: 14.71 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-05/1.194, allocations: 11.97 kB / 1.381 GB, free: 14.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/1.194, allocations: 4 kB / 1.381 GB, free: 14.69 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/1.194, allocations: 0 / 1.381 GB, free: 14.69 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009591/1.195, allocations: 0.7694 MB / 1.382 GB, free: 14.08 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001011/1.196, allocations: 1.142 MB / 1.383 GB, free: 13.09 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.456e-05/1.196, allocations: 139.8 kB / 1.383 GB, free: 12.94 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/1.197, allocations: 23.03 kB / 1.383 GB, free: 12.92 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006183/1.197, allocations: 127.3 kB / 1.383 GB, free: 12.8 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002292/1.197, allocations: 113.1 kB / 1.383 GB, free: 12.71 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.373e-05/1.198, allocations: 46.09 kB / 1.383 GB, free: 12.68 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0003135/1.198, allocations: 295.2 kB / 1.384 GB, free: 12.46 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001182/1.199, allocations: 207.6 kB / 1.384 GB, free: 12.26 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.0002515/1.199, allocations: 177.8 kB / 1.384 GB, free: 12.09 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001175/1.2, 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.705e-06/1.2, allocations: 0 / 1.385 GB, free: 11.47 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005351/1.201, allocations: 427.5 kB / 1.385 GB, free: 11.21 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005242/1.202, allocations: 99 kB / 1.385 GB, free: 11.13 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/1.203, allocations: 0.9975 MB / 1.386 GB, free: 10.28 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006333/1.204, allocations: 1.035 MB / 1.387 GB, free: 9.223 MB / 0.823 GB Notification: Performance of SimCode: time 2.7e-07/1.204, allocations: 0 / 1.387 GB, free: 9.223 MB / 0.823 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Alarms.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Alarms.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Alarms.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Alarms.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Alarms_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Alarms_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Alarms.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Alarms.pipe 2>&1)