Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Alarms",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_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.76/1.76, allocations: 387.2 MB / 394.5 MB, free: 13.34 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009585/0.0009585, allocations: 183.5 kB / 487 MB, free: 0.7344 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.13/1.13, allocations: 221.3 MB / 0.7819 GB, free: 6.766 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00081/0.0008099, allocations: 101.3 kB / 0.9213 GB, free: 43.68 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.2291/0.2299, allocations: 148.5 MB / 1.066 GB, free: 7.434 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5259/0.7558, allocations: 142.3 MB / 1.205 GB, free: 72.89 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.155/0.9109, allocations: 151.8 MB / 1.354 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000207/0.9112, allocations: 79.92 kB / 1.354 GB, free: 11.46 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.03519/0.9464, allocations: 13.63 MB / 1.367 GB, free: 13.81 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.9464, allocations: 8 kB / 1.367 GB, free: 13.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001642/0.9466, allocations: 99.98 kB / 1.367 GB, free: 13.71 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.9477, allocations: 0.6229 MB / 1.368 GB, free: 13.04 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.601e-05/0.9477, allocations: 22.72 kB / 1.368 GB, free: 13.02 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.9478, allocations: 63.98 kB / 1.368 GB, free: 12.96 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006178/0.9485, allocations: 346.6 kB / 1.368 GB, free: 12.62 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007394/0.9492, allocations: 451.9 kB / 1.368 GB, free: 12.17 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.9492, allocations: 0 / 1.368 GB, free: 12.17 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.899e-05/0.9493, allocations: 7.984 kB / 1.369 GB, free: 12.16 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.9493, allocations: 19.91 kB / 1.369 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002649/0.952, allocations: 1.668 MB / 1.37 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006479/0.9526, allocations: 450.8 kB / 1.371 GB, free: 9.988 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000281/0.9529, allocations: 189.5 kB / 1.371 GB, free: 9.801 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.953, allocations: 4.375 kB / 1.371 GB, free: 9.797 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004775/0.9534, allocations: 346.6 kB / 1.371 GB, free: 9.445 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=65): time 1.783e-06/0.9534, allocations: 0 / 1.371 GB, free: 9.445 MB / 0.8698 GB Notification: Performance of matching and sorting (n=65): time 0.0008082/0.9543, allocations: 0.4915 MB / 1.372 GB, free: 8.949 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.9543, allocations: 67.97 kB / 1.372 GB, free: 8.871 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003443/0.9547, allocations: 368.8 kB / 1.372 GB, free: 8.504 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.93e-05/0.9547, allocations: 53.62 kB / 1.372 GB, free: 8.445 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.9549, allocations: 236.8 kB / 1.372 GB, free: 8.207 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.955, allocations: 138.2 kB / 1.372 GB, free: 8.07 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.649e-05/0.9551, allocations: 8 kB / 1.372 GB, free: 8.062 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.9552, allocations: 370.8 kB / 1.373 GB, free: 7.691 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004331/0.9557, allocations: 237.5 kB / 1.373 GB, free: 7.461 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005582/0.9562, allocations: 438.5 kB / 1.373 GB, free: 6.949 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007325/0.957, allocations: 274.6 kB / 1.374 GB, free: 6.68 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.957, allocations: 3.938 kB / 1.374 GB, free: 6.676 MB / 0.8698 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001461/0.9584, allocations: 0.7331 MB / 1.374 GB, free: 5.934 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.9585, allocations: 8.094 kB / 1.374 GB, free: 5.926 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.9585, allocations: 8 kB / 1.374 GB, free: 5.918 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.9585, allocations: 8 kB / 1.374 GB, free: 5.91 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000406/0.9589, allocations: 118 kB / 1.375 GB, free: 5.797 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.9589, allocations: 8 kB / 1.375 GB, free: 5.789 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/0.96, allocations: 264.2 kB / 1.375 GB, free: 5.531 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.389e-05/0.9601, allocations: 43.98 kB / 1.375 GB, free: 5.488 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 74 ($PRE.ala.truDel.u,$PRE.ala.truDel1.u,$PRE.ala.truDel6.u,$PRE.ala.truDel7.u,$whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition10,$PRE.ala.truDel7.t_next,$whenCondition7,$PRE.ala.truDel6.t_next,$whenCondition4,$PRE.ala.truDel1.t_next,$whenCondition1,$PRE.ala.truDel.t_next,ala.truDel7.t_next,ala.truDel6.t_next,ala.truDel1.t_next,ala.truDel.t_next,$whenCondition11,$whenCondition12,$whenCondition8,$whenCondition9,$whenCondition5,$whenCondition6,$whenCondition2,$whenCondition3,ala.yLowFloAla,ala.yFloSenAla,ala.yLeaDamAla,$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,$PRE.ala.cloDam.lesHys.y,ala.cloDam.lesHys.y,$PRE.ala.cloDam1.lesHys.y,ala.cloDam1.lesHys.y,$PRE.ala.gre3.greHys.y,ala.gre3.greHys.y,ala.assMes6.u,ala.truDel6.u,ala.truDel6.y,ala.truDel7.u,ala.truDel7.y,ala.cloBotDam.y,ala.booToInt7.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 (89): * Single equations (assignments): 85 * 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.0001777/0.9603, allocations: 169.9 kB / 1.375 GB, free: 5.312 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.616e-05/0.9604, allocations: 63.33 kB / 1.375 GB, free: 5.25 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.9605, allocations: 53.39 kB / 1.375 GB, free: 5.195 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.9605, allocations: 8 kB / 1.375 GB, free: 5.188 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.9605, allocations: 7.984 kB / 1.375 GB, free: 5.18 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.9605, allocations: 3.984 kB / 1.375 GB, free: 5.176 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001572/0.9621, allocations: 1.228 MB / 1.376 GB, free: 3.898 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.9621, allocations: 0 / 1.376 GB, free: 3.898 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003045/0.9624, allocations: 85.53 kB / 1.376 GB, free: 3.816 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.9624, allocations: 4 kB / 1.376 GB, free: 3.812 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.431e-05/0.9625, allocations: 11.98 kB / 1.376 GB, free: 3.801 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.9625, allocations: 4 kB / 1.376 GB, free: 3.797 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.9625, allocations: 0 / 1.376 GB, free: 3.797 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007861/0.9633, allocations: 0.6167 MB / 1.377 GB, free: 3.152 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008433/0.9641, allocations: 0.9961 MB / 1.378 GB, free: 2.129 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.188e-05/0.9642, allocations: 132.3 kB / 1.378 GB, free: 1.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.786e-05/0.9643, allocations: 15.98 kB / 1.378 GB, free: 1.965 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004997/0.9648, allocations: 99.89 kB / 1.378 GB, free: 1.867 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001743/0.965, allocations: 96.48 kB / 1.378 GB, free: 1.773 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.465e-05/0.9651, allocations: 31.98 kB / 1.378 GB, free: 1.742 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0002232/0.9653, allocations: 248.6 kB / 1.379 GB, free: 1.508 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001043/0.9664, allocations: 175.7 kB / 1.379 GB, free: 1.336 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 55 (ala.truDel6.u,ala.truDel.u,ala.truDel1.u,ala.truDel7.u,$whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition1,$whenCondition2,$whenCondition3,ala.yLowFloAla,ala.yFloSenAla,ala.yLeaDamAla,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.cloDam.lesHys.y,ala.cloDam1.lesHys.y,ala.gre3.greHys.y,ala.assMes6.u,ala.truDel6.y,ala.truDel6.t_next,ala.truDel7.y,ala.truDel7.t_next,ala.cloBotDam.y,ala.booToInt7.u,supCooFan.y,colDammSta.y,supHeaFan.y,heaDammSta.y,ala.booToInt1.y) * Number of discrete states: 10 (ala.truDel7.t_next,ala.truDel6.t_next,ala.truDel1.t_next,ala.truDel.t_next,ala.greThr.greHys.y,ala.gre3.greHys.y,ala.gre.greHys.y,ala.les.lesHys.y,ala.cloDam1.lesHys.y,ala.cloDam.lesHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.0002082/0.9666, allocations: 151.1 kB / 1.379 GB, free: 1.184 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001007/0.9676, allocations: 0.6965 MB / 1.38 GB, free: 472 kB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.9676, allocations: 1.25 kB / 1.38 GB, free: 472 kB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004233/0.968, allocations: 322.4 kB / 1.38 GB, free: 148 kB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004505/0.9685, allocations: 78.48 kB / 1.38 GB, free: 72 kB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.9701, allocations: 0.8014 MB / 1.381 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006097/0.9707, allocations: 0.9635 MB / 1.382 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of SimCode: time 2.81e-07/0.9707, allocations: 3.938 kB / 1.382 GB, free: 14.25 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Alarms_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Alarms.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Alarms.pipe 2>&1)