Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.401/2.401, allocations: 284.8 MB / 292.1 MB, free: 1.465 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.002957/0.002957, allocations: 183 kB / 360.3 MB, free: 15.63 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.833/1.833, allocations: 205.1 MB / 0.6187 GB, free: 6.66 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.001235/0.001235, allocations: 97.39 kB / 0.7317 GB, free: 47.01 MB / 0.5186 GB Notification: Performance of FrontEnd - loaded program: time 0.2679/0.2692, allocations: 121.4 MB / 0.8502 GB, free: 13.67 MB / 0.5967 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5834/0.8527, allocations: 115.2 MB / 0.9627 GB, free: 86.41 MB / 0.6749 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.32/5.172, allocations: 2.087 GB / 3.05 GB, free: 4.945 MB / 0.9405 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00031/5.173, allocations: 87.39 kB / 3.05 GB, free: 4.902 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 8.04/13.21, allocations: 1.734 GB / 4.783 GB, free: 96.06 MB / 0.9874 GB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/13.21, allocations: 8.969 kB / 4.783 GB, free: 96.06 MB / 0.9874 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01164/13.22, allocations: 0.9716 MB / 4.784 GB, free: 95.59 MB / 0.9874 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007688/13.23, allocations: 1.931 MB / 4.786 GB, free: 93.74 MB / 0.9874 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001467/13.23, allocations: 83.91 kB / 4.786 GB, free: 93.66 MB / 0.9874 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001043/13.23, allocations: 160 kB / 4.786 GB, free: 93.5 MB / 0.9874 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01045/13.24, allocations: 3.09 MB / 4.789 GB, free: 90.41 MB / 0.9874 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01004/13.25, allocations: 2.945 MB / 4.792 GB, free: 87.36 MB / 0.9874 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001093/13.25, allocations: 11.84 kB / 4.792 GB, free: 87.35 MB / 0.9874 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004257/13.25, allocations: 4 kB / 4.792 GB, free: 87.34 MB / 0.9874 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001343/13.25, allocations: 119.4 kB / 4.792 GB, free: 87.23 MB / 0.9874 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02831/13.28, allocations: 12.8 MB / 4.805 GB, free: 73.84 MB / 0.9874 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006988/13.29, allocations: 2.694 MB / 4.808 GB, free: 71.17 MB / 0.9874 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004834/13.29, allocations: 1.841 MB / 4.809 GB, free: 69.34 MB / 0.9874 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00189/13.3, allocations: 1.496 MB / 4.811 GB, free: 67.55 MB / 0.9874 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.401e-05/13.3, allocations: 65.41 kB / 4.811 GB, free: 67.47 MB / 0.9874 GB Notification: Performance of pre-optimization done (n=278): time 4.87e-06/13.3, allocations: 0 / 4.811 GB, free: 67.47 MB / 0.9874 GB Notification: Performance of matching and sorting (n=278): time 0.01345/13.31, allocations: 3.18 MB / 4.814 GB, free: 64.26 MB / 0.9874 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/13.31, allocations: 81.59 kB / 4.814 GB, free: 64.16 MB / 0.9874 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002393/13.31, allocations: 1.011 MB / 4.815 GB, free: 63.15 MB / 0.9874 GB Notification: Performance of collectPreVariables (initialization): time 0.0006857/13.31, allocations: 29.7 kB / 4.815 GB, free: 63.11 MB / 0.9874 GB Notification: Performance of collectInitialEqns (initialization): time 0.000422/13.31, allocations: 0.7171 MB / 4.816 GB, free: 62.39 MB / 0.9874 GB Notification: Performance of collectInitialBindings (initialization): time 0.001452/13.32, allocations: 0.908 MB / 4.817 GB, free: 61.46 MB / 0.9874 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002315/13.32, allocations: 0 / 4.817 GB, free: 61.46 MB / 0.9874 GB Notification: Performance of setup shared object (initialization): time 0.0002102/13.32, allocations: 402.9 kB / 4.817 GB, free: 61.07 MB / 0.9874 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00302/13.32, allocations: 1.137 MB / 4.818 GB, free: 59.93 MB / 0.9874 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003475/13.32, allocations: 1.456 MB / 4.82 GB, free: 58.38 MB / 0.9874 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005896/13.33, allocations: 1.55 MB / 4.821 GB, free: 56.82 MB / 0.9874 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.553e-05/13.33, allocations: 4 kB / 4.821 GB, free: 56.82 MB / 0.9874 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.01092/13.34, allocations: 3.215 MB / 4.824 GB, free: 53.57 MB / 0.9874 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/13.34, allocations: 4 kB / 4.824 GB, free: 53.56 MB / 0.9874 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.338e-05/13.34, allocations: 4 kB / 4.824 GB, free: 53.56 MB / 0.9874 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.008e-05/13.34, allocations: 19.91 kB / 4.824 GB, free: 53.54 MB / 0.9874 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005524/13.34, allocations: 0.5368 MB / 4.825 GB, free: 53.01 MB / 0.9874 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-05/13.34, allocations: 23.88 kB / 4.825 GB, free: 52.98 MB / 0.9874 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006184/13.35, allocations: 276.4 kB / 4.825 GB, free: 52.73 MB / 0.9874 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009419/13.35, allocations: 91.97 kB / 4.825 GB, free: 52.64 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.0008372/13.35, allocations: 148.4 kB / 4.825 GB, free: 52.49 MB / 0.9874 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009462/13.35, allocations: 217.4 kB / 4.826 GB, free: 52.27 MB / 0.9874 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01203/13.37, allocations: 3.33 MB / 4.829 GB, free: 48.91 MB / 0.9874 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.028e-05/13.37, allocations: 28 kB / 4.829 GB, free: 48.89 MB / 0.9874 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/13.37, allocations: 0 / 4.829 GB, free: 48.89 MB / 0.9874 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007731/13.37, allocations: 2.859 MB / 4.832 GB, free: 45.96 MB / 0.9874 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01753/13.39, allocations: 6.287 MB / 4.838 GB, free: 39.64 MB / 0.9874 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.389e-05/13.39, allocations: 3.938 kB / 4.838 GB, free: 39.63 MB / 0.9874 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005788/13.4, allocations: 0.5726 MB / 4.838 GB, free: 39.06 MB / 0.9874 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.335e-05/13.4, allocations: 8 kB / 4.838 GB, free: 39.05 MB / 0.9874 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004787/13.4, allocations: 38.7 kB / 4.838 GB, free: 39.02 MB / 0.9874 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-05/13.4, allocations: 15.98 kB / 4.838 GB, free: 39 MB / 0.9874 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/13.4, allocations: 0 / 4.838 GB, free: 39 MB / 0.9874 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01329/13.41, allocations: 5.128 MB / 4.843 GB, free: 33.8 MB / 0.9874 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01764/13.43, allocations: 7.723 MB / 4.851 GB, free: 26 MB / 0.9874 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002485/13.43, allocations: 0.6304 MB / 4.852 GB, free: 25.34 MB / 0.9874 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006636/13.43, allocations: 4 kB / 4.852 GB, free: 25.34 MB / 0.9874 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004383/13.44, allocations: 176.8 kB / 4.852 GB, free: 25.18 MB / 0.9874 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004295/13.44, allocations: 138 kB / 4.852 GB, free: 25.05 MB / 0.9874 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004349/13.44, allocations: 94.94 kB / 4.852 GB, free: 24.96 MB / 0.9874 GB Notification: Performance of sort global known variables: time 0.001734/13.44, allocations: 0.7715 MB / 4.853 GB, free: 24.19 MB / 0.9874 GB Notification: Performance of remove unused functions: time 0.00771/13.45, allocations: 1.744 MB / 4.854 GB, free: 22.44 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.007819/13.45, allocations: 4.701 MB / 4.859 GB, free: 18.18 MB / 0.9874 GB Notification: Performance of simCode: created initialization part: time 0.006787/13.46, allocations: 2.856 MB / 4.862 GB, free: 15.3 MB / 0.9874 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/13.46, allocations: 4 kB / 4.862 GB, free: 15.29 MB / 0.9874 GB Notification: Performance of simCode: created simulation system equations: time 0.003192/13.46, allocations: 1.53 MB / 4.863 GB, free: 13.77 MB / 0.9874 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009906/13.47, allocations: 1.081 MB / 4.864 GB, free: 12.72 MB / 0.9874 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01487/13.49, allocations: 5.258 MB / 4.869 GB, free: 7.48 MB / 0.9874 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004564/13.49, allocations: 2.289 MB / 4.872 GB, free: 5.16 MB / 0.9874 GB Notification: Performance of SimCode: time 1.342e-06/13.49, allocations: 0 / 4.872 GB, free: 5.16 MB / 0.9874 GB (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)