Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Examples_AirHeater_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.026/4.026, allocations: 403.3 MB / 415.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.589e-05/3.593e-05, allocations: 4 kB / 0.4991 GB, free: 13.38 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6273/0.6274, allocations: 92.69 MB / 0.5896 GB, free: 14.39 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.701/7.329, allocations: 2.212 GB / 2.802 GB, free: 46.77 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003217/7.329, allocations: 95.95 kB / 2.802 GB, free: 46.72 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 10.47/17.8, allocations: 1.914 GB / 4.716 GB, free: 88.24 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.763e-06/17.8, allocations: 1.781 kB / 4.716 GB, free: 88.24 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0004411/17.8, allocations: 66.58 kB / 4.717 GB, free: 88.24 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 395 * Number of variables: 395 Notification: Performance of Generate backend data structure: time 0.009916/17.81, allocations: 2.651 MB / 4.719 GB, free: 87.27 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/17.81, allocations: 9.875 kB / 4.719 GB, free: 87.27 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007724/17.81, allocations: 223.2 kB / 4.719 GB, free: 87.22 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008128/17.82, allocations: 0.7856 MB / 4.72 GB, free: 87.09 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009242/17.83, allocations: 2.395 MB / 4.722 GB, free: 86.71 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001561/17.83, allocations: 127.4 kB / 4.723 GB, free: 86.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00049/17.83, allocations: 173.8 kB / 4.723 GB, free: 86.7 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005246/17.83, allocations: 1.801 MB / 4.725 GB, free: 86.46 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.476e-05/17.83, allocations: 2.406 kB / 4.725 GB, free: 86.46 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002994/17.83, allocations: 70.11 kB / 4.725 GB, free: 86.46 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.455e-05/17.83, allocations: 54.28 kB / 4.725 GB, free: 86.46 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004499/17.84, allocations: 1.404 MB / 4.726 GB, free: 86.45 MB / 0.823 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.01747/17.86, allocations: 8.22 MB / 4.734 GB, free: 82.55 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002854/17.86, allocations: 1.63 MB / 4.736 GB, free: 81.77 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001278/17.86, allocations: 0.5358 MB / 4.736 GB, free: 81.76 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000478/17.86, allocations: 123.5 kB / 4.736 GB, free: 81.66 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001756/17.86, allocations: 0.6712 MB / 4.737 GB, free: 81.55 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001529/17.87, allocations: 127.7 kB / 4.737 GB, free: 81.53 MB / 0.823 GB Notification: Performance of pre-optimization done (n=99): time 5.41e-06/17.87, allocations: 0 / 4.737 GB, free: 81.53 MB / 0.823 GB Notification: Performance of matching and sorting (n=102): time 0.009791/17.87, allocations: 3.054 MB / 4.74 GB, free: 80.5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/17.88, allocations: 300.2 kB / 4.74 GB, free: 80.16 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002875/17.88, allocations: 1.37 MB / 4.742 GB, free: 79.94 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003969/17.88, allocations: 53.61 kB / 4.742 GB, free: 79.91 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001144/17.88, allocations: 1.015 MB / 4.743 GB, free: 79.64 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005184/17.88, allocations: 359.6 kB / 4.743 GB, free: 79.42 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/17.88, allocations: 26.41 kB / 4.743 GB, free: 79.42 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001062/17.88, allocations: 357.8 kB / 4.743 GB, free: 79.12 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001124/17.88, allocations: 437.2 kB / 4.744 GB, free: 79.12 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001414/17.88, allocations: 0.8444 MB / 4.745 GB, free: 78.67 MB / 0.823 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.01473/17.9, allocations: 2.176 MB / 4.747 GB, free: 78.48 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-05/17.9, allocations: 3.875 kB / 4.747 GB, free: 78.48 MB / 0.823 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.00407/17.9, allocations: 1.584 MB / 4.748 GB, free: 78.19 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008213/17.9, allocations: 3.232 MB / 4.751 GB, free: 74.84 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.224e-05/17.9, allocations: 10.5 kB / 4.751 GB, free: 74.84 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002315/17.9, allocations: 41.7 kB / 4.752 GB, free: 74.83 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002549/17.91, allocations: 292.5 kB / 4.752 GB, free: 74.83 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001381/17.91, allocations: 1.483 MB / 4.753 GB, free: 73.49 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003601/17.91, allocations: 170.2 kB / 4.753 GB, free: 73.48 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002499/17.91, allocations: 65.25 kB / 4.753 GB, free: 73.48 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/17.91, allocations: 6.703 kB / 4.753 GB, free: 73.48 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003292/17.91, allocations: 1.375 MB / 4.755 GB, free: 73.32 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.057e-05/17.91, allocations: 7.219 kB / 4.755 GB, free: 73.32 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001347/17.91, allocations: 45.56 kB / 4.755 GB, free: 73.32 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002164/17.92, allocations: 276 kB / 4.755 GB, free: 73.32 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001205/17.92, allocations: 1.495 MB / 4.757 GB, free: 71.98 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003344/17.92, allocations: 153.4 kB / 4.757 GB, free: 71.97 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001977/17.92, allocations: 52.95 kB / 4.757 GB, free: 71.97 MB / 0.823 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: 35 * 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 (152): * Single equations (assignments): 147 * 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.0005205/17.92, allocations: 187.1 kB / 4.757 GB, free: 71.86 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004637/17.92, allocations: 200.7 kB / 4.757 GB, free: 71.76 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003545/17.93, allocations: 1.291 MB / 4.758 GB, free: 71.57 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/17.93, allocations: 15.31 kB / 4.758 GB, free: 71.57 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/17.93, allocations: 5.078 kB / 4.758 GB, free: 71.56 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002365/17.93, allocations: 1.039 MB / 4.759 GB, free: 71.37 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00953/17.94, allocations: 3.447 MB / 4.763 GB, free: 70.54 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.427e-05/17.94, allocations: 3.781 kB / 4.763 GB, free: 70.54 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002721/17.94, allocations: 223.5 kB / 4.763 GB, free: 70.54 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003512/17.94, allocations: 73.84 kB / 4.763 GB, free: 70.52 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002139/17.94, allocations: 29.5 kB / 4.763 GB, free: 70.52 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002296/17.94, allocations: 2.732 MB / 4.766 GB, free: 68.02 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/17.94, allocations: 0 / 4.766 GB, free: 68.02 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004927/17.95, allocations: 1.932 MB / 4.768 GB, free: 67.61 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001807/17.95, allocations: 383.1 kB / 4.768 GB, free: 67.41 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007426/17.95, allocations: 22.91 kB / 4.768 GB, free: 67.41 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003259/17.95, allocations: 167.2 kB / 4.768 GB, free: 67.4 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004711/17.96, allocations: 68.64 kB / 4.768 GB, free: 67.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001833/17.96, allocations: 43.66 kB / 4.768 GB, free: 67.4 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.00249/17.96, allocations: 1.05 MB / 4.769 GB, free: 67.24 MB / 0.823 GB Notification: Performance of sort global known variables: time 9.02e-07/17.96, allocations: 0 / 4.769 GB, free: 67.24 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.00754/17.97, allocations: 1.299 MB / 4.771 GB, free: 67.18 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (100): * Single equations (assignments): 96 * 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.01184/17.98, allocations: 5.904 MB / 4.776 GB, free: 64.88 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.005276/17.98, allocations: 2.236 MB / 4.779 GB, free: 64.43 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.216e-05/17.98, allocations: 7.688 kB / 4.779 GB, free: 64.43 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001484/17.98, allocations: 0.7286 MB / 4.779 GB, free: 64.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01241/18, allocations: 0.9906 MB / 4.78 GB, free: 64.18 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01926/18.02, allocations: 3.759 MB / 4.784 GB, free: 63.27 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00149/18.02, allocations: 1.652 MB / 4.786 GB, free: 62.53 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.005825/18.02, allocations: 0.7042 MB / 4.786 GB, free: 62.51 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001934/18.03, allocations: 0.8378 MB / 4.787 GB, free: 62.5 MB / 0.823 GB Notification: Performance of SimCode: time 1.533e-06/18.03, allocations: 3.688 kB / 4.787 GB, free: 62.5 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2317/18.26, allocations: 107.9 MB / 4.892 GB, free: 40.61 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002638/18.26, allocations: 221.6 kB / 4.893 GB, free: 40.38 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.67/25.93, allocations: 3.938 kB / 4.893 GB, free: 40.38 MB / 0.823 GB