Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.OneRoom.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.OneRoom,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_OneRoom",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.188/2.188, allocations: 284.8 MB / 292.1 MB, free: 10.73 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.00166/0.001659, allocations: 185.2 kB / 360.3 MB, free: 7.539 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.782/1.782, allocations: 205.2 MB / 0.6187 GB, free: 13.21 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.001292/0.001291, allocations: 87.25 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2528/0.2542, allocations: 121.4 MB / 0.8502 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6297/0.8839, allocations: 115.2 MB / 0.9627 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.485/5.369, allocations: 2.076 GB / 3.039 GB, free: 42.89 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/5.369, allocations: 88.5 kB / 3.039 GB, free: 42.84 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: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 3.892/9.261, allocations: 0.8017 GB / 3.841 GB, free: 164.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.613e-05/9.261, allocations: 13.31 kB / 3.841 GB, free: 164.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008473/9.27, allocations: 461.4 kB / 3.841 GB, free: 164.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004439/9.274, allocations: 0.8984 MB / 3.842 GB, free: 164.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.296e-05/9.274, allocations: 29.97 kB / 3.842 GB, free: 164.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004724/9.275, allocations: 61.31 kB / 3.842 GB, free: 164.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004379/9.279, allocations: 0.9349 MB / 3.843 GB, free: 164.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004993/9.284, allocations: 1.065 MB / 3.844 GB, free: 163.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.916e-05/9.284, allocations: 5.656 kB / 3.844 GB, free: 163.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002626/9.285, allocations: 3.062 kB / 3.844 GB, free: 163.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001012/9.285, allocations: 45.12 kB / 3.844 GB, free: 163.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01492/9.3, allocations: 5.037 MB / 3.849 GB, free: 161.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001882/9.302, allocations: 0.5135 MB / 3.849 GB, free: 161.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002416/9.304, allocations: 0.607 MB / 3.85 GB, free: 161.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001014/9.305, allocations: 0.6758 MB / 3.851 GB, free: 160.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.623e-05/9.305, allocations: 45.31 kB / 3.851 GB, free: 160.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=82): time 6.362e-06/9.305, allocations: 0 / 3.851 GB, free: 160.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=83): time 0.01467/9.32, allocations: 2.236 MB / 3.853 GB, free: 159.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.63e-05/9.32, allocations: 64 kB / 3.853 GB, free: 159.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/9.321, allocations: 482.9 kB / 3.853 GB, free: 159.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002542/9.322, allocations: 25.7 kB / 3.853 GB, free: 159.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002865/9.322, allocations: 354.2 kB / 3.854 GB, free: 159.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00048/9.323, allocations: 284.5 kB / 3.854 GB, free: 159.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.796e-05/9.323, allocations: 0 / 3.854 GB, free: 159.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001933/9.323, allocations: 387.1 kB / 3.854 GB, free: 159 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009528/9.324, allocations: 359.8 kB / 3.855 GB, free: 159 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/9.325, allocations: 480.7 kB / 3.855 GB, free: 158.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002339/9.327, allocations: 457.5 kB / 3.856 GB, free: 158.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.818e-05/9.327, allocations: 0 / 3.856 GB, free: 158.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00474/9.332, allocations: 1.021 MB / 3.857 GB, free: 158.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/9.332, allocations: 5.812 kB / 3.857 GB, free: 158.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/9.332, allocations: 3.969 kB / 3.857 GB, free: 158.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003156/9.332, allocations: 46.44 kB / 3.857 GB, free: 158.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00184/9.334, allocations: 174.3 kB / 3.857 GB, free: 158.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007442/9.335, allocations: 0.6238 MB / 3.857 GB, free: 158.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002373/9.338, allocations: 76.52 kB / 3.858 GB, free: 158.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002075/9.338, allocations: 33.78 kB / 3.858 GB, free: 158.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003462/9.338, allocations: 113.6 kB / 3.858 GB, free: 158.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003502/9.339, allocations: 88.53 kB / 3.858 GB, free: 158.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003562/9.342, allocations: 0.9931 MB / 3.859 GB, free: 158 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.861e-05/9.342, allocations: 7.5 kB / 3.859 GB, free: 158 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.649e-06/9.342, allocations: 0 / 3.859 GB, free: 158 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002341/9.345, allocations: 0.9731 MB / 3.86 GB, free: 157.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0058/9.35, allocations: 2.107 MB / 3.862 GB, free: 157.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/9.35, allocations: 3.906 kB / 3.862 GB, free: 157.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002106/9.353, allocations: 205.6 kB / 3.862 GB, free: 157.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.37e-05/9.353, allocations: 7.172 kB / 3.862 GB, free: 157.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-05/9.353, allocations: 15.19 kB / 3.862 GB, free: 157.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/9.353, allocations: 0 / 3.862 GB, free: 157.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/9.353, allocations: 3.938 kB / 3.862 GB, free: 157.4 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00355/9.356, allocations: 1.581 MB / 3.864 GB, free: 157.2 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005526/9.362, allocations: 2.65 MB / 3.866 GB, free: 156.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009481/9.363, allocations: 258.4 kB / 3.866 GB, free: 156.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002594/9.363, allocations: 3.375 kB / 3.866 GB, free: 156.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001907/9.365, allocations: 75.72 kB / 3.866 GB, free: 156.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/9.365, allocations: 40 kB / 3.866 GB, free: 156.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/9.365, allocations: 34.33 kB / 3.866 GB, free: 156.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0007965/9.366, allocations: 380.5 kB / 3.867 GB, free: 156.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003571/9.37, allocations: 0.6805 MB / 3.868 GB, free: 156.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 83 * 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.003262/9.373, allocations: 2.257 MB / 3.87 GB, free: 155.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002243/9.375, allocations: 0.875 MB / 3.871 GB, free: 155.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/9.375, allocations: 0 / 3.871 GB, free: 155.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009128/9.376, allocations: 468.6 kB / 3.871 GB, free: 155.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004403/9.381, allocations: 490.5 kB / 3.871 GB, free: 155.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005137/9.386, allocations: 1.914 MB / 3.873 GB, free: 155.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001459/9.387, allocations: 1.268 MB / 3.875 GB, free: 154.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.012e-06/9.387, allocations: 0 / 3.875 GB, free: 154.7 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.OneRoom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_OneRoom_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_OneRoom.fmu > Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1)