Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.DualDuctColdDuctMin.Subsequences.Validation.Alarms,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Alarms",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_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.24 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.0008977/0.0008977, allocations: 178.3 kB / 490.8 MB, free: 1.945 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.157/1.157, allocations: 221.3 MB / 0.7863 GB, free: 13.68 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.0009146/0.0009146, allocations: 85.05 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4465/0.4475, allocations: 149.2 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.6364, allocations: 143 MB / 1.212 GB, free: 39.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5169/1.153, allocations: 153 MB / 1.361 GB, free: 17.24 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002106/1.154, allocations: 78.8 kB / 1.361 GB, free: 17.23 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.04131/1.195, allocations: 15.8 MB / 1.377 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/1.195, allocations: 9.25 kB / 1.377 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004308/1.195, allocations: 117.9 kB / 1.377 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001497/1.197, allocations: 0.7043 MB / 1.377 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.332e-05/1.197, allocations: 34.84 kB / 1.377 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002159/1.197, allocations: 86.2 kB / 1.378 GB, free: 31 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009753/1.198, allocations: 441.5 kB / 1.378 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/1.199, allocations: 0.5658 MB / 1.379 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/1.199, allocations: 0 / 1.379 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.09e-05/1.2, allocations: 12.19 kB / 1.379 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.958e-05/1.2, allocations: 20.47 kB / 1.379 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003488/1.203, allocations: 2.03 MB / 1.381 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009155/1.204, allocations: 0.5758 MB / 1.381 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003985/1.204, allocations: 257 kB / 1.381 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.953e-05/1.204, allocations: 9.594 kB / 1.381 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006513/1.205, allocations: 436 kB / 1.382 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=83): time 3.376e-06/1.205, allocations: 0 / 1.382 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=83): time 0.00111/1.206, allocations: 0.6332 MB / 1.382 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/1.206, allocations: 65.22 kB / 1.382 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004448/1.207, allocations: 437.8 kB / 1.383 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001112/1.207, allocations: 55.75 kB / 1.383 GB, free: 29.24 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001852/1.207, allocations: 271.8 kB / 1.383 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.000125/1.207, allocations: 177.5 kB / 1.383 GB, free: 28.94 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.615e-05/1.207, allocations: 10.22 kB / 1.383 GB, free: 28.94 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001296/1.207, allocations: 381.9 kB / 1.384 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005406/1.208, allocations: 287.2 kB / 1.384 GB, free: 28.59 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006446/1.209, allocations: 0.5161 MB / 1.385 GB, free: 28.3 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008695/1.209, allocations: 320.4 kB / 1.385 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/1.209, allocations: 2.562 kB / 1.385 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001757/1.211, allocations: 0.8763 MB / 1.386 GB, free: 28 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/1.211, allocations: 11.97 kB / 1.386 GB, free: 28 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/1.211, allocations: 6.844 kB / 1.386 GB, free: 28 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/1.211, allocations: 10.53 kB / 1.386 GB, free: 28 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005239/1.212, allocations: 138.1 kB / 1.386 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.617e-05/1.212, allocations: 18.45 kB / 1.386 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/1.213, allocations: 296.1 kB / 1.386 GB, free: 27.86 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/1.213, allocations: 47.55 kB / 1.386 GB, free: 27.85 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.0002065/1.213, allocations: 197.5 kB / 1.386 GB, free: 27.7 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/1.214, allocations: 75.38 kB / 1.386 GB, free: 27.66 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001155/1.214, allocations: 72.52 kB / 1.387 GB, free: 27.63 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.617e-06/1.214, allocations: 8.719 kB / 1.387 GB, free: 27.63 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/1.214, allocations: 4 kB / 1.387 GB, free: 27.63 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/1.214, allocations: 5.328 kB / 1.387 GB, free: 27.62 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002002/1.216, allocations: 1.535 MB / 1.388 GB, free: 27 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/1.216, allocations: 1.312 kB / 1.388 GB, free: 27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003637/1.216, allocations: 95.66 kB / 1.388 GB, free: 26.97 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/1.216, allocations: 2.75 kB / 1.388 GB, free: 26.97 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.026e-05/1.216, allocations: 26.05 kB / 1.388 GB, free: 26.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/1.216, allocations: 3.906 kB / 1.388 GB, free: 26.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/1.216, allocations: 4 kB / 1.388 GB, free: 26.95 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001047/1.217, allocations: 0.7576 MB / 1.389 GB, free: 26.68 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001124/1.218, allocations: 1.152 MB / 1.39 GB, free: 26.03 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.433e-05/1.218, allocations: 142.3 kB / 1.39 GB, free: 25.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/1.219, allocations: 27.33 kB / 1.39 GB, free: 25.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006223/1.219, allocations: 116.9 kB / 1.39 GB, free: 25.84 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002064/1.219, allocations: 119.7 kB / 1.39 GB, free: 25.79 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.353e-05/1.22, allocations: 46.25 kB / 1.39 GB, free: 25.78 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0003106/1.22, allocations: 289.7 kB / 1.391 GB, free: 25.67 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001288/1.221, allocations: 202 kB / 1.391 GB, free: 25.65 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.0002544/1.221, allocations: 173.2 kB / 1.391 GB, free: 25.54 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00119/1.223, allocations: 0.8386 MB / 1.392 GB, free: 25.36 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/1.223, allocations: 9.031 kB / 1.392 GB, free: 25.35 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0006098/1.223, allocations: 427.6 kB / 1.392 GB, free: 25.33 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005424/1.224, allocations: 90.94 kB / 1.392 GB, free: 25.31 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002057/1.226, allocations: 0.9965 MB / 1.393 GB, free: 24.92 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007484/1.227, allocations: 1.034 MB / 1.394 GB, free: 24.09 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/1.227, allocations: 1 kB / 1.394 GB, free: 24.09 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Alarms_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Alarms.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Alarms.pipe 2>&1)