Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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.CoolingOnly.Subsequences.Validation.Alarms,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 1.816/1.816, allocations: 390.4 MB / 397.7 MB, free: 11.29 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.0009242/0.0009242, allocations: 181.2 kB / 490.8 MB, free: 1.949 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.144/1.144, allocations: 221.3 MB / 0.7863 GB, free: 13.69 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.0008779/0.000878, allocations: 92.19 kB / 0.9264 GB, free: 14.22 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4452/0.4461, allocations: 149.2 MB / 1.072 GB, free: 182.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.645, allocations: 143 MB / 1.212 GB, free: 39.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5089/1.154, allocations: 152.3 MB / 1.36 GB, free: 17.13 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002002/1.154, allocations: 73.88 kB / 1.36 GB, free: 17.13 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.02647/1.181, allocations: 10.15 MB / 1.37 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/1.181, allocations: 9.172 kB / 1.37 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003356/1.181, allocations: 79.83 kB / 1.37 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/1.182, allocations: 0.5321 MB / 1.371 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.974e-05/1.182, allocations: 20.08 kB / 1.371 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001601/1.183, allocations: 48.66 kB / 1.371 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006763/1.183, allocations: 307.6 kB / 1.371 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007717/1.184, allocations: 392.6 kB / 1.372 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/1.184, allocations: 5.453 kB / 1.372 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.32e-05/1.184, allocations: 15.16 kB / 1.372 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/1.184, allocations: 10.38 kB / 1.372 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002581/1.187, allocations: 1.416 MB / 1.373 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000638/1.187, allocations: 408.3 kB / 1.374 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002611/1.188, allocations: 166.3 kB / 1.374 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/1.188, allocations: 4.188 kB / 1.374 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004786/1.188, allocations: 311 kB / 1.374 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=54): time 2.665e-06/1.188, allocations: 0 / 1.374 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of matching and sorting (n=54): time 0.0007909/1.189, allocations: 432.3 kB / 1.374 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.436e-05/1.189, allocations: 57.33 kB / 1.374 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003593/1.189, allocations: 318.2 kB / 1.375 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.214e-05/1.19, allocations: 43.14 kB / 1.375 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/1.19, allocations: 215.3 kB / 1.375 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.132e-05/1.19, allocations: 115.6 kB / 1.375 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.092e-05/1.19, allocations: 3.781 kB / 1.375 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001378/1.19, allocations: 360.1 kB / 1.375 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003592/1.19, allocations: 176.1 kB / 1.376 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004102/1.191, allocations: 335.4 kB / 1.376 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006057/1.191, allocations: 190.2 kB / 1.376 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/1.191, allocations: 1.031 kB / 1.376 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001334/1.193, allocations: 0.5504 MB / 1.377 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/1.193, allocations: 5.688 kB / 1.377 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/1.193, allocations: 7.312 kB / 1.377 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/1.193, allocations: 11.61 kB / 1.377 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003667/1.193, allocations: 90.06 kB / 1.377 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/1.193, allocations: 11.44 kB / 1.377 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008435/1.194, allocations: 179.5 kB / 1.377 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.712e-05/1.194, allocations: 27.89 kB / 1.377 GB, free: 30.04 MB / 0.8386 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.0001893/1.194, allocations: 154.9 kB / 1.377 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.756e-05/1.194, allocations: 60.52 kB / 1.377 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/1.195, allocations: 47.78 kB / 1.377 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/1.195, allocations: 5.031 kB / 1.377 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/1.195, allocations: 0 / 1.377 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/1.195, allocations: 3.625 kB / 1.377 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/1.196, allocations: 1.096 MB / 1.378 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/1.196, allocations: 0.9375 kB / 1.378 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002564/1.196, allocations: 62.44 kB / 1.378 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.243e-06/1.196, allocations: 1.656 kB / 1.378 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.699e-05/1.197, allocations: 13.92 kB / 1.378 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/1.197, allocations: 5.969 kB / 1.378 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/1.197, allocations: 5.391 kB / 1.378 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007447/1.197, allocations: 0.5471 MB / 1.379 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008395/1.198, allocations: 0.9254 MB / 1.38 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.894e-05/1.198, allocations: 126.6 kB / 1.38 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.529e-05/1.198, allocations: 12.95 kB / 1.38 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004626/1.199, allocations: 81.56 kB / 1.38 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001699/1.199, allocations: 79.59 kB / 1.38 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.79e-05/1.199, allocations: 32.03 kB / 1.38 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0002272/1.199, allocations: 216.8 kB / 1.38 GB, free: 28.58 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001168/1.2, allocations: 135.8 kB / 1.38 GB, free: 28.56 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: 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.0002463/1.201, allocations: 149.4 kB / 1.381 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008451/1.202, allocations: 0.5195 MB / 1.381 GB, free: 28.37 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.202, allocations: 1.125 kB / 1.381 GB, free: 28.37 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004042/1.202, allocations: 281.5 kB / 1.381 GB, free: 28.36 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/1.202, allocations: 60.12 kB / 1.381 GB, free: 28.34 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/1.204, allocations: 0.6833 MB / 1.382 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006552/1.205, allocations: 0.9186 MB / 1.383 GB, free: 27.4 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.205, allocations: 1 kB / 1.383 GB, free: 27.4 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_Alarms_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_Alarms.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Alarms.pipe 2>&1)