Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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.CoolingOnly.Subsequences.Validation.Dampers,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_Dampers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_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.819/1.819, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.001026/0.001026, allocations: 173.4 kB / 487 MB, free: 5.359 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.229/1.229, allocations: 221.3 MB / 0.7819 GB, free: 1.324 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.0009382/0.0009384, allocations: 88.58 kB / 0.9213 GB, free: 2.566 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4408/0.4418, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.637, allocations: 142.3 MB / 1.205 GB, free: 26.05 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5213/1.158, allocations: 152.5 MB / 1.354 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/1.159, allocations: 75.34 kB / 1.354 GB, free: 15.78 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.03264/1.191, allocations: 14.61 MB / 1.369 GB, free: 8.738 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/1.191, allocations: 8 kB / 1.369 GB, free: 8.73 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001595/1.191, allocations: 126.5 kB / 1.369 GB, free: 8.605 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007638/1.192, allocations: 0.5835 MB / 1.369 GB, free: 8.102 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.331e-05/1.192, allocations: 43.75 kB / 1.369 GB, free: 8.062 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.502e-05/1.192, allocations: 67.84 kB / 1.369 GB, free: 7.996 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001033/1.193, allocations: 0.6267 MB / 1.37 GB, free: 7.617 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/1.195, allocations: 0.7791 MB / 1.371 GB, free: 7.035 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/1.195, allocations: 3.938 kB / 1.371 GB, free: 7.031 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.203e-05/1.195, allocations: 0 / 1.371 GB, free: 7.031 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.711e-05/1.195, allocations: 28 kB / 1.371 GB, free: 7.004 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003108/1.198, allocations: 2.44 MB / 1.373 GB, free: 5.184 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008741/1.199, allocations: 0.6693 MB / 1.374 GB, free: 4.695 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003266/1.199, allocations: 292.5 kB / 1.374 GB, free: 4.523 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.708e-05/1.199, allocations: 12.41 kB / 1.374 GB, free: 4.516 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004103/1.2, allocations: 362.2 kB / 1.374 GB, free: 4.254 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=77): time 1.593e-06/1.2, allocations: 0 / 1.374 GB, free: 4.254 MB / 0.8073 GB Notification: Performance of matching and sorting (n=77): time 0.0007253/1.2, allocations: 0.5026 MB / 1.375 GB, free: 3.883 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/1.2, allocations: 149 kB / 1.375 GB, free: 3.707 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003188/1.201, allocations: 413 kB / 1.375 GB, free: 3.395 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.23e-05/1.201, allocations: 25.7 kB / 1.376 GB, free: 3.363 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/1.201, allocations: 353 kB / 1.376 GB, free: 3.055 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/1.201, allocations: 206.2 kB / 1.376 GB, free: 2.879 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.851e-05/1.201, allocations: 0 / 1.376 GB, free: 2.879 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.672e-05/1.201, allocations: 373.2 kB / 1.376 GB, free: 2.531 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/1.201, allocations: 199.4 kB / 1.377 GB, free: 2.426 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003012/1.202, allocations: 282.7 kB / 1.377 GB, free: 2.227 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002692/1.202, allocations: 184.8 kB / 1.377 GB, free: 2.117 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.202, allocations: 0 / 1.377 GB, free: 2.117 MB / 0.8073 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0007013/1.203, allocations: 0.5394 MB / 1.378 GB, free: 1.723 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.46e-05/1.203, allocations: 187.2 kB / 1.378 GB, free: 1.531 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/1.203, allocations: 0 / 1.378 GB, free: 1.531 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/1.203, allocations: 4 kB / 1.378 GB, free: 1.527 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006161/1.203, allocations: 155 kB / 1.378 GB, free: 1.383 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/1.203, allocations: 8 kB / 1.378 GB, free: 1.375 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004754/1.204, allocations: 111.5 kB / 1.378 GB, free: 1.266 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.412e-05/1.204, allocations: 23.77 kB / 1.378 GB, free: 1.246 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.939e-06/1.204, allocations: 6.969 kB / 1.378 GB, free: 1.242 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006273/1.204, allocations: 447.1 kB / 1.378 GB, free: 0.9492 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-06/1.204, allocations: 4 kB / 1.378 GB, free: 0.9453 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.709e-06/1.205, allocations: 4 kB / 1.378 GB, free: 0.9414 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005559/1.205, allocations: 151.1 kB / 1.379 GB, free: 0.8008 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.377e-06/1.205, allocations: 11.98 kB / 1.379 GB, free: 0.7891 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004181/1.206, allocations: 91.62 kB / 1.379 GB, free: 0.6992 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.11e-05/1.206, allocations: 22.62 kB / 1.379 GB, free: 0.6836 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition1,dam.uZonSta,dam.oveFloSet,dam.oveDamPos,$PRE.dam.gre.greHys.y,dam.gre.greHys.y,dam.actFlo.u2,dam.forZerFlo.y,dam.forMinFlo.y,dam.cooMax.u,dam.or3.y,dam.intEqu4.y,dam.cloDam.u,dam.or2.y,$PRE.dam1.gre.greHys.y,dam1.gre.greHys.y,dam1.actFlo.u2,dam1.forZerFlo.y,dam1.forMinFlo.y,dam1.cooMax.u,dam1.or3.y,dam1.intEqu4.y,dam1.cloDam.u,dam1.or2.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * 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.0001087/1.206, allocations: 125.4 kB / 1.379 GB, free: 0.5547 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.819e-05/1.206, allocations: 59.25 kB / 1.379 GB, free: 0.4961 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000805/1.207, allocations: 0.5627 MB / 1.379 GB, free: 104 kB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/1.207, allocations: 11.91 kB / 1.379 GB, free: 92 kB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/1.207, allocations: 3.938 kB / 1.379 GB, free: 88 kB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/1.207, allocations: 7.922 kB / 1.379 GB, free: 80 kB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001796/1.208, allocations: 1.451 MB / 1.381 GB, free: 15.02 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/1.208, allocations: 0 / 1.381 GB, free: 15.02 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006484/1.209, allocations: 153.7 kB / 1.381 GB, free: 14.88 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/1.209, allocations: 0 / 1.381 GB, free: 14.88 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.316e-05/1.209, allocations: 7.984 kB / 1.381 GB, free: 14.87 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/1.209, allocations: 4 kB / 1.381 GB, free: 14.86 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/1.209, allocations: 3.906 kB / 1.381 GB, free: 14.86 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001225/1.21, allocations: 0.9971 MB / 1.382 GB, free: 14.15 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001667/1.212, allocations: 1.703 MB / 1.384 GB, free: 12.89 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.461e-05/1.212, allocations: 147 kB / 1.384 GB, free: 12.73 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.139e-05/1.212, allocations: 11.28 kB / 1.384 GB, free: 12.72 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004961/1.213, allocations: 83.97 kB / 1.384 GB, free: 12.64 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001714/1.213, allocations: 82.91 kB / 1.384 GB, free: 12.58 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.905e-05/1.213, allocations: 29.67 kB / 1.384 GB, free: 12.55 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0002416/1.213, allocations: 282.4 kB / 1.384 GB, free: 12.35 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001727/1.215, allocations: 313.7 kB / 1.385 GB, free: 12.04 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (dam1.conPID.I.y) * Number of discrete variables: 22 ($whenCondition1,dam.uZonSta,dam.oveFloSet,dam.oveDamPos,dam.gre.greHys.y,dam.actFlo.u2,dam.forZerFlo.y,dam.forMinFlo.y,dam.cooMax.u,dam.or3.y,dam.intEqu4.y,dam.cloDam.u,dam.or2.y,dam1.gre.greHys.y,dam1.actFlo.u2,dam1.forZerFlo.y,dam1.forMinFlo.y,dam1.cooMax.u,dam1.or3.y,dam1.intEqu4.y,dam1.cloDam.u,dam1.or2.y) * Number of discrete states: 2 (dam.gre.greHys.y,dam1.gre.greHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001747/1.215, allocations: 130.5 kB / 1.385 GB, free: 11.91 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001193/1.216, allocations: 0.8321 MB / 1.386 GB, free: 11.37 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/1.216, allocations: 4 kB / 1.386 GB, free: 11.36 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004313/1.217, allocations: 322.3 kB / 1.386 GB, free: 11.15 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004547/1.217, allocations: 78.11 kB / 1.386 GB, free: 11.09 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001965/1.219, allocations: 1.052 MB / 1.387 GB, free: 10.16 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007013/1.22, allocations: 1.08 MB / 1.388 GB, free: 9.051 MB / 0.823 GB Notification: Performance of SimCode: time 2.8e-07/1.22, allocations: 3.938 kB / 1.388 GB, free: 9.047 MB / 0.823 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_Dampers_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_Dampers.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.pipe 2>&1)