Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation") translateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.389/1.389, allocations: 289.8 MB / 297.1 MB, free: 9.074 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.001037/0.001038, allocations: 184.7 kB / 366.3 MB, free: 11.34 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.051/1.051, allocations: 205.1 MB / 0.6256 GB, free: 11.38 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007804/0.0007804, allocations: 87.31 kB / 0.7396 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.35e-06/5.38e-06, allocations: 0 / 0.859 GB, free: 148.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1491, allocations: 116.3 MB / 0.9726 GB, free: 31.73 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.11/3.26, allocations: 2.074 GB / 3.047 GB, free: 247.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/3.26, allocations: 87.95 kB / 3.047 GB, free: 247.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.811/5.07, allocations: 0.6548 GB / 3.702 GB, free: 190.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.298e-05/5.071, allocations: 33.22 kB / 3.702 GB, free: 190.3 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.002703/5.073, allocations: 1.389 MB / 3.703 GB, free: 189.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/5.073, allocations: 11.38 kB / 3.703 GB, free: 189.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002236/5.076, allocations: 398.8 kB / 3.703 GB, free: 189.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00122/5.077, allocations: 0.8483 MB / 3.704 GB, free: 189.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.67e-05/5.077, allocations: 28.84 kB / 3.704 GB, free: 189.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/5.077, allocations: 55.16 kB / 3.704 GB, free: 189.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001082/5.078, allocations: 0.7745 MB / 3.705 GB, free: 189.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/5.079, allocations: 0.9227 MB / 3.706 GB, free: 189.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/5.079, allocations: 0 / 3.706 GB, free: 189.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.039e-05/5.079, allocations: 3 kB / 3.706 GB, free: 189.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-05/5.079, allocations: 35.78 kB / 3.706 GB, free: 189.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003685/5.083, allocations: 4.498 MB / 3.71 GB, free: 186.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008167/5.084, allocations: 0.638 MB / 3.711 GB, free: 186.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000561/5.084, allocations: 455.3 kB / 3.711 GB, free: 186.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003906/5.085, allocations: 0.6759 MB / 3.712 GB, free: 186 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/5.085, allocations: 40.47 kB / 3.712 GB, free: 185.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 1.674e-06/5.085, allocations: 0 / 3.712 GB, free: 185.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.001573/5.086, allocations: 0.7779 MB / 3.713 GB, free: 185.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.775e-05/5.087, allocations: 58.5 kB / 3.713 GB, free: 185.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004447/5.087, allocations: 485.5 kB / 3.713 GB, free: 185.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.728e-05/5.087, allocations: 28.89 kB / 3.713 GB, free: 185.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/5.087, allocations: 326.5 kB / 3.714 GB, free: 185.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001493/5.087, allocations: 239.6 kB / 3.714 GB, free: 185.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.348e-05/5.087, allocations: 3.312 kB / 3.714 GB, free: 185.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.613e-05/5.087, allocations: 380.6 kB / 3.714 GB, free: 185 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003333/5.088, allocations: 274.6 kB / 3.715 GB, free: 185 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003626/5.088, allocations: 367.8 kB / 3.715 GB, free: 184.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005119/5.089, allocations: 348.9 kB / 3.715 GB, free: 184.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/5.089, allocations: 5.703 kB / 3.715 GB, free: 184.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001043/5.09, allocations: 0.7858 MB / 3.716 GB, free: 184.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/5.09, allocations: 6.031 kB / 3.716 GB, free: 184.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/5.09, allocations: 0 / 3.716 GB, free: 184.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/5.09, allocations: 7.094 kB / 3.716 GB, free: 184.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006397/5.09, allocations: 151.4 kB / 3.716 GB, free: 184.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/5.09, allocations: 6.875 kB / 3.716 GB, free: 184.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007989/5.091, allocations: 84.58 kB / 3.716 GB, free: 184.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.851e-05/5.091, allocations: 26.31 kB / 3.716 GB, free: 184.8 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.0001073/5.091, allocations: 122.1 kB / 3.716 GB, free: 184.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/5.092, allocations: 78.31 kB / 3.716 GB, free: 184.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001217/5.093, allocations: 0.8 MB / 3.717 GB, free: 184.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/5.093, allocations: 11.69 kB / 3.717 GB, free: 184.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/5.093, allocations: 0 / 3.717 GB, free: 184.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008929/5.094, allocations: 0.828 MB / 3.718 GB, free: 184.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002059/5.096, allocations: 1.778 MB / 3.72 GB, free: 184.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/5.096, allocations: 6.062 kB / 3.72 GB, free: 184.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008603/5.097, allocations: 176.9 kB / 3.72 GB, free: 184.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/5.097, allocations: 0 / 3.72 GB, free: 184.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.934e-05/5.097, allocations: 12.94 kB / 3.72 GB, free: 184.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.145e-06/5.097, allocations: 2.531 kB / 3.72 GB, free: 184.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/5.097, allocations: 3.594 kB / 3.72 GB, free: 184.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001423/5.098, allocations: 1.303 MB / 3.721 GB, free: 183.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002982/5.098, allocations: 245.4 kB / 3.722 GB, free: 183.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/5.099, allocations: 7.312 kB / 3.722 GB, free: 183.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007216/5.099, allocations: 62.33 kB / 3.722 GB, free: 183.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.291e-05/5.099, allocations: 41.3 kB / 3.722 GB, free: 183.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.885e-05/5.099, allocations: 21.19 kB / 3.722 GB, free: 183.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0003162/5.1, allocations: 383.6 kB / 3.722 GB, free: 183.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0008799/5.101, allocations: 434.9 kB / 3.722 GB, free: 183.6 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.001578/5.102, allocations: 1.781 MB / 3.724 GB, free: 183.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0007582/5.103, allocations: 0.6751 MB / 3.725 GB, free: 183.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/5.103, allocations: 3.688 kB / 3.725 GB, free: 183.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003711/5.103, allocations: 378.5 kB / 3.725 GB, free: 183.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001764/5.105, allocations: 459.6 kB / 3.726 GB, free: 183.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002427/5.108, allocations: 1.751 MB / 3.727 GB, free: 182.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007065/5.108, allocations: 1.195 MB / 3.729 GB, free: 182.1 MB / 0.948 GB Notification: Performance of SimCode: time 2.3e-07/5.108, allocations: 0 / 3.729 GB, free: 182.1 MB / 0.948 GB Notification: Performance of Templates: time 0.03103/5.139, allocations: 25.74 MB / 3.754 GB, free: 181.5 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.makefile (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & ./Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)