Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.489/2.489, allocations: 284.8 MB / 292.1 MB, free: 10.78 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.001577/0.001577, allocations: 177.3 kB / 360.3 MB, free: 7.535 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.854/1.854, allocations: 205.1 MB / 0.6187 GB, free: 13.21 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.001243/0.001243, allocations: 91.86 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2945/0.2958, allocations: 121.4 MB / 0.8502 GB, free: 3.949 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5633/0.8592, allocations: 115.2 MB / 0.9627 GB, free: 78.55 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.878/5.738, allocations: 2.09 GB / 3.053 GB, free: 268.1 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002993/5.738, allocations: 84.02 kB / 3.053 GB, free: 268.1 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 8.867/14.6, allocations: 1.947 GB / 5 GB, free: 89.12 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/14.6, allocations: 11.88 kB / 5 GB, free: 89.12 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01191/14.62, allocations: 1.07 MB / 5.001 GB, free: 88.92 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009126/14.63, allocations: 2.249 MB / 5.003 GB, free: 88.41 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001863/14.63, allocations: 108.1 kB / 5.003 GB, free: 88.41 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001206/14.63, allocations: 199.8 kB / 5.004 GB, free: 88.41 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01374/14.64, allocations: 4.237 MB / 5.008 GB, free: 88.39 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01273/14.65, allocations: 3.737 MB / 5.011 GB, free: 88.08 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001269/14.65, allocations: 9.031 kB / 5.011 GB, free: 88.08 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005423/14.65, allocations: 2.75 kB / 5.011 GB, free: 88.08 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002147/14.65, allocations: 161.6 kB / 5.012 GB, free: 88.07 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03749/14.69, allocations: 15.11 MB / 5.026 GB, free: 80.98 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01075/14.7, allocations: 3.952 MB / 5.03 GB, free: 80.86 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006612/14.71, allocations: 2.418 MB / 5.033 GB, free: 80.83 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002291/14.71, allocations: 1.613 MB / 5.034 GB, free: 79.14 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.03e-05/14.71, allocations: 74.33 kB / 5.034 GB, free: 79.09 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=392): time 6.342e-06/14.71, allocations: 0.6562 kB / 5.034 GB, free: 79.09 MB / 0.9948 GB Notification: Performance of matching and sorting (n=392): time 0.01834/14.73, allocations: 4.37 MB / 5.038 GB, free: 78.84 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/14.73, allocations: 92.48 kB / 5.039 GB, free: 78.78 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002775/14.73, allocations: 1.201 MB / 5.04 GB, free: 78.62 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.000773/14.73, allocations: 29.33 kB / 5.04 GB, free: 78.59 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004791/14.73, allocations: 0.8098 MB / 5.041 GB, free: 78.14 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001954/14.74, allocations: 1.271 MB / 5.042 GB, free: 77.27 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003029/14.74, allocations: 0 / 5.042 GB, free: 77.27 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0003559/14.74, allocations: 445.1 kB / 5.042 GB, free: 76.96 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006203/14.74, allocations: 1.559 MB / 5.044 GB, free: 76.95 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007478/14.75, allocations: 1.959 MB / 5.046 GB, free: 76.65 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009891/14.76, allocations: 2.199 MB / 5.048 GB, free: 76.61 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-05/14.76, allocations: 3.125 kB / 5.048 GB, free: 76.61 MB / 0.9948 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.01546/14.78, allocations: 4.436 MB / 5.052 GB, free: 76.36 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/14.78, allocations: 3.094 kB / 5.052 GB, free: 76.36 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.973e-05/14.78, allocations: 8.219 kB / 5.052 GB, free: 76.36 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.687e-05/14.78, allocations: 18 kB / 5.052 GB, free: 76.36 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007298/14.78, allocations: 0.7206 MB / 5.053 GB, free: 76.31 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.051e-05/14.78, allocations: 18.75 kB / 5.053 GB, free: 76.31 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007005/14.79, allocations: 349.2 kB / 5.053 GB, free: 76.18 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007756/14.79, allocations: 129.6 kB / 5.053 GB, free: 76.18 MB / 0.9948 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.0009215/14.79, allocations: 161.4 kB / 5.054 GB, free: 76.02 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001108/14.79, allocations: 278.4 kB / 5.054 GB, free: 75.88 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01693/14.81, allocations: 4.709 MB / 5.058 GB, free: 75.7 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.832e-05/14.81, allocations: 37.28 kB / 5.058 GB, free: 75.7 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.59e-05/14.81, allocations: 0 / 5.058 GB, free: 75.7 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01494/14.83, allocations: 4.078 MB / 5.062 GB, free: 75.37 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03058/14.86, allocations: 8.665 MB / 5.071 GB, free: 73.23 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.276e-05/14.86, allocations: 6.344 kB / 5.071 GB, free: 73.23 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008212/14.87, allocations: 0.7525 MB / 5.072 GB, free: 73.17 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.685e-05/14.87, allocations: 15.44 kB / 5.072 GB, free: 73.17 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007843/14.87, allocations: 47.39 kB / 5.072 GB, free: 73.16 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.72e-05/14.87, allocations: 14.94 kB / 5.072 GB, free: 73.16 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/14.87, allocations: 2.875 kB / 5.072 GB, free: 73.16 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02233/14.89, allocations: 7.394 MB / 5.079 GB, free: 70.18 MB / 0.9948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03618/14.92, allocations: 10.81 MB / 5.089 GB, free: 65.21 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003651/14.93, allocations: 0.8023 MB / 5.09 GB, free: 64.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001118/14.93, allocations: 7.281 kB / 5.09 GB, free: 64.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005904/14.94, allocations: 210.5 kB / 5.09 GB, free: 64.36 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007633/14.94, allocations: 195.2 kB / 5.091 GB, free: 64.25 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004442/14.94, allocations: 122.8 kB / 5.091 GB, free: 64.14 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.002047/14.94, allocations: 0.9168 MB / 5.092 GB, free: 63.32 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.009076/14.95, allocations: 2.101 MB / 5.094 GB, free: 61.25 MB / 0.9948 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.009702/14.96, allocations: 5.539 MB / 5.099 GB, free: 56.64 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.01002/14.97, allocations: 3.943 MB / 5.103 GB, free: 52.99 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/14.97, allocations: 2.75 kB / 5.103 GB, free: 52.99 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.005393/14.97, allocations: 2.138 MB / 5.105 GB, free: 51.02 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01197/14.99, allocations: 1.224 MB / 5.106 GB, free: 50.19 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02125/15.01, allocations: 6.706 MB / 5.113 GB, free: 44.94 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005776/15.01, allocations: 2.685 MB / 5.115 GB, free: 42.83 MB / 0.9948 GB Notification: Performance of SimCode: time 1.402e-06/15.01, allocations: 0 / 5.115 GB, free: 42.83 MB / 0.9948 GB (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)