Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneRoom.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.OneRoom,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.269/1.269, allocations: 249.4 MB / 256.7 MB, free: 6.953 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.001089/0.001089, allocations: 185 kB / 316 MB, free: 3.594 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.288/1.288, allocations: 205.1 MB / 0.5667 GB, free: 15.8 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.0008055/0.0008055, allocations: 97.39 kB / 0.671 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3707/0.3716, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.5596, allocations: 106.3 MB / 0.8846 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.42/4.98, allocations: 2.195 GB / 3.08 GB, free: 204.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002112/4.98, allocations: 87.8 kB / 3.08 GB, free: 204.8 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 2.403/7.383, allocations: 0.7807 GB / 3.861 GB, free: 73.82 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.009e-05/7.383, allocations: 9.531 kB / 3.861 GB, free: 73.82 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00346/7.386, allocations: 457.9 kB / 3.861 GB, free: 73.37 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002179/7.388, allocations: 0.9063 MB / 3.862 GB, free: 72.42 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.024e-05/7.388, allocations: 32 kB / 3.862 GB, free: 72.39 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002972/7.389, allocations: 60 kB / 3.862 GB, free: 72.33 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001863/7.391, allocations: 0.9372 MB / 3.863 GB, free: 71.39 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001929/7.393, allocations: 1.091 MB / 3.864 GB, free: 70.26 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.535e-05/7.393, allocations: 3.906 kB / 3.864 GB, free: 70.25 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/7.393, allocations: 0 / 3.864 GB, free: 70.25 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.485e-05/7.393, allocations: 49.98 kB / 3.864 GB, free: 70.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006478/7.399, allocations: 5.077 MB / 3.869 GB, free: 64.75 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007977/7.4, allocations: 0.5207 MB / 3.87 GB, free: 64.23 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009232/7.401, allocations: 0.6075 MB / 3.87 GB, free: 63.62 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005042/7.402, allocations: 0.685 MB / 3.871 GB, free: 62.79 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/7.402, allocations: 43.22 kB / 3.871 GB, free: 62.73 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=82): time 3.797e-06/7.402, allocations: 3.938 kB / 3.871 GB, free: 62.73 MB / 0.8698 GB Notification: Performance of matching and sorting (n=83): time 0.005897/7.408, allocations: 2.213 MB / 3.873 GB, free: 60.46 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/7.408, allocations: 72.12 kB / 3.873 GB, free: 60.38 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008037/7.408, allocations: 495.7 kB / 3.874 GB, free: 59.89 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.341e-05/7.409, allocations: 25.7 kB / 3.874 GB, free: 59.86 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/7.409, allocations: 360 kB / 3.874 GB, free: 59.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000245/7.409, allocations: 279.7 kB / 3.874 GB, free: 59.22 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/7.409, allocations: 4 kB / 3.874 GB, free: 59.22 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001299/7.409, allocations: 386.8 kB / 3.875 GB, free: 58.83 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00046/7.41, allocations: 349.5 kB / 3.875 GB, free: 58.49 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005127/7.41, allocations: 483.7 kB / 3.876 GB, free: 57.97 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000802/7.411, allocations: 448.3 kB / 3.876 GB, free: 57.54 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/7.411, allocations: 3.984 kB / 3.876 GB, free: 57.53 MB / 0.8698 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001742/7.413, allocations: 1.01 MB / 3.877 GB, free: 56.51 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/7.413, allocations: 8 kB / 3.877 GB, free: 56.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/7.413, allocations: 256 / 3.877 GB, free: 56.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002096/7.413, allocations: 56.83 kB / 3.877 GB, free: 56.45 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008035/7.414, allocations: 171.8 kB / 3.877 GB, free: 56.28 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004304/7.414, allocations: 0.6109 MB / 3.878 GB, free: 55.64 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/7.416, allocations: 75.75 kB / 3.878 GB, free: 55.57 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.544e-05/7.416, allocations: 36.05 kB / 3.878 GB, free: 55.53 MB / 0.8698 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.0001847/7.416, allocations: 124.8 kB / 3.878 GB, free: 55.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001995/7.416, allocations: 90.95 kB / 3.878 GB, free: 55.31 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001676/7.418, allocations: 0.9801 MB / 3.879 GB, free: 54.32 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/7.418, allocations: 12 kB / 3.879 GB, free: 54.31 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/7.418, allocations: 7.906 kB / 3.879 GB, free: 54.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00111/7.419, allocations: 0.9715 MB / 3.88 GB, free: 53.28 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00324/7.422, allocations: 2.101 MB / 3.882 GB, free: 51.14 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/7.422, allocations: 0 / 3.882 GB, free: 51.14 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/7.423, allocations: 203.8 kB / 3.882 GB, free: 50.94 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.465e-05/7.423, allocations: 4 kB / 3.882 GB, free: 50.93 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.116e-05/7.423, allocations: 15.98 kB / 3.882 GB, free: 50.92 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.229e-06/7.423, allocations: 4 kB / 3.882 GB, free: 50.91 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/7.423, allocations: 4 kB / 3.882 GB, free: 50.91 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001927/7.425, allocations: 1.565 MB / 3.884 GB, free: 49.33 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002829/7.428, allocations: 2.627 MB / 3.886 GB, free: 46.68 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005707/7.429, allocations: 268 kB / 3.887 GB, free: 46.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002041/7.429, allocations: 3.984 kB / 3.887 GB, free: 46.39 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/7.43, allocations: 79.77 kB / 3.887 GB, free: 46.32 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.325e-05/7.43, allocations: 36.72 kB / 3.887 GB, free: 46.28 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.838e-05/7.43, allocations: 31.98 kB / 3.887 GB, free: 46.25 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0004516/7.431, allocations: 387.2 kB / 3.887 GB, free: 45.88 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002381/7.433, allocations: 0.6874 MB / 3.888 GB, free: 45.19 MB / 0.8698 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.002644/7.436, allocations: 2.246 MB / 3.89 GB, free: 42.84 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001284/7.437, allocations: 0.8602 MB / 3.891 GB, free: 41.98 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/7.437, allocations: 0.5 kB / 3.891 GB, free: 41.98 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005099/7.437, allocations: 466.8 kB / 3.891 GB, free: 41.52 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002454/7.44, allocations: 496.3 kB / 3.892 GB, free: 41.05 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003745/7.444, allocations: 1.933 MB / 3.894 GB, free: 39.07 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001117/7.445, allocations: 1.287 MB / 3.895 GB, free: 37.76 MB / 0.8698 GB Notification: Performance of SimCode: time 1.312e-06/7.445, allocations: 0 / 3.895 GB, free: 37.76 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneRoom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_OneRoom_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_OneRoom.fmu > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1)