Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea",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 8.0.0/package.mo): time 2.441/2.441, allocations: 284.8 MB / 292.1 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001583/0.001582, allocations: 189.2 kB / 360.3 MB, free: 7.531 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.77/1.77, allocations: 205.1 MB / 0.6187 GB, free: 13.19 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001999/0.001999, allocations: 89.31 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2808/0.2829, allocations: 121.4 MB / 0.8502 GB, free: 3.922 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6642/0.9471, allocations: 115.2 MB / 0.9627 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.75/5.697, allocations: 2.074 GB / 3.036 GB, free: 272.4 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/5.697, allocations: 88.47 kB / 3.037 GB, free: 272.4 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 1.941/7.638, allocations: 468.8 MB / 3.494 GB, free: 231.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/7.638, allocations: 10.38 kB / 3.494 GB, free: 231.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003196/7.642, allocations: 331.2 kB / 3.495 GB, free: 231.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002178/7.644, allocations: 0.7721 MB / 3.495 GB, free: 231.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.331e-05/7.644, allocations: 20.47 kB / 3.496 GB, free: 231.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/7.644, allocations: 42.98 kB / 3.496 GB, free: 231.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001571/7.646, allocations: 0.5429 MB / 3.496 GB, free: 231.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/7.647, allocations: 0.6592 MB / 3.497 GB, free: 230.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.12e-05/7.647, allocations: 5.844 kB / 3.497 GB, free: 230.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.15e-05/7.647, allocations: 0 / 3.497 GB, free: 230.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.413e-05/7.648, allocations: 23.56 kB / 3.497 GB, free: 230.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005553/7.653, allocations: 3.295 MB / 3.5 GB, free: 228.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0012/7.654, allocations: 469.6 kB / 3.5 GB, free: 228.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005585/7.655, allocations: 250.7 kB / 3.501 GB, free: 228.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007145/7.656, allocations: 0.6774 MB / 3.501 GB, free: 227.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/7.656, allocations: 41.52 kB / 3.501 GB, free: 227.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=51): time 2.745e-06/7.656, allocations: 6.188 kB / 3.501 GB, free: 227.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=51): time 0.002032/7.658, allocations: 0.5223 MB / 3.502 GB, free: 227.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/7.658, allocations: 54.81 kB / 3.502 GB, free: 227.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008429/7.659, allocations: 456.3 kB / 3.502 GB, free: 226.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.706e-05/7.659, allocations: 28.7 kB / 3.502 GB, free: 226.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/7.659, allocations: 290.4 kB / 3.503 GB, free: 226.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001965/7.659, allocations: 173 kB / 3.503 GB, free: 226.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-05/7.659, allocations: 2.656 kB / 3.503 GB, free: 226.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000127/7.659, allocations: 375.1 kB / 3.503 GB, free: 226.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004413/7.66, allocations: 182.8 kB / 3.503 GB, free: 226.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004967/7.66, allocations: 262.2 kB / 3.504 GB, free: 226 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005642/7.661, allocations: 217.4 kB / 3.504 GB, free: 225.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/7.661, allocations: 0 / 3.504 GB, free: 225.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001348/7.662, allocations: 0.5396 MB / 3.504 GB, free: 225.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.186e-05/7.662, allocations: 8.625 kB / 3.504 GB, free: 225.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/7.662, allocations: 0 / 3.504 GB, free: 225.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/7.662, allocations: 3.125 kB / 3.504 GB, free: 225.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/7.663, allocations: 118.3 kB / 3.504 GB, free: 225.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/7.663, allocations: 8.078 kB / 3.504 GB, free: 225.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/7.665, allocations: 69.5 kB / 3.505 GB, free: 225.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.232e-05/7.665, allocations: 18.97 kB / 3.505 GB, free: 225.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * 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.000155/7.665, allocations: 111.9 kB / 3.505 GB, free: 225.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001633/7.665, allocations: 69.06 kB / 3.505 GB, free: 225.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001408/7.667, allocations: 0.5229 MB / 3.505 GB, free: 225.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.869e-06/7.667, allocations: 6.562 kB / 3.505 GB, free: 225.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/7.667, allocations: 4 kB / 3.505 GB, free: 225.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001059/7.668, allocations: 0.7363 MB / 3.506 GB, free: 224.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003283/7.671, allocations: 1.374 MB / 3.507 GB, free: 224 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/7.671, allocations: 1.062 kB / 3.507 GB, free: 224 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001431/7.673, allocations: 147.3 kB / 3.507 GB, free: 224 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.175e-05/7.673, allocations: 2.75 kB / 3.507 GB, free: 224 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.384e-05/7.673, allocations: 6.75 kB / 3.507 GB, free: 224 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.202e-06/7.673, allocations: 6.562 kB / 3.507 GB, free: 224 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/7.673, allocations: 1.375 kB / 3.507 GB, free: 224 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001946/7.675, allocations: 0.9379 MB / 3.508 GB, free: 223.5 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002761/7.677, allocations: 1.666 MB / 3.51 GB, free: 222.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005657/7.678, allocations: 205.8 kB / 3.51 GB, free: 222.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001739/7.678, allocations: 8.891 kB / 3.51 GB, free: 222.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001278/7.679, allocations: 53.2 kB / 3.51 GB, free: 222.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/7.68, allocations: 27.64 kB / 3.51 GB, free: 222.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.513e-05/7.68, allocations: 21.11 kB / 3.51 GB, free: 222.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0006245/7.68, allocations: 355.1 kB / 3.511 GB, free: 222 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00269/7.683, allocations: 490.9 kB / 3.511 GB, free: 221.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],volB.dynBal.U,volB.dynBal.m,volB.dynBal.mXi[1],cra.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 51 * 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.002181/7.685, allocations: 1.382 MB / 3.512 GB, free: 221.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001203/7.686, allocations: 455.7 kB / 3.513 GB, free: 221 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/7.686, allocations: 0 / 3.513 GB, free: 221 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005103/7.687, allocations: 236.6 kB / 3.513 GB, free: 220.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003644/7.691, allocations: 421.7 kB / 3.514 GB, free: 220.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003866/7.695, allocations: 1.433 MB / 3.515 GB, free: 219.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001058/7.696, allocations: 1.125 MB / 3.516 GB, free: 219 MB / 0.948 GB Notification: Performance of SimCode: time 1.663e-06/7.696, allocations: 0 / 3.516 GB, free: 219 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea.fmu > Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe 2>&1)