Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.821/1.821, allocations: 387.2 MB / 394.5 MB, free: 13.68 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 176.7 kB / 487 MB, free: 5.395 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.177/1.177, allocations: 221.3 MB / 0.7819 GB, free: 1.465 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008912/0.0008907, allocations: 94.81 kB / 0.9213 GB, free: 2.711 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.455/0.4559, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.6613, allocations: 142.3 MB / 1.205 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.316/3.977, allocations: 1.937 GB / 3.142 GB, free: 331.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001933/3.978, allocations: 95.53 kB / 3.142 GB, free: 331.8 MB / 1.151 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 5.145/9.123, allocations: 1.981 GB / 5.123 GB, free: 130.1 MB / 1.229 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/9.123, allocations: 10.03 kB / 5.123 GB, free: 130.1 MB / 1.229 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008271/9.131, allocations: 1.077 MB / 5.124 GB, free: 129.9 MB / 1.229 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006083/9.137, allocations: 2.294 MB / 5.126 GB, free: 129.3 MB / 1.229 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/9.137, allocations: 108.2 kB / 5.127 GB, free: 129.3 MB / 1.229 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007206/9.138, allocations: 195.2 kB / 5.127 GB, free: 129.3 MB / 1.229 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007734/9.146, allocations: 4.245 MB / 5.131 GB, free: 129.3 MB / 1.229 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006529/9.152, allocations: 3.741 MB / 5.135 GB, free: 129 MB / 1.229 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.64e-05/9.152, allocations: 4.141 kB / 5.135 GB, free: 129 MB / 1.229 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003013/9.153, allocations: 3.031 kB / 5.135 GB, free: 129 MB / 1.229 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001601/9.153, allocations: 163 kB / 5.135 GB, free: 129 MB / 1.229 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02089/9.174, allocations: 16.22 MB / 5.151 GB, free: 120.8 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005519/9.179, allocations: 3.953 MB / 5.154 GB, free: 120.6 MB / 1.229 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002989/9.182, allocations: 2.417 MB / 5.157 GB, free: 120.6 MB / 1.229 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001201/9.183, allocations: 1.615 MB / 5.158 GB, free: 118.9 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.614e-05/9.183, allocations: 75.41 kB / 5.158 GB, free: 118.9 MB / 1.229 GB Notification: Performance of pre-optimization done (n=392): time 5.109e-06/9.183, allocations: 0 / 5.158 GB, free: 118.9 MB / 1.229 GB Notification: Performance of matching and sorting (n=392): time 0.009703/9.193, allocations: 4.377 MB / 5.163 GB, free: 117.9 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.76e-05/9.193, allocations: 92.39 kB / 5.163 GB, free: 117.8 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002043/9.195, allocations: 1.213 MB / 5.164 GB, free: 117.3 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.00025/9.196, allocations: 27.7 kB / 5.164 GB, free: 117.3 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004541/9.196, allocations: 0.8182 MB / 5.165 GB, free: 116.7 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.001053/9.197, allocations: 1.267 MB / 5.166 GB, free: 115.7 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000181/9.197, allocations: 0 / 5.166 GB, free: 115.7 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.0001522/9.197, allocations: 441.2 kB / 5.166 GB, free: 115.3 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002403/9.2, allocations: 1.567 MB / 5.168 GB, free: 114.8 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00255/9.202, allocations: 1.941 MB / 5.17 GB, free: 113.5 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004318/9.207, allocations: 2.2 MB / 5.172 GB, free: 111.7 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.794e-06/9.207, allocations: 0 / 5.172 GB, free: 111.7 MB / 1.229 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007683/9.214, allocations: 4.447 MB / 5.176 GB, free: 107.7 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/9.215, allocations: 4 kB / 5.176 GB, free: 107.7 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/9.215, allocations: 4 kB / 5.176 GB, free: 107.7 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.417e-05/9.215, allocations: 23.72 kB / 5.176 GB, free: 107.7 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003109/9.218, allocations: 0.7177 MB / 5.177 GB, free: 107 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.19e-05/9.218, allocations: 23.94 kB / 5.177 GB, free: 106.9 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003802/9.222, allocations: 402.6 kB / 5.177 GB, free: 106.6 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002683/9.222, allocations: 124 kB / 5.178 GB, free: 106.4 MB / 1.229 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.0004782/9.222, allocations: 156.2 kB / 5.178 GB, free: 106.3 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005328/9.223, allocations: 276.6 kB / 5.178 GB, free: 106 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007723/9.231, allocations: 4.71 MB / 5.183 GB, free: 101.3 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.412e-05/9.231, allocations: 36 kB / 5.183 GB, free: 101.2 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/9.231, allocations: 0 / 5.183 GB, free: 101.2 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00576/9.236, allocations: 4.082 MB / 5.187 GB, free: 97.1 MB / 1.229 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01293/9.249, allocations: 8.668 MB / 5.195 GB, free: 88.41 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.547e-05/9.249, allocations: 6.031 kB / 5.195 GB, free: 88.4 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005564/9.255, allocations: 0.7475 MB / 5.196 GB, free: 87.66 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.182e-05/9.255, allocations: 16 kB / 5.196 GB, free: 87.64 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003598/9.255, allocations: 47.95 kB / 5.196 GB, free: 87.59 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.291e-05/9.255, allocations: 16 kB / 5.196 GB, free: 87.58 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/9.255, allocations: 7.125 kB / 5.196 GB, free: 87.58 MB / 1.229 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01466/9.27, allocations: 6.985 MB / 5.203 GB, free: 80.46 MB / 1.229 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0151/9.285, allocations: 10.34 MB / 5.213 GB, free: 69.98 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002123/9.287, allocations: 0.8013 MB / 5.214 GB, free: 69.15 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005216/9.288, allocations: 11 kB / 5.214 GB, free: 69.14 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002504/9.29, allocations: 206.1 kB / 5.214 GB, free: 68.96 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002967/9.291, allocations: 202.6 kB / 5.214 GB, free: 68.76 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002406/9.291, allocations: 123.9 kB / 5.214 GB, free: 68.64 MB / 1.229 GB Notification: Performance of sort global known variables: time 0.001062/9.292, allocations: 0.9333 MB / 5.215 GB, free: 67.72 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.004605/9.297, allocations: 2.099 MB / 5.217 GB, free: 65.62 MB / 1.229 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.medium.Xi[1],volBotEas.dynBal.U,volBotEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.medium.Xi[1],volBotWes.dynBal.U,volBotWes.dynBal.m,oriEasTop.mExc,volTopEas.dynBal.medium.Xi[1],volTopEas.dynBal.U,volTopEas.dynBal.m,volTopWes.dynBal.medium.Xi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,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.005402/9.302, allocations: 5.544 MB / 5.222 GB, free: 60.62 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.004519/9.307, allocations: 3.935 MB / 5.226 GB, free: 56.68 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/9.307, allocations: 0 / 5.226 GB, free: 56.68 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.002103/9.309, allocations: 2.138 MB / 5.228 GB, free: 54.55 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005757/9.315, allocations: 1.227 MB / 5.23 GB, free: 53.42 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009901/9.324, allocations: 6.747 MB / 5.236 GB, free: 47.14 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002673/9.327, allocations: 2.694 MB / 5.239 GB, free: 44.41 MB / 1.229 GB Notification: Performance of SimCode: time 8.92e-07/9.327, allocations: 0 / 5.239 GB, free: 44.41 MB / 1.229 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)