Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) [: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 7.0.3-maint.7.0.x/package.mo): time 1.28/1.28, allocations: 249.4 MB / 256.7 MB, free: 6.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001074/0.001073, allocations: 188.5 kB / 316 MB, free: 3.527 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.288/1.288, allocations: 205.1 MB / 0.5667 GB, free: 15.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009131/0.0009132, allocations: 82.06 kB / 0.671 GB, free: 4.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3713/0.3723, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.5593, allocations: 106.3 MB / 0.8847 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.431/4.99, allocations: 2.209 GB / 3.094 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002068/4.991, allocations: 87.95 kB / 3.094 GB, free: 193.7 MB / 0.8698 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 5.667/10.66, allocations: 1.894 GB / 4.988 GB, free: 3.789 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/10.66, allocations: 8 kB / 4.988 GB, free: 3.781 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008169/10.67, allocations: 1.072 MB / 4.989 GB, free: 2.703 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00617/10.67, allocations: 2.277 MB / 4.992 GB, free: 384 kB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/10.67, allocations: 104 kB / 4.992 GB, free: 280 kB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000685/10.67, allocations: 203.9 kB / 4.992 GB, free: 76 kB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.379/11.05, allocations: 4.247 MB / 4.996 GB, free: 160.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008382/11.06, allocations: 3.755 MB / 5 GB, free: 159.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.763e-05/11.06, allocations: 12.5 kB / 5 GB, free: 159.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003324/11.06, allocations: 6.688 kB / 5 GB, free: 159.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001282/11.06, allocations: 156.3 kB / 5 GB, free: 159.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02021/11.08, allocations: 15.15 MB / 5.015 GB, free: 152.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005746/11.09, allocations: 3.935 MB / 5.019 GB, free: 152.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002809/11.09, allocations: 2.419 MB / 5.021 GB, free: 152.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001224/11.09, allocations: 1.611 MB / 5.023 GB, free: 151.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.095e-05/11.09, allocations: 75.11 kB / 5.023 GB, free: 151.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=392): time 4.96e-06/11.09, allocations: 0 / 5.023 GB, free: 151.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=392): time 0.009468/11.1, allocations: 4.353 MB / 5.027 GB, free: 150.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/11.1, allocations: 96.84 kB / 5.027 GB, free: 150.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001734/11.1, allocations: 1.22 MB / 5.028 GB, free: 150.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002719/11.1, allocations: 32.83 kB / 5.028 GB, free: 150.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003421/11.1, allocations: 0.8177 MB / 5.029 GB, free: 150.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009977/11.1, allocations: 1.269 MB / 5.03 GB, free: 149.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001768/11.1, allocations: 0 / 5.03 GB, free: 149.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001448/11.1, allocations: 445.8 kB / 5.031 GB, free: 149.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002315/11.11, allocations: 1.56 MB / 5.032 GB, free: 149.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002639/11.11, allocations: 1.953 MB / 5.034 GB, free: 148.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004931/11.11, allocations: 2.196 MB / 5.036 GB, free: 148.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.407e-05/11.11, allocations: 3.75 kB / 5.036 GB, free: 148.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.0101/11.12, allocations: 4.418 MB / 5.041 GB, free: 148.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.996e-05/11.12, allocations: 3.938 kB / 5.041 GB, free: 148.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.644e-05/11.12, allocations: 7.062 kB / 5.041 GB, free: 148.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.906e-05/11.12, allocations: 17.06 kB / 5.041 GB, free: 148.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003415/11.13, allocations: 0.7191 MB / 5.041 GB, free: 148.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.032e-05/11.13, allocations: 24.28 kB / 5.041 GB, free: 148.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004072/11.13, allocations: 351.3 kB / 5.042 GB, free: 148.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003085/11.13, allocations: 128.2 kB / 5.042 GB, free: 148.5 MB / 0.948 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.0005381/11.13, allocations: 156 kB / 5.042 GB, free: 148.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000561/11.13, allocations: 283.3 kB / 5.042 GB, free: 148.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009022/11.14, allocations: 4.687 MB / 5.047 GB, free: 148.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-05/11.14, allocations: 42.16 kB / 5.047 GB, free: 148.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/11.14, allocations: 0 / 5.047 GB, free: 148.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006439/11.15, allocations: 4.064 MB / 5.051 GB, free: 147.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01754/11.17, allocations: 8.666 MB / 5.059 GB, free: 147.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-05/11.17, allocations: 3.375 kB / 5.059 GB, free: 147.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003964/11.17, allocations: 0.7551 MB / 5.06 GB, free: 147.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.467e-05/11.17, allocations: 21.41 kB / 5.06 GB, free: 147.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005282/11.17, allocations: 39.75 kB / 5.06 GB, free: 147.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.837e-05/11.17, allocations: 19.12 kB / 5.06 GB, free: 147.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/11.17, allocations: 3.344 kB / 5.06 GB, free: 147.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01115/11.18, allocations: 7.374 MB / 5.067 GB, free: 146.4 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01389/11.2, allocations: 10.76 MB / 5.078 GB, free: 145.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002474/11.2, allocations: 0.8173 MB / 5.079 GB, free: 145 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000852/11.2, allocations: 10.19 kB / 5.079 GB, free: 145 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003429/11.2, allocations: 212.8 kB / 5.079 GB, free: 145 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003234/11.2, allocations: 201.5 kB / 5.079 GB, free: 145 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002721/11.2, allocations: 125.3 kB / 5.079 GB, free: 145 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001289/11.21, allocations: 0.9316 MB / 5.08 GB, free: 144.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006407/11.21, allocations: 2.109 MB / 5.082 GB, free: 144.8 MB / 0.948 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.006824/11.22, allocations: 5.545 MB / 5.087 GB, free: 142.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005951/11.22, allocations: 3.93 MB / 5.091 GB, free: 142.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/11.22, allocations: 3.812 kB / 5.091 GB, free: 142.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002633/11.23, allocations: 2.127 MB / 5.093 GB, free: 142.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006455/11.23, allocations: 1.234 MB / 5.095 GB, free: 142.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0132/11.25, allocations: 6.734 MB / 5.101 GB, free: 141.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004164/11.25, allocations: 2.705 MB / 5.104 GB, free: 140.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.162e-06/11.25, allocations: 0 / 5.104 GB, free: 140.3 MB / 0.948 GB (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)