Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.432/1.432, allocations: 289.8 MB / 297.1 MB, free: 6.723 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.001058/0.001058, allocations: 177.3 kB / 366.3 MB, free: 2.031 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.048/1.048, allocations: 205.1 MB / 0.6256 GB, free: 5.863 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.0007804/0.0007803, allocations: 80.12 kB / 0.7395 GB, free: 39.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1881/0.1889, allocations: 122.4 MB / 0.8591 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4215/0.6104, allocations: 116.3 MB / 0.9726 GB, free: 68.08 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.288/3.899, allocations: 2.088 GB / 3.061 GB, free: 355.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/3.899, allocations: 86.34 kB / 3.061 GB, free: 355.5 MB / 0.948 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 5.001/8.9, allocations: 1.734 GB / 4.794 GB, free: 81.36 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/8.9, allocations: 8 kB / 4.794 GB, free: 81.35 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007664/8.908, allocations: 0.9751 MB / 4.795 GB, free: 80.38 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005799/8.914, allocations: 1.932 MB / 4.797 GB, free: 78.43 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00018/8.914, allocations: 84 kB / 4.797 GB, free: 78.35 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00119/8.915, allocations: 162.9 kB / 4.797 GB, free: 78.2 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006846/8.922, allocations: 3.09 MB / 4.8 GB, free: 75.1 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007437/8.929, allocations: 2.945 MB / 4.803 GB, free: 72.05 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001212/8.93, allocations: 15.69 kB / 4.803 GB, free: 72.04 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006401/8.93, allocations: 4 kB / 4.803 GB, free: 72.04 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001154/8.93, allocations: 121.1 kB / 4.803 GB, free: 71.91 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01709/8.947, allocations: 12.8 MB / 4.816 GB, free: 58.51 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003609/8.951, allocations: 2.685 MB / 4.819 GB, free: 55.85 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002449/8.954, allocations: 1.843 MB / 4.82 GB, free: 54.02 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001187/8.955, allocations: 1.493 MB / 4.822 GB, free: 52.23 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.135e-05/8.955, allocations: 64.75 kB / 4.822 GB, free: 52.15 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=278): time 4.819e-06/8.955, allocations: 3.125 kB / 4.822 GB, free: 52.15 MB / 0.9948 GB Notification: Performance of matching and sorting (n=278): time 0.00728/8.962, allocations: 3.18 MB / 4.825 GB, free: 48.93 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/8.962, allocations: 84.53 kB / 4.825 GB, free: 48.84 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001855/8.964, allocations: 1.007 MB / 4.826 GB, free: 47.83 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002128/8.964, allocations: 29.7 kB / 4.826 GB, free: 47.79 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003551/8.965, allocations: 0.7162 MB / 4.827 GB, free: 47.07 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000726/8.965, allocations: 0.9119 MB / 4.828 GB, free: 46.14 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/8.966, allocations: 0 / 4.828 GB, free: 46.14 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001374/8.966, allocations: 404.5 kB / 4.828 GB, free: 45.74 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001579/8.967, allocations: 1.137 MB / 4.829 GB, free: 44.6 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001718/8.969, allocations: 1.449 MB / 4.831 GB, free: 43.06 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003075/8.972, allocations: 1.558 MB / 4.832 GB, free: 41.49 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/8.972, allocations: 0 / 4.832 GB, free: 41.49 MB / 0.9948 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005448/8.978, allocations: 3.224 MB / 4.835 GB, free: 38.24 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/8.978, allocations: 7.906 kB / 4.835 GB, free: 38.23 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/8.978, allocations: 4 kB / 4.835 GB, free: 38.23 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.789e-05/8.978, allocations: 16 kB / 4.835 GB, free: 38.21 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00241/8.98, allocations: 0.5364 MB / 4.836 GB, free: 37.68 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.344e-05/8.98, allocations: 16 kB / 4.836 GB, free: 37.66 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003155/8.983, allocations: 274.2 kB / 4.836 GB, free: 37.41 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002623/8.984, allocations: 88.53 kB / 4.836 GB, free: 37.32 MB / 0.9948 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/8.984, allocations: 147.1 kB / 4.836 GB, free: 37.17 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006629/8.985, allocations: 225.2 kB / 4.837 GB, free: 36.95 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00591/8.991, allocations: 3.338 MB / 4.84 GB, free: 33.58 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-05/8.991, allocations: 28 kB / 4.84 GB, free: 33.55 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/8.991, allocations: 0 / 4.84 GB, free: 33.55 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004311/8.995, allocations: 2.844 MB / 4.843 GB, free: 30.64 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01101/9.006, allocations: 6.293 MB / 4.849 GB, free: 24.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.325e-06/9.006, allocations: 4 kB / 4.849 GB, free: 24.3 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002799/9.009, allocations: 0.5735 MB / 4.849 GB, free: 23.73 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-05/9.009, allocations: 8 kB / 4.849 GB, free: 23.72 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002092/9.009, allocations: 35.95 kB / 4.849 GB, free: 23.68 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.605e-05/9.009, allocations: 12 kB / 4.849 GB, free: 23.67 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/9.009, allocations: 0 / 4.849 GB, free: 23.67 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007316/9.016, allocations: 5.129 MB / 4.854 GB, free: 18.47 MB / 0.9948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009949/9.026, allocations: 7.73 MB / 4.862 GB, free: 10.65 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001612/9.028, allocations: 0.6226 MB / 4.863 GB, free: 10.01 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000627/9.029, allocations: 8 kB / 4.863 GB, free: 10 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002645/9.031, allocations: 187.5 kB / 4.863 GB, free: 9.816 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000224/9.032, allocations: 134 kB / 4.863 GB, free: 9.684 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002097/9.032, allocations: 87.95 kB / 4.863 GB, free: 9.598 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.001253/9.033, allocations: 0.7754 MB / 4.864 GB, free: 8.824 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.005028/9.038, allocations: 1.74 MB / 4.865 GB, free: 7.082 MB / 0.9948 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.005243/9.043, allocations: 4.706 MB / 4.87 GB, free: 2.422 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.004573/9.048, allocations: 2.856 MB / 4.873 GB, free: 15.54 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/9.048, allocations: 0 / 4.873 GB, free: 15.54 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002316/9.05, allocations: 1.539 MB / 4.874 GB, free: 14 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006054/9.056, allocations: 1.075 MB / 4.875 GB, free: 12.95 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01191/9.068, allocations: 5.259 MB / 4.88 GB, free: 7.707 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003613/9.072, allocations: 2.285 MB / 4.883 GB, free: 5.387 MB / 1.01 GB Notification: Performance of SimCode: time 1.343e-06/9.072, allocations: 0 / 4.883 GB, free: 5.387 MB / 1.01 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)