Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.304/1.304, allocations: 249.4 MB / 256.7 MB, free: 7.027 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.001004/0.001005, allocations: 176.7 kB / 316 MB, free: 3.574 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.203/1.203, allocations: 205.1 MB / 0.5667 GB, free: 15.67 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.000888/0.000888, allocations: 90.08 kB / 0.671 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3634/0.3644, allocations: 112.4 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.541, allocations: 106.3 MB / 0.8846 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.195/4.736, allocations: 2.206 GB / 3.091 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/4.736, allocations: 91.94 kB / 3.091 GB, free: 197 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: 677 * Number of variables: 677 Notification: Performance of Generate backend data structure: time 5.582/10.32, allocations: 1.687 GB / 4.778 GB, free: 92 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.547e-05/10.32, allocations: 7.062 kB / 4.778 GB, free: 92 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007586/10.33, allocations: 0.9789 MB / 4.779 GB, free: 91.83 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004919/10.33, allocations: 1.958 MB / 4.781 GB, free: 91.36 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.723e-05/10.33, allocations: 85.16 kB / 4.781 GB, free: 91.36 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004015/10.33, allocations: 157.5 kB / 4.781 GB, free: 91.36 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00515/10.34, allocations: 3.105 MB / 4.784 GB, free: 91.34 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004507/10.34, allocations: 2.968 MB / 4.787 GB, free: 91.04 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-05/10.34, allocations: 12.28 kB / 4.787 GB, free: 91.03 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002394/10.34, allocations: 3.875 kB / 4.787 GB, free: 91.03 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.657e-05/10.34, allocations: 123.2 kB / 4.787 GB, free: 91.02 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01681/10.36, allocations: 12.84 MB / 4.8 GB, free: 84.54 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003484/10.36, allocations: 2.704 MB / 4.803 GB, free: 84.46 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00222/10.36, allocations: 1.827 MB / 4.804 GB, free: 84.42 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001119/10.37, allocations: 1.496 MB / 4.806 GB, free: 82.82 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/10.37, allocations: 66.98 kB / 4.806 GB, free: 82.78 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=278): time 4.338e-06/10.37, allocations: 1.422 kB / 4.806 GB, free: 82.78 MB / 0.9323 GB Notification: Performance of matching and sorting (n=278): time 0.00703/10.37, allocations: 3.168 MB / 4.809 GB, free: 82.55 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/10.37, allocations: 80.66 kB / 4.809 GB, free: 82.48 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001462/10.37, allocations: 1.028 MB / 4.81 GB, free: 82.34 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002011/10.37, allocations: 25.7 kB / 4.81 GB, free: 82.31 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003063/10.37, allocations: 0.723 MB / 4.811 GB, free: 81.89 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007043/10.38, allocations: 0.9171 MB / 4.812 GB, free: 81.27 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/10.38, allocations: 0 / 4.812 GB, free: 81.27 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.000114/10.38, allocations: 403.3 kB / 4.812 GB, free: 80.97 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001411/10.38, allocations: 1.135 MB / 4.813 GB, free: 80.96 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001661/10.38, allocations: 1.438 MB / 4.815 GB, free: 80.69 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002926/10.38, allocations: 1.548 MB / 4.816 GB, free: 80.65 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.657e-06/10.38, allocations: 0 / 4.816 GB, free: 80.65 MB / 0.9323 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005315/10.39, allocations: 3.207 MB / 4.819 GB, free: 80.43 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/10.39, allocations: 3.219 kB / 4.819 GB, free: 80.43 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/10.39, allocations: 6.688 kB / 4.819 GB, free: 80.43 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.037e-05/10.39, allocations: 12.69 kB / 4.819 GB, free: 80.43 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002337/10.39, allocations: 0.5351 MB / 4.82 GB, free: 80.43 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.07e-05/10.39, allocations: 19.86 kB / 4.82 GB, free: 80.43 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003033/10.39, allocations: 281.9 kB / 4.82 GB, free: 80.33 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002074/10.39, allocations: 90.88 kB / 4.82 GB, free: 80.33 MB / 0.9323 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.0004125/10.39, allocations: 149.5 kB / 4.82 GB, free: 80.22 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000462/10.39, allocations: 220.2 kB / 4.821 GB, free: 80.11 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006114/10.4, allocations: 3.321 MB / 4.824 GB, free: 79.95 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.277e-05/10.4, allocations: 24.19 kB / 4.824 GB, free: 79.95 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/10.4, allocations: 3.812 kB / 4.824 GB, free: 79.95 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004312/10.4, allocations: 2.83 MB / 4.827 GB, free: 79.71 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01105/10.42, allocations: 6.286 MB / 4.833 GB, free: 79.19 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/10.42, allocations: 6.156 kB / 4.833 GB, free: 79.19 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002814/10.42, allocations: 0.5719 MB / 4.833 GB, free: 79.19 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.323e-05/10.42, allocations: 10.5 kB / 4.833 GB, free: 79.19 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001729/10.42, allocations: 34.92 kB / 4.833 GB, free: 79.19 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.197e-06/10.42, allocations: 7.281 kB / 4.833 GB, free: 79.19 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/10.42, allocations: 2.875 kB / 4.833 GB, free: 79.19 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006967/10.43, allocations: 5.099 MB / 4.838 GB, free: 78.81 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009681/10.44, allocations: 7.678 MB / 4.846 GB, free: 78.03 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001815/10.44, allocations: 0.6389 MB / 4.846 GB, free: 77.79 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004635/10.44, allocations: 11.16 kB / 4.846 GB, free: 77.79 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002425/10.44, allocations: 189 kB / 4.847 GB, free: 77.77 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002423/10.44, allocations: 136.2 kB / 4.847 GB, free: 77.77 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002031/10.44, allocations: 91.3 kB / 4.847 GB, free: 77.77 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.001294/10.44, allocations: 0.7913 MB / 4.848 GB, free: 77.66 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.005808/10.45, allocations: 1.753 MB / 4.849 GB, free: 77.53 MB / 0.9323 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.006351/10.45, allocations: 4.714 MB / 4.854 GB, free: 75.55 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.004365/10.46, allocations: 2.836 MB / 4.857 GB, free: 75.49 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/10.46, allocations: 3.25 kB / 4.857 GB, free: 75.49 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001764/10.46, allocations: 1.526 MB / 4.858 GB, free: 75.48 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005139/10.47, allocations: 1.077 MB / 4.859 GB, free: 75.46 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009193/10.47, allocations: 5.292 MB / 4.864 GB, free: 74.5 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002494/10.48, allocations: 2.298 MB / 4.867 GB, free: 73.75 MB / 0.9323 GB Notification: Performance of SimCode: time 1.362e-06/10.48, allocations: 1.75 kB / 4.867 GB, free: 73.75 MB / 0.9323 GB (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)