Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.NaturalVentilation.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.NaturalVentilation") translateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.NaturalVentilation") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.134/2.134, allocations: 284.9 MB / 292.2 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001611/0.001611, allocations: 193.2 kB / 360.4 MB, free: 7.523 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.654/1.654, allocations: 205.2 MB / 0.6188 GB, free: 12.45 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001227/0.001226, allocations: 101.4 kB / 0.7318 GB, free: 45.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.267e-05/1.27e-05, allocations: 4 kB / 0.8502 GB, free: 3.871 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5465/0.5465, allocations: 115.2 MB / 0.9628 GB, free: 78.4 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.243/4.79, allocations: 2.073 GB / 3.036 GB, free: 27.67 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/4.79, allocations: 86.72 kB / 3.036 GB, free: 27.63 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.822/7.612, allocations: 0.6548 GB / 3.691 GB, free: 114.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.273e-05/7.612, allocations: 28.12 kB / 3.691 GB, free: 114.5 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.004532/7.617, allocations: 1.391 MB / 3.692 GB, free: 113.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/7.617, allocations: 8.031 kB / 3.692 GB, free: 113.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003757/7.621, allocations: 398 kB / 3.692 GB, free: 112.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002111/7.623, allocations: 0.8479 MB / 3.693 GB, free: 111.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.638e-05/7.623, allocations: 32 kB / 3.693 GB, free: 111.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001733/7.623, allocations: 55.91 kB / 3.693 GB, free: 111.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002113/7.625, allocations: 0.7732 MB / 3.694 GB, free: 110.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002071/7.627, allocations: 0.9068 MB / 3.695 GB, free: 110 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.807e-05/7.627, allocations: 7.938 kB / 3.695 GB, free: 110 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/7.627, allocations: 0 / 3.695 GB, free: 110 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.942e-05/7.627, allocations: 41.98 kB / 3.695 GB, free: 109.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006639/7.634, allocations: 4.51 MB / 3.699 GB, free: 105.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/7.636, allocations: 0.6278 MB / 3.7 GB, free: 104.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001079/7.637, allocations: 457.6 kB / 3.7 GB, free: 104 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006515/7.637, allocations: 0.6772 MB / 3.701 GB, free: 103.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/7.637, allocations: 43.22 kB / 3.701 GB, free: 103.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 3.367e-06/7.637, allocations: 0 / 3.701 GB, free: 103.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.002838/7.64, allocations: 0.7805 MB / 3.702 GB, free: 102.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/7.64, allocations: 56.06 kB / 3.702 GB, free: 102.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008062/7.641, allocations: 483.6 kB / 3.702 GB, free: 101.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.422e-05/7.641, allocations: 25.7 kB / 3.702 GB, free: 101.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000158/7.641, allocations: 324.1 kB / 3.703 GB, free: 101.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002248/7.642, allocations: 236.4 kB / 3.703 GB, free: 101.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.564e-05/7.642, allocations: 0 / 3.703 GB, free: 101.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001266/7.642, allocations: 390.8 kB / 3.703 GB, free: 100.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006329/7.642, allocations: 269.2 kB / 3.704 GB, free: 100.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006949/7.643, allocations: 371.2 kB / 3.704 GB, free: 100.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009393/7.644, allocations: 347.8 kB / 3.704 GB, free: 99.83 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/7.644, allocations: 4 kB / 3.704 GB, free: 99.82 MB / 0.948 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001942/7.646, allocations: 0.784 MB / 3.705 GB, free: 99.04 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/7.646, allocations: 8 kB / 3.705 GB, free: 99.03 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/7.646, allocations: 0 / 3.705 GB, free: 99.03 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/7.646, allocations: 4 kB / 3.705 GB, free: 99.02 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001338/7.647, allocations: 159.9 kB / 3.705 GB, free: 98.87 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/7.647, allocations: 4 kB / 3.705 GB, free: 98.86 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/7.649, allocations: 83.42 kB / 3.705 GB, free: 98.78 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-05/7.649, allocations: 27.98 kB / 3.705 GB, free: 98.75 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * 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.0001718/7.649, allocations: 120.8 kB / 3.706 GB, free: 98.63 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001796/7.65, allocations: 79.06 kB / 3.706 GB, free: 98.55 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002211/7.652, allocations: 0.8007 MB / 3.706 GB, free: 97.73 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/7.652, allocations: 4 kB / 3.706 GB, free: 97.73 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/7.652, allocations: 4 kB / 3.706 GB, free: 97.72 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001639/7.654, allocations: 0.8283 MB / 3.707 GB, free: 96.84 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003753/7.657, allocations: 1.785 MB / 3.709 GB, free: 95.02 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-06/7.657, allocations: 8 kB / 3.709 GB, free: 95.01 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001753/7.659, allocations: 175.8 kB / 3.709 GB, free: 94.84 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-05/7.659, allocations: 4 kB / 3.709 GB, free: 94.83 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.362e-05/7.659, allocations: 11.98 kB / 3.709 GB, free: 94.82 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/7.659, allocations: 7.938 kB / 3.709 GB, free: 94.81 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/7.659, allocations: 0 / 3.709 GB, free: 94.81 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002663/7.662, allocations: 1.313 MB / 3.71 GB, free: 93.48 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000523/7.662, allocations: 240 kB / 3.711 GB, free: 93.23 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002025/7.663, allocations: 7.984 kB / 3.711 GB, free: 93.22 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00142/7.664, allocations: 67.72 kB / 3.711 GB, free: 93.16 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/7.664, allocations: 32.61 kB / 3.711 GB, free: 93.12 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.487e-05/7.664, allocations: 31.92 kB / 3.711 GB, free: 93.09 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.000604/7.665, allocations: 379.2 kB / 3.711 GB, free: 92.73 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00139/7.666, allocations: 435.1 kB / 3.712 GB, free: 92.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 70 * 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.002325/7.669, allocations: 1.771 MB / 3.713 GB, free: 90.46 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001499/7.67, allocations: 0.6746 MB / 3.714 GB, free: 89.79 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/7.67, allocations: 4 kB / 3.714 GB, free: 89.78 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007188/7.671, allocations: 370.3 kB / 3.714 GB, free: 89.42 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003796/7.675, allocations: 458.4 kB / 3.715 GB, free: 88.98 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004433/7.679, allocations: 1.748 MB / 3.716 GB, free: 87.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001158/7.68, allocations: 1.193 MB / 3.718 GB, free: 85.98 MB / 0.948 GB Notification: Performance of SimCode: time 9.41e-07/7.68, allocations: 3.938 kB / 3.718 GB, free: 85.98 MB / 0.948 GB Notification: Performance of Templates: time 0.05822/7.739, allocations: 25.75 MB / 3.743 GB, free: 60.38 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.NaturalVentilation.makefile (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & ./Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)