Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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.CoolingOnly.Subsequences.Validation.Alarms,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_Alarms",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_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.831/1.831, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.001115/0.001115, allocations: 177.3 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.191/1.191, allocations: 221.3 MB / 0.7819 GB, free: 1.332 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.0009079/0.000908, allocations: 107.5 kB / 0.9213 GB, free: 2.574 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4189/0.4199, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1901/0.6099, allocations: 142.3 MB / 1.205 GB, free: 26.04 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5221/1.132, allocations: 151.5 MB / 1.353 GB, free: 16.14 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001989/1.132, allocations: 74.44 kB / 1.353 GB, free: 16.14 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.02697/1.159, allocations: 10.15 MB / 1.363 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/1.159, allocations: 8 kB / 1.363 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002593/1.16, allocations: 83.14 kB / 1.363 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009751/1.161, allocations: 0.5314 MB / 1.364 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.104e-05/1.161, allocations: 23.61 kB / 1.364 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/1.161, allocations: 47.98 kB / 1.364 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005661/1.161, allocations: 307.7 kB / 1.364 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006421/1.162, allocations: 402.2 kB / 1.365 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/1.162, allocations: 0.5625 kB / 1.365 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.701e-05/1.162, allocations: 7.984 kB / 1.365 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/1.162, allocations: 12 kB / 1.365 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002143/1.164, allocations: 1.419 MB / 1.366 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005734/1.165, allocations: 405.6 kB / 1.366 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002358/1.165, allocations: 163.9 kB / 1.367 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/1.165, allocations: 7.938 kB / 1.367 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003973/1.166, allocations: 311 kB / 1.367 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=54): time 1.873e-06/1.166, allocations: 0 / 1.367 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of matching and sorting (n=54): time 0.0006796/1.166, allocations: 431.4 kB / 1.367 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/1.166, allocations: 63.27 kB / 1.367 GB, free: 9.953 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002826/1.167, allocations: 318.8 kB / 1.368 GB, free: 9.703 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.399e-05/1.167, allocations: 47.88 kB / 1.368 GB, free: 9.656 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/1.167, allocations: 209.8 kB / 1.368 GB, free: 9.477 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 7.447e-05/1.167, allocations: 108 kB / 1.368 GB, free: 9.395 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.682e-05/1.167, allocations: 4 kB / 1.368 GB, free: 9.391 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.554e-05/1.167, allocations: 366.9 kB / 1.368 GB, free: 9.047 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003029/1.167, allocations: 174.5 kB / 1.369 GB, free: 8.945 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003528/1.168, allocations: 336 kB / 1.369 GB, free: 8.633 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000483/1.168, allocations: 188.4 kB / 1.369 GB, free: 8.504 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/1.168, allocations: 8 kB / 1.369 GB, free: 8.496 MB / 0.8073 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001006/1.169, allocations: 0.5382 MB / 1.37 GB, free: 8.07 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/1.169, allocations: 12 kB / 1.37 GB, free: 8.059 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/1.169, allocations: 4 kB / 1.37 GB, free: 8.055 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/1.169, allocations: 8 kB / 1.37 GB, free: 8.047 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003587/1.17, allocations: 94.12 kB / 1.37 GB, free: 7.961 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/1.17, allocations: 7.938 kB / 1.37 GB, free: 7.953 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007259/1.17, allocations: 175.6 kB / 1.37 GB, free: 7.781 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.24e-05/1.17, allocations: 33.86 kB / 1.37 GB, free: 7.754 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 63 ($PRE.ala.truDel.u,$PRE.ala.truDel1.u,$PRE.ala.truDel2.u,$PRE.ala.truDel3.u,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$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.truDel3.t_next,ala.truDel2.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,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,$PRE.supFan.y,supFan.y,$PRE.damSta.y,damSta.y,ala.and3.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 2 * 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.0001373/1.171, allocations: 159.9 kB / 1.37 GB, free: 7.598 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.135e-05/1.171, allocations: 51.34 kB / 1.37 GB, free: 7.547 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.386e-05/1.171, allocations: 53.28 kB / 1.37 GB, free: 7.52 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/1.171, allocations: 4 kB / 1.37 GB, free: 7.516 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/1.171, allocations: 0 / 1.37 GB, free: 7.516 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/1.171, allocations: 0 / 1.37 GB, free: 7.516 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/1.172, allocations: 1.094 MB / 1.371 GB, free: 6.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/1.172, allocations: 0 / 1.371 GB, free: 6.68 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002332/1.172, allocations: 63.3 kB / 1.371 GB, free: 6.621 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/1.172, allocations: 4 kB / 1.371 GB, free: 6.617 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.811e-05/1.172, allocations: 11.23 kB / 1.371 GB, free: 6.609 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/1.172, allocations: 3.906 kB / 1.371 GB, free: 6.605 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.172, allocations: 4 kB / 1.371 GB, free: 6.602 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005916/1.173, allocations: 0.5459 MB / 1.372 GB, free: 6.145 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000602/1.173, allocations: 0.922 MB / 1.373 GB, free: 5.316 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.522e-05/1.174, allocations: 131.8 kB / 1.373 GB, free: 5.172 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.456e-05/1.174, allocations: 15.42 kB / 1.373 GB, free: 5.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004204/1.174, allocations: 83.17 kB / 1.373 GB, free: 5.082 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/1.174, allocations: 81.64 kB / 1.373 GB, free: 5.016 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-05/1.174, allocations: 38.59 kB / 1.373 GB, free: 4.984 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001611/1.174, allocations: 214.9 kB / 1.373 GB, free: 4.82 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0009779/1.175, allocations: 127.3 kB / 1.373 GB, free: 4.699 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 47 (ala.truDel2.u,ala.truDel.u,ala.truDel1.u,ala.truDel3.u,$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.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,supFan.y,damSta.y,ala.booToInt1.y) * Number of discrete states: 9 (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.cloDam.lesHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0001881/1.176, allocations: 153.1 kB / 1.374 GB, free: 4.547 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0006766/1.176, allocations: 0.5126 MB / 1.374 GB, free: 4.176 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/1.176, allocations: 1 kB / 1.374 GB, free: 4.176 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0003287/1.177, allocations: 284.3 kB / 1.374 GB, free: 4.004 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/1.177, allocations: 72.31 kB / 1.374 GB, free: 3.949 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/1.178, allocations: 0.6729 MB / 1.375 GB, free: 3.363 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003753/1.179, allocations: 0.9142 MB / 1.376 GB, free: 2.422 MB / 0.8073 GB Notification: Performance of SimCode: time 6.11e-07/1.179, allocations: 0 / 1.376 GB, free: 2.422 MB / 0.8073 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_Alarms_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_Alarms.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.pipe 2>&1)