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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",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.1-maint.8.0.x/package.mo): time 1.287/1.287, allocations: 285.5 MB / 292.8 MB, free: 1.102 MB / 227.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001005/0.001005, allocations: 187 kB / 361.1 MB, free: 15.43 MB / 291.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.009/1.009, allocations: 205.1 MB / 0.6195 GB, free: 6.145 MB / 467.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007892/0.0007892, allocations: 91.75 kB / 0.7325 GB, free: 47.07 MB / 0.5186 GB Notification: Performance of FrontEnd - loaded program: time 0.1807/0.1815, allocations: 121.4 MB / 0.8511 GB, free: 12.99 MB / 0.5967 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4374/0.6189, allocations: 115.3 MB / 0.9637 GB, free: 85.84 MB / 0.6749 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.718/3.337, allocations: 2.087 GB / 3.051 GB, free: 26.52 MB / 0.9405 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/3.337, allocations: 86.39 kB / 3.051 GB, free: 26.43 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: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 4.449/7.786, allocations: 1.734 GB / 4.785 GB, free: 97.5 MB / 0.9874 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/7.786, allocations: 9.875 kB / 4.785 GB, free: 97.5 MB / 0.9874 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008784/7.795, allocations: 0.9749 MB / 4.785 GB, free: 97.29 MB / 0.9874 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00399/7.799, allocations: 1.932 MB / 4.787 GB, free: 96.31 MB / 0.9874 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.039e-05/7.799, allocations: 84.25 kB / 4.787 GB, free: 96.31 MB / 0.9874 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005408/7.8, allocations: 160.5 kB / 4.788 GB, free: 96.3 MB / 0.9874 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005014/7.805, allocations: 3.09 MB / 4.791 GB, free: 95.27 MB / 0.9874 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004535/7.809, allocations: 2.953 MB / 4.793 GB, free: 93.71 MB / 0.9874 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.195e-05/7.809, allocations: 10.06 kB / 4.794 GB, free: 93.7 MB / 0.9874 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002441/7.81, allocations: 2.5 kB / 4.794 GB, free: 93.7 MB / 0.9874 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.91e-05/7.81, allocations: 122.2 kB / 4.794 GB, free: 93.68 MB / 0.9874 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01412/7.824, allocations: 12.79 MB / 4.806 GB, free: 83.07 MB / 0.9874 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003831/7.828, allocations: 2.685 MB / 4.809 GB, free: 81.38 MB / 0.9874 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002174/7.83, allocations: 1.847 MB / 4.811 GB, free: 79.55 MB / 0.9874 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001029/7.831, allocations: 1.501 MB / 4.812 GB, free: 77.75 MB / 0.9874 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/7.831, allocations: 65.5 kB / 4.812 GB, free: 77.68 MB / 0.9874 GB Notification: Performance of pre-optimization done (n=278): time 4.028e-06/7.831, allocations: 0 / 4.812 GB, free: 77.68 MB / 0.9874 GB Notification: Performance of matching and sorting (n=278): time 0.006513/7.838, allocations: 3.179 MB / 4.815 GB, free: 74.46 MB / 0.9874 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/7.838, allocations: 84.06 kB / 4.815 GB, free: 74.37 MB / 0.9874 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/7.839, allocations: 1.011 MB / 4.816 GB, free: 73.36 MB / 0.9874 GB Notification: Performance of collectPreVariables (initialization): time 0.0001694/7.839, allocations: 29.7 kB / 4.816 GB, free: 73.32 MB / 0.9874 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002732/7.839, allocations: 0.7062 MB / 4.817 GB, free: 72.6 MB / 0.9874 GB Notification: Performance of collectInitialBindings (initialization): time 0.000579/7.84, allocations: 0.9081 MB / 4.818 GB, free: 71.68 MB / 0.9874 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/7.84, allocations: 0 / 4.818 GB, free: 71.68 MB / 0.9874 GB Notification: Performance of setup shared object (initialization): time 9.859e-05/7.84, allocations: 409.8 kB / 4.818 GB, free: 71.28 MB / 0.9874 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001353/7.841, allocations: 1.141 MB / 4.819 GB, free: 70.14 MB / 0.9874 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001476/7.843, allocations: 1.456 MB / 4.821 GB, free: 68.59 MB / 0.9874 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00275/7.846, allocations: 1.55 MB / 4.822 GB, free: 67.03 MB / 0.9874 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/7.846, allocations: 4 kB / 4.822 GB, free: 67.03 MB / 0.9874 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005003/7.851, allocations: 3.219 MB / 4.825 GB, free: 63.77 MB / 0.9874 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/7.851, allocations: 4 kB / 4.825 GB, free: 63.77 MB / 0.9874 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/7.851, allocations: 7 kB / 4.825 GB, free: 63.77 MB / 0.9874 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.603e-05/7.851, allocations: 19.91 kB / 4.825 GB, free: 63.75 MB / 0.9874 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002255/7.853, allocations: 0.5305 MB / 4.826 GB, free: 63.21 MB / 0.9874 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.594e-05/7.853, allocations: 19.94 kB / 4.826 GB, free: 63.2 MB / 0.9874 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002624/7.856, allocations: 278.8 kB / 4.826 GB, free: 62.94 MB / 0.9874 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001926/7.856, allocations: 95.62 kB / 4.826 GB, free: 62.85 MB / 0.9874 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.0003339/7.856, allocations: 143 kB / 4.826 GB, free: 62.7 MB / 0.9874 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004224/7.857, allocations: 217.4 kB / 4.827 GB, free: 62.49 MB / 0.9874 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005195/7.862, allocations: 3.337 MB / 4.83 GB, free: 59.12 MB / 0.9874 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.817e-05/7.862, allocations: 24 kB / 4.83 GB, free: 59.1 MB / 0.9874 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/7.862, allocations: 7.922 kB / 4.83 GB, free: 59.09 MB / 0.9874 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003853/7.866, allocations: 2.852 MB / 4.833 GB, free: 56.18 MB / 0.9874 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008909/7.875, allocations: 6.292 MB / 4.839 GB, free: 49.84 MB / 0.9874 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/7.875, allocations: 7.922 kB / 4.839 GB, free: 49.84 MB / 0.9874 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002569/7.877, allocations: 0.5768 MB / 4.839 GB, free: 49.26 MB / 0.9874 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.343e-05/7.877, allocations: 8 kB / 4.839 GB, free: 49.25 MB / 0.9874 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000173/7.878, allocations: 31.97 kB / 4.84 GB, free: 49.22 MB / 0.9874 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.656e-06/7.878, allocations: 8 kB / 4.84 GB, free: 49.21 MB / 0.9874 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/7.878, allocations: 0 / 4.84 GB, free: 49.21 MB / 0.9874 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006318/7.884, allocations: 5.133 MB / 4.845 GB, free: 44.01 MB / 0.9874 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008741/7.893, allocations: 7.725 MB / 4.852 GB, free: 36.21 MB / 0.9874 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001297/7.894, allocations: 0.6265 MB / 4.853 GB, free: 35.56 MB / 0.9874 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004502/7.894, allocations: 11.98 kB / 4.853 GB, free: 35.55 MB / 0.9874 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002213/7.897, allocations: 174.8 kB / 4.853 GB, free: 35.39 MB / 0.9874 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002011/7.897, allocations: 136.4 kB / 4.853 GB, free: 35.26 MB / 0.9874 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001772/7.897, allocations: 91.95 kB / 4.853 GB, free: 35.17 MB / 0.9874 GB Notification: Performance of sort global known variables: time 0.0008956/7.898, allocations: 0.7715 MB / 4.854 GB, free: 34.4 MB / 0.9874 GB Notification: Performance of remove unused functions: time 0.003952/7.902, allocations: 1.74 MB / 4.856 GB, free: 32.66 MB / 0.9874 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.004154/7.906, allocations: 4.709 MB / 4.86 GB, free: 28.46 MB / 0.9874 GB Notification: Performance of simCode: created initialization part: time 0.003261/7.909, allocations: 2.862 MB / 4.863 GB, free: 25.58 MB / 0.9874 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/7.909, allocations: 0 / 4.863 GB, free: 25.58 MB / 0.9874 GB Notification: Performance of simCode: created simulation system equations: time 0.001473/7.911, allocations: 1.538 MB / 4.864 GB, free: 24.05 MB / 0.9874 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004576/7.915, allocations: 1.07 MB / 4.865 GB, free: 23.05 MB / 0.9874 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007182/7.923, allocations: 5.26 MB / 4.871 GB, free: 17.81 MB / 0.9874 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00202/7.925, allocations: 2.285 MB / 4.873 GB, free: 15.5 MB / 0.9874 GB Notification: Performance of SimCode: time 6.01e-07/7.925, allocations: 0 / 4.873 GB, free: 15.5 MB / 0.9874 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)