Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_AirHeater_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.269/4.269, allocations: 464.6 MB / 476.8 MB, free: 2.125 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.226e-05/3.231e-05, allocations: 4 kB / 0.5732 GB, free: 5.625 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2874, allocations: 107.1 MB / 0.6778 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.189/7.476, allocations: 2.24 GB / 2.918 GB, free: 205.5 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003081/7.477, allocations: 93.27 kB / 2.918 GB, free: 205.4 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 9.797/17.27, allocations: 1.924 GB / 4.842 GB, free: 3.82 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.635e-06/17.27, allocations: 4 kB / 4.842 GB, free: 3.816 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0004039/17.27, allocations: 67.86 kB / 4.842 GB, free: 3.75 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 382 * Number of variables: 382 Notification: Performance of Generate backend data structure: time 0.01112/17.29, allocations: 2.61 MB / 4.844 GB, free: 1.07 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.148e-05/17.29, allocations: 8.031 kB / 4.844 GB, free: 1.062 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009643/17.29, allocations: 219.6 kB / 4.845 GB, free: 0.8359 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008676/17.3, allocations: 0.8046 MB / 4.845 GB, free: 28 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7284/18.02, allocations: 2.347 MB / 4.848 GB, free: 109 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000254/18.02, allocations: 124.6 kB / 4.848 GB, free: 109 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007828/18.02, allocations: 167.2 kB / 4.848 GB, free: 109 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006062/18.03, allocations: 1.716 MB / 4.85 GB, free: 108.8 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.718e-05/18.03, allocations: 1.031 kB / 4.85 GB, free: 108.8 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003078/18.03, allocations: 69.94 kB / 4.85 GB, free: 108.8 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001147/18.03, allocations: 54.23 kB / 4.85 GB, free: 108.8 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005066/18.04, allocations: 1.32 MB / 4.851 GB, free: 108.8 MB / 0.9323 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01986/18.06, allocations: 8.062 MB / 4.859 GB, free: 105 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00296/18.06, allocations: 1.599 MB / 4.86 GB, free: 104.2 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001598/18.06, allocations: 0.5553 MB / 4.861 GB, free: 104.2 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006891/18.06, allocations: 212.8 kB / 4.861 GB, free: 104 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001677/18.06, allocations: 0.5823 MB / 4.862 GB, free: 103.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001689/18.07, allocations: 121.7 kB / 4.862 GB, free: 103.9 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=102): time 6.352e-06/18.07, allocations: 0 / 4.862 GB, free: 103.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=105): time 0.01046/18.08, allocations: 2.677 MB / 4.865 GB, free: 103.2 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.132e-05/18.08, allocations: 170.2 kB / 4.865 GB, free: 103 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003736/18.08, allocations: 1.323 MB / 4.866 GB, free: 102.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0004313/18.08, allocations: 59.36 kB / 4.866 GB, free: 102.8 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001318/18.08, allocations: 0.9741 MB / 4.867 GB, free: 102.5 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007043/18.08, allocations: 369.2 kB / 4.867 GB, free: 102.3 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/18.08, allocations: 27.59 kB / 4.867 GB, free: 102.3 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001556/18.08, allocations: 356.3 kB / 4.868 GB, free: 102 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001218/18.08, allocations: 431.9 kB / 4.868 GB, free: 102 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001548/18.09, allocations: 0.7914 MB / 4.869 GB, free: 101.6 MB / 0.9323 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (hea.vol.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01582/18.1, allocations: 2.144 MB / 4.871 GB, free: 101.4 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-05/18.1, allocations: 2.781 kB / 4.871 GB, free: 101.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004739/18.11, allocations: 1.432 MB / 4.872 GB, free: 101.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007256/18.11, allocations: 3.04 MB / 4.875 GB, free: 98.07 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.211e-05/18.11, allocations: 9.109 kB / 4.875 GB, free: 98.07 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002997/18.11, allocations: 45.08 kB / 4.875 GB, free: 98.06 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002547/18.11, allocations: 282.8 kB / 4.876 GB, free: 98.06 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001475/18.11, allocations: 1.501 MB / 4.877 GB, free: 96.73 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00367/18.11, allocations: 166.4 kB / 4.877 GB, free: 96.72 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003383/18.12, allocations: 58.92 kB / 4.877 GB, free: 96.72 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/18.12, allocations: 3.938 kB / 4.877 GB, free: 96.72 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003702/18.12, allocations: 1.239 MB / 4.879 GB, free: 96.66 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.275e-05/18.12, allocations: 13.47 kB / 4.879 GB, free: 96.66 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001976/18.12, allocations: 44.67 kB / 4.879 GB, free: 96.65 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002441/18.12, allocations: 288.1 kB / 4.879 GB, free: 96.65 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001436/18.12, allocations: 1.493 MB / 4.88 GB, free: 95.32 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003672/18.13, allocations: 153.7 kB / 4.88 GB, free: 95.32 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003034/18.13, allocations: 58.44 kB / 4.881 GB, free: 95.32 MB / 0.9323 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 143 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005796/18.13, allocations: 183.7 kB / 4.881 GB, free: 95.21 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006462/18.13, allocations: 201.2 kB / 4.881 GB, free: 95.11 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003969/18.13, allocations: 1.234 MB / 4.882 GB, free: 95.01 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.926e-05/18.13, allocations: 12.97 kB / 4.882 GB, free: 95.01 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/18.13, allocations: 10.64 kB / 4.882 GB, free: 95.01 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002637/18.14, allocations: 0.974 MB / 4.883 GB, free: 94.91 MB / 0.9323 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009425/18.14, allocations: 3.354 MB / 4.886 GB, free: 94.23 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/18.14, allocations: 3.938 kB / 4.886 GB, free: 94.23 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002148/18.15, allocations: 240.1 kB / 4.887 GB, free: 94.23 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003719/18.15, allocations: 74.39 kB / 4.887 GB, free: 94.22 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001487/18.15, allocations: 28 kB / 4.887 GB, free: 94.22 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002259/18.15, allocations: 2.74 MB / 4.889 GB, free: 91.71 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/18.15, allocations: 0 / 4.889 GB, free: 91.71 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004913/18.15, allocations: 1.957 MB / 4.891 GB, free: 91.29 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001789/18.16, allocations: 381 kB / 4.892 GB, free: 91.09 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005758/18.16, allocations: 25.25 kB / 4.892 GB, free: 91.09 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003158/18.16, allocations: 158.2 kB / 4.892 GB, free: 91.09 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003182/18.16, allocations: 74.39 kB / 4.892 GB, free: 91.09 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001678/18.16, allocations: 48.19 kB / 4.892 GB, free: 91.09 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002474/18.16, allocations: 1.022 MB / 4.893 GB, free: 90.93 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6.91e-07/18.16, allocations: 0 / 4.893 GB, free: 90.93 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.007205/18.17, allocations: 1.309 MB / 4.894 GB, free: 90.93 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 9 (vol.dynBal.U,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U,hea.vol.dynBal.m,hea.vol.dynBal.mXi[1]) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01168/18.18, allocations: 6.235 MB / 4.9 GB, free: 88.45 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.005634/18.19, allocations: 2.163 MB / 4.902 GB, free: 88.04 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 9.809e-06/18.19, allocations: 2.812 kB / 4.902 GB, free: 88.04 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001554/18.19, allocations: 0.733 MB / 4.903 GB, free: 87.84 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0084/18.2, allocations: 0.9664 MB / 4.904 GB, free: 87.81 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01371/18.21, allocations: 3.765 MB / 4.908 GB, free: 86.93 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001554/18.21, allocations: 1.645 MB / 4.909 GB, free: 86.19 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.005563/18.22, allocations: 0.6966 MB / 4.91 GB, free: 86.17 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00193/18.22, allocations: 0.8266 MB / 4.911 GB, free: 86.16 MB / 0.9323 GB Notification: Performance of SimCode: time 1.152e-06/18.22, allocations: 0 / 4.911 GB, free: 86.16 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2252/18.45, allocations: 106.9 MB / 5.015 GB, free: 83 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002823/18.45, allocations: 220.7 kB / 5.015 GB, free: 82.77 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.923/26.37, allocations: 0 / 5.015 GB, free: 82.77 MB / 0.9323 GB