Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow") translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow") [: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.1-maint.8.0.x/package.mo): time 1.29/1.29, allocations: 285.5 MB / 292.8 MB, free: 10.51 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.0009135/0.0009135, allocations: 181.2 kB / 361.1 MB, free: 7.117 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.001/1.001, allocations: 205.1 MB / 0.6195 GB, free: 10.29 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.0007868/0.0007868, allocations: 98.75 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.03e-06/5.06e-06, allocations: 0 / 0.851 GB, free: 2.984 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4171/0.4171, allocations: 115.3 MB / 0.9637 GB, free: 78.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.849/3.266, allocations: 2.075 GB / 3.039 GB, free: 60.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001906/3.266, allocations: 89.69 kB / 3.039 GB, free: 60.41 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: The standard says that initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition useDefaultProperties and initial(). Notification: Performance of FrontEnd: time 1.732/4.998, allocations: 0.6041 GB / 3.643 GB, free: 193.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.668e-05/4.998, allocations: 24 kB / 3.643 GB, free: 193.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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.00364/5.002, allocations: 1.57 MB / 3.645 GB, free: 191.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/5.002, allocations: 12.03 kB / 3.645 GB, free: 191.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002031/5.004, allocations: 354.2 kB / 3.645 GB, free: 191.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/5.005, allocations: 0.8701 MB / 3.646 GB, free: 190.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.038e-05/5.005, allocations: 35.72 kB / 3.646 GB, free: 190.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/5.005, allocations: 59.94 kB / 3.646 GB, free: 190.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00137/5.007, allocations: 1.012 MB / 3.647 GB, free: 189.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/5.008, allocations: 0.9724 MB / 3.648 GB, free: 188.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/5.008, allocations: 0 / 3.648 GB, free: 188.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.56e-05/5.008, allocations: 4 kB / 3.648 GB, free: 188.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.105e-05/5.008, allocations: 62.06 kB / 3.648 GB, free: 188.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004937/5.013, allocations: 5.15 MB / 3.653 GB, free: 182.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009751/5.014, allocations: 0.8579 MB / 3.654 GB, free: 181.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006361/5.015, allocations: 0.5479 MB / 3.654 GB, free: 181.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.383e-05/5.015, allocations: 20.47 kB / 3.654 GB, free: 181.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005296/5.015, allocations: 471 kB / 3.655 GB, free: 180.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=76): time 2.635e-06/5.015, allocations: 7.938 kB / 3.655 GB, free: 180.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=76): time 0.001353/5.017, allocations: 0.8388 MB / 3.655 GB, free: 180.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.808e-05/5.017, allocations: 56.06 kB / 3.656 GB, free: 180 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003879/5.017, allocations: 414.3 kB / 3.656 GB, free: 179.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.866e-05/5.017, allocations: 29.69 kB / 3.656 GB, free: 179.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/5.017, allocations: 383.5 kB / 3.656 GB, free: 179.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001594/5.017, allocations: 260.2 kB / 3.657 GB, free: 178.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/5.017, allocations: 0 / 3.657 GB, free: 178.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.772e-05/5.018, allocations: 378.7 kB / 3.657 GB, free: 178.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003725/5.018, allocations: 321.5 kB / 3.657 GB, free: 178.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004132/5.018, allocations: 450.8 kB / 3.658 GB, free: 177.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000464/5.019, allocations: 399 kB / 3.658 GB, free: 177.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/5.019, allocations: 3.938 kB / 3.658 GB, free: 177.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001029/5.02, allocations: 0.8894 MB / 3.659 GB, free: 176.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/5.02, allocations: 5.094 kB / 3.659 GB, free: 176.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/5.02, allocations: 4 kB / 3.659 GB, free: 176.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/5.02, allocations: 4.344 kB / 3.659 GB, free: 176.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000678/5.021, allocations: 167.7 kB / 3.659 GB, free: 176.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/5.021, allocations: 4 kB / 3.659 GB, free: 176.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009683/5.022, allocations: 115.3 kB / 3.659 GB, free: 176.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.915e-05/5.022, allocations: 28 kB / 3.659 GB, free: 176.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.0001213/5.022, allocations: 123.5 kB / 3.659 GB, free: 176 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.999e-05/5.022, allocations: 79.06 kB / 3.659 GB, free: 175.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001763/5.022, allocations: 99 kB / 3.66 GB, free: 175.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/5.022, allocations: 12 kB / 3.66 GB, free: 175.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.535e-06/5.022, allocations: 0 / 3.66 GB, free: 175.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009396/5.023, allocations: 1.072 MB / 3.661 GB, free: 174.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002199/5.025, allocations: 1.875 MB / 3.662 GB, free: 172.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/5.025, allocations: 0 / 3.662 GB, free: 172.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008814/5.026, allocations: 179.8 kB / 3.663 GB, free: 172.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.684e-06/5.026, allocations: 11.94 kB / 3.663 GB, free: 172.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.805e-05/5.026, allocations: 15.92 kB / 3.663 GB, free: 172.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/5.026, allocations: 0 / 3.663 GB, free: 172.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/5.026, allocations: 4 kB / 3.663 GB, free: 172.5 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001468/5.028, allocations: 1.496 MB / 3.664 GB, free: 171 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003802/5.028, allocations: 252 kB / 3.664 GB, free: 170.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/5.028, allocations: 12 kB / 3.664 GB, free: 170.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008032/5.029, allocations: 79.83 kB / 3.664 GB, free: 170.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.049e-05/5.029, allocations: 36.59 kB / 3.664 GB, free: 170.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-05/5.029, allocations: 23.98 kB / 3.664 GB, free: 170.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0002851/5.029, allocations: 326.9 kB / 3.665 GB, free: 170.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001073/5.031, allocations: 458.9 kB / 3.665 GB, free: 169.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.U,rooA.dynBal.m,rooA.dynBal.mXi[1],rooB.dynBal.U,rooB.dynBal.m,rooB.dynBal.mXi[1]) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * 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.001612/5.032, allocations: 1.814 MB / 3.667 GB, free: 168.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008868/5.033, allocations: 0.7885 MB / 3.668 GB, free: 167.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/5.033, allocations: 4.062 kB / 3.668 GB, free: 167.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004088/5.034, allocations: 434.2 kB / 3.668 GB, free: 167 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00192/5.035, allocations: 479 kB / 3.669 GB, free: 166.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002513/5.038, allocations: 1.775 MB / 3.67 GB, free: 164.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007244/5.039, allocations: 1.245 MB / 3.672 GB, free: 163.5 MB / 0.948 GB Notification: Performance of SimCode: time 3.01e-07/5.039, allocations: 0 / 3.672 GB, free: 163.5 MB / 0.948 GB Notification: Performance of Templates: time 0.03196/5.071, allocations: 26.82 MB / 3.698 GB, free: 136.9 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)