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.Dampers.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.Dampers,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Dampers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Dampers",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.828/1.828, allocations: 390.4 MB / 397.7 MB, free: 11.3 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.0009256/0.0009259, allocations: 183 kB / 490.8 MB, free: 1.969 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.158/1.158, allocations: 221.4 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.0008873/0.0008873, allocations: 87.3 kB / 0.9264 GB, free: 14.24 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.428/0.4289, allocations: 149.2 MB / 1.072 GB, free: 182.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.6204, allocations: 143 MB / 1.212 GB, free: 39.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5213/1.142, allocations: 153.9 MB / 1.362 GB, free: 17.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001831/1.142, allocations: 75.52 kB / 1.362 GB, free: 17.2 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: 350 * Number of variables: 350 Notification: Performance of Generate backend data structure: time 0.0557/1.198, allocations: 22.63 MB / 1.384 GB, free: 28.28 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/1.198, allocations: 12.91 kB / 1.384 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005289/1.198, allocations: 178.9 kB / 1.384 GB, free: 28.18 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001968/1.2, allocations: 0.9437 MB / 1.385 GB, free: 27.68 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.298e-05/1.2, allocations: 50.56 kB / 1.385 GB, free: 27.67 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002563/1.201, allocations: 93.59 kB / 1.385 GB, free: 27.67 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001811/1.202, allocations: 0.814 MB / 1.386 GB, free: 27.64 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001913/1.204, allocations: 1.041 MB / 1.387 GB, free: 27.4 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.701e-05/1.204, allocations: 3.906 kB / 1.387 GB, free: 27.4 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.963e-05/1.204, allocations: 1.125 kB / 1.387 GB, free: 27.4 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-05/1.204, allocations: 32.97 kB / 1.387 GB, free: 27.4 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005699/1.21, allocations: 3.433 MB / 1.391 GB, free: 25.85 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/1.212, allocations: 0.9134 MB / 1.392 GB, free: 25.58 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000491/1.212, allocations: 341.8 kB / 1.392 GB, free: 25.56 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.796e-05/1.212, allocations: 14.19 kB / 1.392 GB, free: 25.55 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005656/1.213, allocations: 450.7 kB / 1.392 GB, free: 25.39 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=94): time 2.815e-06/1.213, allocations: 288 / 1.392 GB, free: 25.39 MB / 0.8386 GB Notification: Performance of matching and sorting (n=94): time 0.001087/1.214, allocations: 0.6315 MB / 1.393 GB, free: 25.25 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/1.214, allocations: 218.7 kB / 1.393 GB, free: 25 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006333/1.215, allocations: 0.5668 MB / 1.394 GB, free: 24.82 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.688e-05/1.215, allocations: 42.73 kB / 1.394 GB, free: 24.79 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000249/1.215, allocations: 493.8 kB / 1.394 GB, free: 24.44 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/1.215, allocations: 267 kB / 1.394 GB, free: 24.25 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.474e-05/1.215, allocations: 11.27 kB / 1.394 GB, free: 24.24 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001033/1.215, allocations: 341.6 kB / 1.395 GB, free: 23.93 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005042/1.216, allocations: 304.6 kB / 1.395 GB, free: 23.92 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005873/1.216, allocations: 495.6 kB / 1.396 GB, free: 23.72 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006911/1.217, allocations: 325.7 kB / 1.396 GB, free: 23.66 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/1.217, allocations: 1.812 kB / 1.396 GB, free: 23.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001506/1.219, allocations: 0.8584 MB / 1.397 GB, free: 23.49 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001426/1.219, allocations: 461.4 kB / 1.397 GB, free: 23.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/1.219, allocations: 1.281 kB / 1.397 GB, free: 23.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/1.219, allocations: 5.125 kB / 1.397 GB, free: 23.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006969/1.22, allocations: 181 kB / 1.397 GB, free: 22.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/1.22, allocations: 9.156 kB / 1.397 GB, free: 22.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009377/1.221, allocations: 202.2 kB / 1.398 GB, free: 22.9 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.246e-05/1.221, allocations: 40.42 kB / 1.398 GB, free: 22.89 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.171e-06/1.221, allocations: 4.625 kB / 1.398 GB, free: 22.89 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001338/1.222, allocations: 0.7247 MB / 1.398 GB, free: 22.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/1.222, allocations: 1.094 kB / 1.398 GB, free: 22.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/1.222, allocations: 9.656 kB / 1.398 GB, free: 22.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006261/1.223, allocations: 164.4 kB / 1.398 GB, free: 22.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/1.223, allocations: 12.75 kB / 1.398 GB, free: 22.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008274/1.223, allocations: 183.5 kB / 1.399 GB, free: 22.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.333e-05/1.224, allocations: 38.45 kB / 1.399 GB, free: 22.68 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 34 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition6,$whenCondition5,dam.and4.y,$PRE.dam.greThr1.greHys.y,dam.greThr1.greHys.y,$PRE.dam.greThr.greHys.y,dam.greThr.greHys.y,$PRE.dam.greThr2.greHys.y,dam.greThr2.greHys.y,$PRE.dam.greThr3.greHys.y,dam.greThr3.greHys.y,dam.and1.y,dam.or1.u2,dam.booToRea1.u,dam1.and4.y,$PRE.dam1.greThr1.greHys.y,dam1.greThr1.greHys.y,$PRE.dam1.greThr.greHys.y,dam1.greThr.greHys.y,$PRE.dam1.greThr2.greHys.y,dam1.greThr2.greHys.y,$PRE.dam1.greThr3.greHys.y,dam1.greThr3.greHys.y,dam1.and1.y,dam1.or1.u2,dam1.booToRea1.u,$PRE.cooAhu.y,cooAhu.y,$PRE.heaAhu.y,heaAhu.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 114 * 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.0001854/1.224, allocations: 147.7 kB / 1.399 GB, free: 22.55 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/1.224, allocations: 89 kB / 1.399 GB, free: 22.5 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/1.225, allocations: 0.7004 MB / 1.4 GB, free: 22.34 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/1.225, allocations: 9.562 kB / 1.4 GB, free: 22.34 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.225, allocations: 1.438 kB / 1.4 GB, free: 22.34 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/1.225, allocations: 7.984 kB / 1.4 GB, free: 22.33 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002461/1.228, allocations: 1.854 MB / 1.401 GB, free: 21.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/1.228, allocations: 0.8438 kB / 1.401 GB, free: 21.63 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006826/1.228, allocations: 171.2 kB / 1.402 GB, free: 21.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.04e-05/1.228, allocations: 8.5 kB / 1.402 GB, free: 21.59 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.325e-05/1.228, allocations: 8.172 kB / 1.402 GB, free: 21.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/1.228, allocations: 4.938 kB / 1.402 GB, free: 21.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/1.228, allocations: 1.656 kB / 1.402 GB, free: 21.59 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001594/1.23, allocations: 1.222 MB / 1.403 GB, free: 21.22 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002305/1.232, allocations: 1.987 MB / 1.405 GB, free: 20.48 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/1.232, allocations: 174.4 kB / 1.405 GB, free: 20.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/1.233, allocations: 13 kB / 1.405 GB, free: 20.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006029/1.233, allocations: 85.84 kB / 1.405 GB, free: 20.29 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000205/1.233, allocations: 114.7 kB / 1.405 GB, free: 20.24 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.114e-05/1.233, allocations: 31.97 kB / 1.405 GB, free: 20.23 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0006317/1.234, allocations: 413.9 kB / 1.406 GB, free: 20.11 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002288/1.236, allocations: 465 kB / 1.406 GB, free: 19.86 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (dam1.conCooDam.I.y,dam1.conHeaDam.I.y) * Number of discrete variables: 24 ($whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,dam.and4.y,dam.greThr1.greHys.y,dam.greThr.greHys.y,dam.greThr2.greHys.y,dam.greThr3.greHys.y,dam.and1.y,dam.or1.u2,dam.booToRea1.u,dam1.and4.y,dam1.greThr1.greHys.y,dam1.greThr.greHys.y,dam1.greThr2.greHys.y,dam1.greThr3.greHys.y,dam1.and1.y,dam1.or1.u2,dam1.booToRea1.u,cooAhu.y,heaAhu.y) * Number of discrete states: 8 (dam.greThr.greHys.y,dam.greThr3.greHys.y,dam1.greThr.greHys.y,dam1.greThr3.greHys.y,dam1.greThr1.greHys.y,dam.greThr1.greHys.y,dam1.greThr2.greHys.y,dam.greThr2.greHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002114/1.237, allocations: 160.7 kB / 1.406 GB, free: 19.7 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001625/1.238, allocations: 1.324 MB / 1.407 GB, free: 18.79 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.238, allocations: 0 / 1.407 GB, free: 18.79 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004341/1.239, allocations: 371.2 kB / 1.408 GB, free: 18.54 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006978/1.239, allocations: 154.1 kB / 1.408 GB, free: 18.42 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002513/1.242, allocations: 1.474 MB / 1.409 GB, free: 17.1 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007882/1.243, allocations: 1.246 MB / 1.411 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of SimCode: time 2.31e-07/1.243, allocations: 0 / 1.411 GB, free: 15.83 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Dampers_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Dampers.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers.pipe 2>&1)