Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") [: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.31/1.31, allocations: 285.5 MB / 292.8 MB, free: 10.49 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.0009273/0.0009274, allocations: 175.3 kB / 361.1 MB, free: 7.121 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.024/1.024, allocations: 205.1 MB / 0.6195 GB, free: 10.36 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.000731/0.000731, allocations: 88.56 kB / 0.7325 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.18e-06/5.2e-06, allocations: 0 / 0.8511 GB, free: 3.02 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4507/0.4507, allocations: 115.3 MB / 0.9637 GB, free: 78.02 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.897/3.348, allocations: 2.087 GB / 3.051 GB, free: 27.67 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/3.348, allocations: 82.77 kB / 3.051 GB, free: 27.63 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.536/7.885, allocations: 1.73 GB / 4.781 GB, free: 88.57 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0001635/7.885, allocations: 76.19 kB / 4.781 GB, free: 88.56 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.01032/7.895, allocations: 3.573 MB / 4.784 GB, free: 86.96 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/7.895, allocations: 9.25 kB / 4.784 GB, free: 86.96 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006128/7.901, allocations: 0.9724 MB / 4.785 GB, free: 86.79 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003729/7.905, allocations: 1.926 MB / 4.787 GB, free: 86.27 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.071e-05/7.905, allocations: 83.03 kB / 4.787 GB, free: 86.27 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003697/7.905, allocations: 165.4 kB / 4.788 GB, free: 86.26 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004714/7.91, allocations: 3.087 MB / 4.791 GB, free: 86.24 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004131/7.914, allocations: 2.951 MB / 4.793 GB, free: 85.93 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.965e-05/7.914, allocations: 8.859 kB / 4.793 GB, free: 85.92 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002205/7.915, allocations: 7.656 kB / 4.793 GB, free: 85.92 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-05/7.915, allocations: 125.5 kB / 4.794 GB, free: 85.91 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01293/7.928, allocations: 12.79 MB / 4.806 GB, free: 77.56 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003267/7.931, allocations: 2.687 MB / 4.809 GB, free: 76.59 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002155/7.933, allocations: 1.844 MB / 4.81 GB, free: 75.92 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001049/7.934, allocations: 1.493 MB / 4.812 GB, free: 74.31 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/7.934, allocations: 64 kB / 4.812 GB, free: 74.25 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=278): time 3.878e-06/7.934, allocations: 0 / 4.812 GB, free: 74.25 MB / 0.9792 GB Notification: Performance of matching and sorting (n=278): time 0.006445/7.941, allocations: 3.185 MB / 4.815 GB, free: 73.16 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/7.941, allocations: 84.69 kB / 4.815 GB, free: 73.09 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/7.942, allocations: 1.012 MB / 4.816 GB, free: 72.67 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001463/7.942, allocations: 28.27 kB / 4.816 GB, free: 72.64 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003/7.942, allocations: 0.7082 MB / 4.817 GB, free: 72.14 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005922/7.943, allocations: 0.9154 MB / 4.818 GB, free: 71.41 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/7.943, allocations: 0 / 4.818 GB, free: 71.41 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001076/7.943, allocations: 405.9 kB / 4.818 GB, free: 71.06 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00145/7.945, allocations: 1.138 MB / 4.819 GB, free: 70.62 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001639/7.946, allocations: 1.455 MB / 4.821 GB, free: 69.86 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002917/7.949, allocations: 1.553 MB / 4.822 GB, free: 69.32 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/7.949, allocations: 1.562 kB / 4.822 GB, free: 69.32 MB / 0.9792 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005034/7.954, allocations: 3.215 MB / 4.825 GB, free: 66.95 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/7.954, allocations: 10.95 kB / 4.825 GB, free: 66.95 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/7.954, allocations: 4 kB / 4.825 GB, free: 66.94 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.714e-05/7.954, allocations: 16 kB / 4.825 GB, free: 66.93 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002275/7.957, allocations: 0.5292 MB / 4.826 GB, free: 66.47 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.818e-05/7.957, allocations: 25.62 kB / 4.826 GB, free: 66.45 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002592/7.959, allocations: 276.6 kB / 4.826 GB, free: 66.24 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001885/7.96, allocations: 92.86 kB / 4.826 GB, free: 66.16 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (311): * Single equations (assignments): 311 * 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.0003329/7.96, allocations: 141.9 kB / 4.826 GB, free: 66.01 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003329/7.96, allocations: 225.4 kB / 4.827 GB, free: 65.79 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005326/7.966, allocations: 3.329 MB / 4.83 GB, free: 62.97 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.81e-05/7.966, allocations: 31.19 kB / 4.83 GB, free: 62.94 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/7.966, allocations: 0.6562 kB / 4.83 GB, free: 62.94 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003987/7.97, allocations: 2.848 MB / 4.833 GB, free: 60.18 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009045/7.979, allocations: 6.298 MB / 4.839 GB, free: 53.84 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/7.979, allocations: 0 / 4.839 GB, free: 53.84 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00266/7.981, allocations: 0.5739 MB / 4.839 GB, free: 53.27 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.578e-05/7.981, allocations: 12 kB / 4.839 GB, free: 53.26 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001616/7.982, allocations: 36.52 kB / 4.839 GB, free: 53.23 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.965e-06/7.982, allocations: 8 kB / 4.839 GB, free: 53.22 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/7.982, allocations: 0 / 4.839 GB, free: 53.22 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006171/7.988, allocations: 5.128 MB / 4.844 GB, free: 48.02 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00117/7.989, allocations: 0.63 MB / 4.845 GB, free: 47.37 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003688/7.989, allocations: 0 / 4.845 GB, free: 47.37 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00199/7.991, allocations: 180.8 kB / 4.845 GB, free: 47.21 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002035/7.991, allocations: 142 kB / 4.845 GB, free: 47.07 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001745/7.992, allocations: 87.95 kB / 4.845 GB, free: 46.98 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.0007956/7.992, allocations: 0.7715 MB / 4.846 GB, free: 46.21 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.002376/7.995, allocations: 1.197 MB / 4.847 GB, free: 45.02 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1],oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 278 * 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.004291/7.999, allocations: 4.707 MB / 4.852 GB, free: 40.84 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.003177/8.002, allocations: 2.856 MB / 4.855 GB, free: 37.96 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/8.002, allocations: 0 / 4.855 GB, free: 37.96 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001503/8.004, allocations: 1.538 MB / 4.856 GB, free: 36.43 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004326/8.008, allocations: 1.081 MB / 4.857 GB, free: 35.43 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008019/8.016, allocations: 5.233 MB / 4.862 GB, free: 30.46 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001979/8.018, allocations: 2.221 MB / 4.865 GB, free: 28.21 MB / 0.9792 GB Notification: Performance of SimCode: time 7.12e-07/8.018, allocations: 0 / 4.865 GB, free: 28.21 MB / 0.9792 GB Notification: Performance of Templates: time 0.3846/8.403, allocations: 70.87 MB / 4.934 GB, free: 212.4 MB / 1.01 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)