Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers.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.DualDuctColdDuctMin.Subsequences.Validation.Dampers,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.822/1.822, allocations: 387.2 MB / 394.5 MB, free: 13.61 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.0009496/0.0009496, allocations: 185.3 kB / 487 MB, free: 5.348 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.152/1.152, allocations: 221.3 MB / 0.7819 GB, free: 1.375 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.0008633/0.0008633, allocations: 88.69 kB / 0.9213 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4329/0.4338, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.6314, allocations: 142.3 MB / 1.205 GB, free: 26.05 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5109/1.142, allocations: 153.2 MB / 1.355 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001904/1.143, allocations: 75.14 kB / 1.355 GB, free: 15.98 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: 350 * Number of variables: 350 Notification: Performance of Generate backend data structure: time 0.0491/1.192, allocations: 22.63 MB / 1.377 GB, free: 1.691 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.8e-05/1.192, allocations: 8 kB / 1.377 GB, free: 1.684 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002058/1.192, allocations: 173.9 kB / 1.377 GB, free: 1.512 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/1.193, allocations: 0.9497 MB / 1.378 GB, free: 0.7461 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.456e-05/1.193, allocations: 47.94 kB / 1.378 GB, free: 0.7031 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/1.194, allocations: 92 kB / 1.378 GB, free: 0.6133 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001236/1.195, allocations: 0.811 MB / 1.379 GB, free: 136 kB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00161/1.196, allocations: 1.052 MB / 1.38 GB, free: 15.36 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/1.196, allocations: 3.938 kB / 1.38 GB, free: 15.36 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.47e-05/1.197, allocations: 0 / 1.38 GB, free: 15.36 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.442e-05/1.197, allocations: 32 kB / 1.38 GB, free: 15.33 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004866/1.201, allocations: 3.438 MB / 1.384 GB, free: 12.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001354/1.203, allocations: 0.9056 MB / 1.384 GB, free: 12.1 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004444/1.203, allocations: 340.1 kB / 1.385 GB, free: 11.9 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.33e-05/1.203, allocations: 19.94 kB / 1.385 GB, free: 11.89 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005746/1.204, allocations: 446.5 kB / 1.385 GB, free: 11.56 MB / 0.823 GB Notification: Performance of pre-optimization done (n=94): time 2.184e-06/1.204, allocations: 0 / 1.385 GB, free: 11.56 MB / 0.823 GB Notification: Performance of matching and sorting (n=94): time 0.00103/1.205, allocations: 0.6277 MB / 1.386 GB, free: 11.09 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.347e-05/1.205, allocations: 221.3 kB / 1.386 GB, free: 10.83 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006126/1.206, allocations: 0.5674 MB / 1.387 GB, free: 10.41 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 8.895e-05/1.206, allocations: 39.77 kB / 1.387 GB, free: 10.37 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003058/1.206, allocations: 492.3 kB / 1.387 GB, free: 9.949 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002/1.206, allocations: 281.2 kB / 1.387 GB, free: 9.711 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.252e-05/1.206, allocations: 0 / 1.387 GB, free: 9.711 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001185/1.206, allocations: 340 kB / 1.388 GB, free: 9.387 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000496/1.207, allocations: 306.4 kB / 1.388 GB, free: 9.223 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006039/1.208, allocations: 490.8 kB / 1.388 GB, free: 8.836 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000682/1.208, allocations: 327.2 kB / 1.389 GB, free: 8.629 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.208, allocations: 0 / 1.389 GB, free: 8.629 MB / 0.823 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.00148/1.21, allocations: 0.8627 MB / 1.39 GB, free: 7.996 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001524/1.21, allocations: 457.3 kB / 1.39 GB, free: 7.527 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/1.21, allocations: 3.984 kB / 1.39 GB, free: 7.523 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/1.21, allocations: 12 kB / 1.39 GB, free: 7.512 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007041/1.211, allocations: 182.7 kB / 1.39 GB, free: 7.34 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/1.211, allocations: 15.84 kB / 1.39 GB, free: 7.324 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009516/1.212, allocations: 199.3 kB / 1.39 GB, free: 7.129 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.268e-05/1.212, allocations: 39.42 kB / 1.39 GB, free: 7.098 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.741e-06/1.212, allocations: 4 kB / 1.39 GB, free: 7.094 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001319/1.213, allocations: 0.7203 MB / 1.391 GB, free: 6.602 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/1.213, allocations: 4 kB / 1.391 GB, free: 6.598 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/1.213, allocations: 7.984 kB / 1.391 GB, free: 6.59 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000628/1.214, allocations: 166.9 kB / 1.391 GB, free: 6.434 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/1.214, allocations: 4 kB / 1.391 GB, free: 6.43 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008519/1.215, allocations: 183.4 kB / 1.392 GB, free: 6.25 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-05/1.215, allocations: 49.77 kB / 1.392 GB, free: 6.211 MB / 0.823 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.0001819/1.215, allocations: 134.8 kB / 1.392 GB, free: 6.074 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/1.215, allocations: 98.86 kB / 1.392 GB, free: 5.977 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001116/1.216, allocations: 0.6944 MB / 1.392 GB, free: 5.492 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/1.216, allocations: 8 kB / 1.392 GB, free: 5.484 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/1.216, allocations: 3.938 kB / 1.392 GB, free: 5.48 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/1.216, allocations: 15.88 kB / 1.392 GB, free: 5.465 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002399/1.219, allocations: 1.844 MB / 1.394 GB, free: 4.168 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/1.219, allocations: 4 kB / 1.394 GB, free: 4.164 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006627/1.219, allocations: 166 kB / 1.394 GB, free: 4.008 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/1.219, allocations: 4 kB / 1.394 GB, free: 4.004 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.182e-05/1.219, allocations: 11.23 kB / 1.394 GB, free: 3.996 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.648e-06/1.219, allocations: 4 kB / 1.394 GB, free: 3.992 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/1.219, allocations: 3.938 kB / 1.394 GB, free: 3.988 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001559/1.221, allocations: 1.227 MB / 1.396 GB, free: 3.09 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002102/1.223, allocations: 1.982 MB / 1.398 GB, free: 1.617 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/1.223, allocations: 174.5 kB / 1.398 GB, free: 1.438 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/1.223, allocations: 14.25 kB / 1.398 GB, free: 1.43 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006136/1.224, allocations: 87.97 kB / 1.398 GB, free: 1.344 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001992/1.224, allocations: 108.8 kB / 1.398 GB, free: 1.254 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.672e-05/1.224, allocations: 30.42 kB / 1.398 GB, free: 1.23 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0004291/1.225, allocations: 419.4 kB / 1.398 GB, free: 0.9375 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002188/1.227, allocations: 464.2 kB / 1.399 GB, free: 500 kB / 0.823 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.0002411/1.227, allocations: 164.5 kB / 1.399 GB, free: 336 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001838/1.229, allocations: 1.33 MB / 1.4 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/1.229, allocations: 4.062 kB / 1.4 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000499/1.229, allocations: 368.8 kB / 1.401 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007476/1.23, allocations: 143.8 kB / 1.401 GB, free: 15.05 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002742/1.233, allocations: 1.479 MB / 1.402 GB, free: 13.73 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009964/1.234, allocations: 1.238 MB / 1.403 GB, free: 12.47 MB / 0.8386 GB Notification: Performance of SimCode: time 1.393e-06/1.234, allocations: 0 / 1.403 GB, free: 12.47 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Dampers_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Dampers.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers.pipe 2>&1)