Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") [: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 7.0.1/package.mo): time 1.985/1.985, allocations: 253.1 MB / 260.4 MB, free: 11.8 MB / 211.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001739/0.001738, allocations: 180.3 kB / 319.6 MB, free: 2.289 MB / 243.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.824/1.824, allocations: 205.4 MB / 0.5704 GB, free: 8.406 MB / 435.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001311/0.001311, allocations: 100.9 kB / 0.6746 GB, free: 21.85 MB / 467.1 MB Notification: Performance of FrontEnd - loaded program: time 1.213e-05/1.23e-05, allocations: 0 / 0.7843 GB, free: 5.469 MB / 0.5499 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6172/0.6173, allocations: 106.2 MB / 0.888 GB, free: 64.53 MB / 0.5968 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.422/6.039, allocations: 2.208 GB / 3.096 GB, free: 49.93 MB / 0.878 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/6.04, allocations: 85.77 kB / 3.096 GB, free: 49.89 MB / 0.878 GB Notification: Performance of FrontEnd: time 9.872/15.91, allocations: 1.89 GB / 4.986 GB, free: 81.43 MB / 0.9405 GB Notification: Performance of Transformations before backend: time 0.000421/15.91, allocations: 91.88 kB / 4.986 GB, free: 81.41 MB / 0.9405 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 851 * Number of variables: 851 Notification: Performance of Generate backend data structure: time 0.02452/15.94, allocations: 4.335 MB / 4.991 GB, free: 80.07 MB / 0.9405 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/15.94, allocations: 10.5 kB / 4.991 GB, free: 80.07 MB / 0.9405 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01225/15.95, allocations: 1.077 MB / 4.992 GB, free: 79.87 MB / 0.9405 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009251/15.96, allocations: 2.28 MB / 4.994 GB, free: 79.36 MB / 0.9405 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002225/15.96, allocations: 106.8 kB / 4.994 GB, free: 79.36 MB / 0.9405 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001418/15.96, allocations: 208 kB / 4.994 GB, free: 79.36 MB / 0.9405 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01419/15.97, allocations: 4.248 MB / 4.998 GB, free: 79.34 MB / 0.9405 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01389/15.99, allocations: 3.757 MB / 5.002 GB, free: 79.04 MB / 0.9405 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001429/15.99, allocations: 5.906 kB / 5.002 GB, free: 79.04 MB / 0.9405 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005716/15.99, allocations: 7.875 kB / 5.002 GB, free: 79.03 MB / 0.9405 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001818/15.99, allocations: 152.6 kB / 5.002 GB, free: 79.02 MB / 0.9405 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03475/16.02, allocations: 15.14 MB / 5.017 GB, free: 71.92 MB / 0.9405 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01067/16.04, allocations: 3.948 MB / 5.021 GB, free: 71.83 MB / 0.9405 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006351/16.04, allocations: 2.413 MB / 5.023 GB, free: 71.79 MB / 0.9405 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002275/16.04, allocations: 1.615 MB / 5.025 GB, free: 70.1 MB / 0.9405 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001103/16.04, allocations: 81.73 kB / 5.025 GB, free: 70.06 MB / 0.9405 GB Notification: Performance of pre-optimization done (n=392): time 1.178e-05/16.04, allocations: 0 / 5.025 GB, free: 70.06 MB / 0.9405 GB Notification: Performance of matching and sorting (n=392): time 0.02128/16.07, allocations: 4.35 MB / 5.029 GB, free: 69.8 MB / 0.9405 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.269e-05/16.07, allocations: 90.67 kB / 5.029 GB, free: 69.74 MB / 0.9405 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003489/16.07, allocations: 1.221 MB / 5.03 GB, free: 69.58 MB / 0.9405 GB Notification: Performance of collectPreVariables (initialization): time 0.001067/16.07, allocations: 31.61 kB / 5.03 GB, free: 69.55 MB / 0.9405 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008185/16.07, allocations: 0.8211 MB / 5.031 GB, free: 69.09 MB / 0.9405 GB Notification: Performance of collectInitialBindings (initialization): time 0.002445/16.07, allocations: 1.265 MB / 5.032 GB, free: 68.22 MB / 0.9405 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004252/16.07, allocations: 0 / 5.032 GB, free: 68.22 MB / 0.9405 GB Notification: Performance of setup shared object (initialization): time 0.0004167/16.07, allocations: 441 kB / 5.033 GB, free: 67.91 MB / 0.9405 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005105/16.08, allocations: 1.56 MB / 5.034 GB, free: 67.91 MB / 0.9405 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005939/16.09, allocations: 1.949 MB / 5.036 GB, free: 67.6 MB / 0.9405 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008924/16.09, allocations: 2.196 MB / 5.038 GB, free: 67.55 MB / 0.9405 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.373e-05/16.09, allocations: 0 / 5.038 GB, free: 67.55 MB / 0.9405 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.0162/16.11, allocations: 4.427 MB / 5.043 GB, free: 67.3 MB / 0.9405 GB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/16.11, allocations: 7.062 kB / 5.043 GB, free: 67.3 MB / 0.9405 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.38e-05/16.11, allocations: 3.375 kB / 5.043 GB, free: 67.3 MB / 0.9405 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.852e-05/16.11, allocations: 20.88 kB / 5.043 GB, free: 67.3 MB / 0.9405 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00741/16.12, allocations: 0.7135 MB / 5.043 GB, free: 67.3 MB / 0.9405 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.914e-05/16.12, allocations: 26.94 kB / 5.043 GB, free: 67.3 MB / 0.9405 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007377/16.13, allocations: 354.1 kB / 5.044 GB, free: 67.17 MB / 0.9405 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001255/16.13, allocations: 127.1 kB / 5.044 GB, free: 67.17 MB / 0.9405 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (430): * Single equations (assignments): 430 * 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.001298/16.13, allocations: 153.9 kB / 5.044 GB, free: 67.06 MB / 0.9405 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001378/16.13, allocations: 282.7 kB / 5.044 GB, free: 66.92 MB / 0.9405 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01958/16.15, allocations: 4.693 MB / 5.049 GB, free: 66.75 MB / 0.9405 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.257e-05/16.15, allocations: 37.81 kB / 5.049 GB, free: 66.75 MB / 0.9405 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-05/16.15, allocations: 3.156 kB / 5.049 GB, free: 66.75 MB / 0.9405 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01343/16.16, allocations: 4.064 MB / 5.053 GB, free: 66.42 MB / 0.9405 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03045/16.19, allocations: 8.671 MB / 5.061 GB, free: 65.67 MB / 0.9405 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.159e-05/16.19, allocations: 0 / 5.061 GB, free: 65.67 MB / 0.9405 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008047/16.2, allocations: 0.7586 MB / 5.062 GB, free: 65.67 MB / 0.9405 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.841e-05/16.2, allocations: 14.75 kB / 5.062 GB, free: 65.67 MB / 0.9405 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007918/16.2, allocations: 43.53 kB / 5.062 GB, free: 65.67 MB / 0.9405 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.721e-05/16.2, allocations: 14.19 kB / 5.062 GB, free: 65.67 MB / 0.9405 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/16.2, allocations: 13.86 kB / 5.062 GB, free: 65.67 MB / 0.9405 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02317/16.23, allocations: 7.372 MB / 5.069 GB, free: 64.94 MB / 0.9405 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004092/16.23, allocations: 0.8183 MB / 5.07 GB, free: 64.65 MB / 0.9405 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001811/16.23, allocations: 13.69 kB / 5.07 GB, free: 64.65 MB / 0.9405 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006758/16.24, allocations: 217.4 kB / 5.07 GB, free: 64.63 MB / 0.9405 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001122/16.24, allocations: 193.9 kB / 5.071 GB, free: 64.63 MB / 0.9405 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005013/16.24, allocations: 125.7 kB / 5.071 GB, free: 64.63 MB / 0.9405 GB Notification: Performance of sort global known variables: time 0.002296/16.24, allocations: 0.9324 MB / 5.072 GB, free: 64.52 MB / 0.9405 GB Notification: Performance of remove unused functions: time 0.006307/16.25, allocations: 1.458 MB / 5.073 GB, free: 64.38 MB / 0.9405 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.U,volBotEas.dynBal.m,volBotEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.U,volBotWes.dynBal.m,volBotWes.dynBal.mXi[1],oriEasTop.mExc,volTopEas.dynBal.U,volTopEas.dynBal.m,volTopEas.dynBal.mXi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,volTopWes.dynBal.mXi[1],dooOpeCloTop.mExcAB,dooOpeCloTop.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (392): * Single equations (assignments): 392 * 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.009578/16.26, allocations: 5.544 MB / 5.078 GB, free: 61.87 MB / 0.9405 GB Notification: Performance of simCode: created initialization part: time 0.01109/16.27, allocations: 3.922 MB / 5.082 GB, free: 61.81 MB / 0.9405 GB Notification: Performance of simCode: created event and clocks part: time 1.206e-05/16.27, allocations: 3.469 kB / 5.082 GB, free: 61.81 MB / 0.9405 GB Notification: Performance of simCode: created simulation system equations: time 0.006537/16.28, allocations: 2.128 MB / 5.084 GB, free: 61.8 MB / 0.9405 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01312/16.29, allocations: 1.241 MB / 5.086 GB, free: 61.77 MB / 0.9405 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02459/16.31, allocations: 6.708 MB / 5.092 GB, free: 60.57 MB / 0.9405 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005736/16.32, allocations: 2.637 MB / 5.095 GB, free: 59.79 MB / 0.9405 GB Notification: Performance of SimCode: time 1.813e-06/16.32, allocations: 0 / 5.095 GB, free: 59.79 MB / 0.9405 GB Notification: Performance of Templates: time 0.213/16.53, allocations: 85.82 MB / 5.179 GB, free: 21.49 MB / 0.9405 GB