Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.DualDuctMixConInletSensor.Subsequences.Validation.Dampers,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Dampers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_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.815/1.815, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.0009151/0.0009151, allocations: 176.4 kB / 487 MB, free: 5.379 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.169/1.169, allocations: 221.3 MB / 0.7819 GB, free: 1.383 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.0008151/0.0008151, allocations: 99.88 kB / 0.9213 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4031/0.4039, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.5879, allocations: 142.3 MB / 1.205 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.512/1.1, allocations: 153.3 MB / 1.355 GB, free: 16.11 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/1.1, allocations: 79.33 kB / 1.355 GB, free: 16.1 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: 384 * Number of variables: 384 Notification: Performance of Generate backend data structure: time 0.05296/1.153, allocations: 23.88 MB / 1.378 GB, free: 0.832 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/1.153, allocations: 12 kB / 1.378 GB, free: 0.8203 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004643/1.154, allocations: 185.8 kB / 1.379 GB, free: 0.6367 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001884/1.156, allocations: 0.965 MB / 1.38 GB, free: 15.86 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.435e-05/1.156, allocations: 55.69 kB / 1.38 GB, free: 15.81 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002808/1.156, allocations: 99.91 kB / 1.38 GB, free: 15.71 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001719/1.158, allocations: 0.8924 MB / 1.381 GB, free: 15.18 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001792/1.159, allocations: 1.143 MB / 1.382 GB, free: 14.36 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.689e-05/1.16, allocations: 0 / 1.382 GB, free: 14.36 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.524e-05/1.16, allocations: 0 / 1.382 GB, free: 14.36 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.064e-05/1.16, allocations: 36 kB / 1.382 GB, free: 14.32 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00546/1.165, allocations: 3.682 MB / 1.385 GB, free: 11.62 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/1.167, allocations: 0.9797 MB / 1.386 GB, free: 10.87 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004867/1.167, allocations: 381 kB / 1.387 GB, free: 10.65 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.959e-05/1.167, allocations: 12.3 kB / 1.387 GB, free: 10.64 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006446/1.168, allocations: 486.4 kB / 1.387 GB, free: 10.29 MB / 0.823 GB Notification: Performance of pre-optimization done (n=104): time 2.154e-06/1.168, allocations: 0 / 1.387 GB, free: 10.29 MB / 0.823 GB Notification: Performance of matching and sorting (n=104): time 0.001156/1.169, allocations: 0.6863 MB / 1.388 GB, free: 9.781 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.11e-05/1.169, allocations: 234.4 kB / 1.388 GB, free: 9.508 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006219/1.17, allocations: 0.5709 MB / 1.389 GB, free: 9.086 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001047/1.17, allocations: 41.33 kB / 1.389 GB, free: 9.047 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003055/1.17, allocations: 0.5055 MB / 1.389 GB, free: 8.602 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002135/1.17, allocations: 308.9 kB / 1.389 GB, free: 8.34 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.732e-05/1.17, allocations: 7.938 kB / 1.389 GB, free: 8.332 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001113/1.171, allocations: 347.2 kB / 1.39 GB, free: 8.004 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005274/1.171, allocations: 326.7 kB / 1.39 GB, free: 7.828 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006092/1.172, allocations: 0.4974 MB / 1.391 GB, free: 7.438 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007032/1.172, allocations: 352.3 kB / 1.391 GB, free: 7.219 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/1.172, allocations: 4 kB / 1.391 GB, free: 7.215 MB / 0.823 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001523/1.174, allocations: 0.9144 MB / 1.392 GB, free: 6.543 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001774/1.174, allocations: 458.2 kB / 1.392 GB, free: 6.07 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/1.174, allocations: 0 / 1.392 GB, free: 6.07 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/1.174, allocations: 8 kB / 1.392 GB, free: 6.062 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007601/1.175, allocations: 201.5 kB / 1.392 GB, free: 5.875 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/1.175, allocations: 11.94 kB / 1.392 GB, free: 5.863 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009656/1.176, allocations: 207.1 kB / 1.393 GB, free: 5.66 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.561e-05/1.176, allocations: 42.98 kB / 1.393 GB, free: 5.625 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.751e-06/1.176, allocations: 4 kB / 1.393 GB, free: 5.621 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001391/1.177, allocations: 0.7798 MB / 1.393 GB, free: 5.086 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/1.177, allocations: 4.125 kB / 1.393 GB, free: 5.082 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.676e-06/1.177, allocations: 8 kB / 1.393 GB, free: 5.074 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006878/1.178, allocations: 179.8 kB / 1.394 GB, free: 4.906 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/1.178, allocations: 8 kB / 1.394 GB, free: 4.898 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008423/1.179, allocations: 183.8 kB / 1.394 GB, free: 4.719 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/1.179, allocations: 41.11 kB / 1.394 GB, free: 4.688 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,dam.not1.y,$PRE.dam.greThr3.greHys.y,dam.greThr3.greHys.y,dam.and1.y,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,dam1.not1.y,$PRE.dam1.greThr3.greHys.y,dam1.greThr3.greHys.y,dam1.and1.y,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 (126): * Single equations (assignments): 124 * 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.0001875/1.179, allocations: 143 kB / 1.394 GB, free: 4.547 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/1.179, allocations: 98.77 kB / 1.394 GB, free: 4.449 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001183/1.181, allocations: 0.7675 MB / 1.395 GB, free: 3.914 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/1.181, allocations: 11.91 kB / 1.395 GB, free: 3.902 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/1.181, allocations: 0 / 1.395 GB, free: 3.902 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/1.181, allocations: 7.984 kB / 1.395 GB, free: 3.895 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002459/1.183, allocations: 1.978 MB / 1.397 GB, free: 2.504 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/1.183, allocations: 4 kB / 1.397 GB, free: 2.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007044/1.184, allocations: 183.2 kB / 1.397 GB, free: 2.328 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/1.184, allocations: 4 kB / 1.397 GB, free: 2.324 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.079e-05/1.184, allocations: 11.11 kB / 1.397 GB, free: 2.316 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/1.184, allocations: 7.984 kB / 1.397 GB, free: 2.309 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/1.184, allocations: 7.938 kB / 1.397 GB, free: 2.301 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001592/1.186, allocations: 1.317 MB / 1.398 GB, free: 1.348 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002156/1.188, allocations: 2.134 MB / 1.4 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/1.188, allocations: 178.5 kB / 1.401 GB, free: 15.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/1.188, allocations: 23.64 kB / 1.401 GB, free: 15.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006154/1.189, allocations: 83.55 kB / 1.401 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001904/1.189, allocations: 118 kB / 1.401 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.554e-05/1.189, allocations: 31.61 kB / 1.401 GB, free: 15.38 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0004587/1.189, allocations: 421.7 kB / 1.401 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002159/1.192, allocations: 496.7 kB / 1.402 GB, free: 14.61 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.not1.y,dam.greThr3.greHys.y,dam.and1.y,dam.booToRea1.u,dam1.and4.y,dam1.greThr1.greHys.y,dam1.greThr.greHys.y,dam1.greThr2.greHys.y,dam1.not1.y,dam1.greThr3.greHys.y,dam1.and1.y,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 (108): * Single equations (assignments): 106 * 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.0002255/1.192, allocations: 152.7 kB / 1.402 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001869/1.194, allocations: 1.425 MB / 1.403 GB, free: 13.48 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.194, allocations: 0 / 1.403 GB, free: 13.48 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0005166/1.194, allocations: 410.3 kB / 1.404 GB, free: 13.21 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000737/1.195, allocations: 169.2 kB / 1.404 GB, free: 13.07 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002976/1.198, allocations: 1.587 MB / 1.405 GB, free: 11.65 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009584/1.199, allocations: 1.273 MB / 1.407 GB, free: 10.36 MB / 0.8386 GB Notification: Performance of SimCode: time 3.4e-07/1.199, allocations: 0 / 1.407 GB, free: 10.36 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Dampers_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Dampers.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.pipe 2>&1)