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 3.991/3.991, allocations: 403.3 MB / 415.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.72e-05/3.725e-05, allocations: 4 kB / 0.4991 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6067/0.6068, allocations: 92.68 MB / 0.5896 GB, free: 14.37 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.549/7.156, allocations: 2.212 GB / 2.802 GB, free: 62.6 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003002/7.156, allocations: 97.69 kB / 2.802 GB, free: 62.55 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 10.87/18.03, allocations: 1.914 GB / 4.717 GB, free: 90.98 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.813e-06/18.03, allocations: 0 / 4.717 GB, free: 90.98 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0004595/18.03, allocations: 64.98 kB / 4.717 GB, free: 90.98 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.00984/18.04, allocations: 2.652 MB / 4.719 GB, free: 90.21 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/18.04, allocations: 10.19 kB / 4.719 GB, free: 90.21 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007693/18.04, allocations: 223.3 kB / 4.719 GB, free: 90.16 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01132/18.05, allocations: 0.7821 MB / 4.72 GB, free: 90.02 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01291/18.06, allocations: 2.393 MB / 4.722 GB, free: 89.64 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002348/18.07, allocations: 129.8 kB / 4.723 GB, free: 89.64 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007649/18.07, allocations: 175.1 kB / 4.723 GB, free: 89.64 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007826/18.07, allocations: 1.782 MB / 4.725 GB, free: 89.41 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.835e-05/18.07, allocations: 5 kB / 4.725 GB, free: 89.41 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004324/18.07, allocations: 71.11 kB / 4.725 GB, free: 89.41 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001414/18.07, allocations: 55.31 kB / 4.725 GB, free: 89.41 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006933/18.08, allocations: 1.371 MB / 4.726 GB, free: 89.4 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.02236/18.1, allocations: 8.231 MB / 4.734 GB, free: 85.49 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002953/18.11, allocations: 1.613 MB / 4.736 GB, free: 84.71 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001332/18.11, allocations: 0.5368 MB / 4.736 GB, free: 84.7 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004895/18.11, allocations: 116.7 kB / 4.736 GB, free: 84.61 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00181/18.11, allocations: 0.6682 MB / 4.737 GB, free: 84.5 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001559/18.11, allocations: 134.6 kB / 4.737 GB, free: 84.48 MB / 0.823 GB Notification: Performance of pre-optimization done (n=99): time 5.42e-06/18.11, allocations: 0 / 4.737 GB, free: 84.48 MB / 0.823 GB Notification: Performance of matching and sorting (n=102): time 0.0104/18.12, allocations: 3.049 MB / 4.74 GB, free: 83.45 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/18.12, allocations: 304.1 kB / 4.74 GB, free: 83.11 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003004/18.13, allocations: 1.365 MB / 4.742 GB, free: 82.89 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004316/18.13, allocations: 50.58 kB / 4.742 GB, free: 82.86 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001158/18.13, allocations: 1.013 MB / 4.743 GB, free: 82.59 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005662/18.13, allocations: 361.7 kB / 4.743 GB, free: 82.41 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/18.13, allocations: 30.22 kB / 4.743 GB, free: 82.41 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001082/18.13, allocations: 349.6 kB / 4.743 GB, free: 82.11 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001134/18.13, allocations: 445.3 kB / 4.744 GB, free: 82.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001451/18.13, allocations: 0.8294 MB / 4.745 GB, free: 81.66 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.01437/18.15, allocations: 2.162 MB / 4.747 GB, free: 81.48 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.23e-05/18.15, allocations: 3.812 kB / 4.747 GB, free: 81.48 MB / 0.823 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.004066/18.15, allocations: 1.557 MB / 4.748 GB, free: 81.19 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007264/18.15, allocations: 3.238 MB / 4.751 GB, free: 77.84 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.284e-05/18.15, allocations: 15.14 kB / 4.751 GB, free: 77.84 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002224/18.15, allocations: 35.64 kB / 4.751 GB, free: 77.83 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002473/18.15, allocations: 294.3 kB / 4.752 GB, free: 77.83 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001332/18.15, allocations: 1.489 MB / 4.753 GB, free: 76.49 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003566/18.16, allocations: 168.2 kB / 4.753 GB, free: 76.48 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003189/18.16, allocations: 58.95 kB / 4.753 GB, free: 76.48 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/18.16, allocations: 2.625 kB / 4.753 GB, free: 76.48 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00322/18.16, allocations: 1.345 MB / 4.755 GB, free: 76.33 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.189e-05/18.16, allocations: 13.48 kB / 4.755 GB, free: 76.33 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001345/18.16, allocations: 45.41 kB / 4.755 GB, free: 76.32 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002182/18.16, allocations: 282.4 kB / 4.755 GB, free: 76.32 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001187/18.17, allocations: 1.482 MB / 4.756 GB, free: 74.99 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003381/18.17, allocations: 155.6 kB / 4.757 GB, free: 74.98 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002723/18.17, allocations: 55.05 kB / 4.757 GB, free: 74.98 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.0005088/18.17, allocations: 189.4 kB / 4.757 GB, free: 74.88 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005786/18.17, allocations: 198 kB / 4.757 GB, free: 74.77 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003478/18.17, allocations: 1.292 MB / 4.758 GB, free: 74.58 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.506e-05/18.17, allocations: 10.25 kB / 4.758 GB, free: 74.58 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/18.17, allocations: 6.312 kB / 4.758 GB, free: 74.58 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002386/18.18, allocations: 1.042 MB / 4.759 GB, free: 74.39 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008795/18.18, allocations: 3.446 MB / 4.763 GB, free: 73.57 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/18.18, allocations: 3.797 kB / 4.763 GB, free: 73.57 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002164/18.19, allocations: 226.8 kB / 4.763 GB, free: 73.57 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003174/18.19, allocations: 68.5 kB / 4.763 GB, free: 73.55 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001245/18.19, allocations: 30.06 kB / 4.763 GB, free: 73.55 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002128/18.19, allocations: 2.729 MB / 4.766 GB, free: 71.05 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/18.19, allocations: 2.906 kB / 4.766 GB, free: 71.05 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004467/18.19, allocations: 1.932 MB / 4.768 GB, free: 70.62 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001466/18.2, allocations: 383.8 kB / 4.768 GB, free: 70.43 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005348/18.2, allocations: 22.94 kB / 4.768 GB, free: 70.43 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002933/18.2, allocations: 163.5 kB / 4.768 GB, free: 70.42 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002627/18.2, allocations: 72.16 kB / 4.768 GB, free: 70.42 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001408/18.2, allocations: 35.81 kB / 4.768 GB, free: 70.42 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002312/18.2, allocations: 1.052 MB / 4.769 GB, free: 70.26 MB / 0.823 GB Notification: Performance of sort global known variables: time 7.81e-07/18.2, allocations: 0 / 4.769 GB, free: 70.26 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.006615/18.21, allocations: 1.307 MB / 4.771 GB, free: 70.21 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.01096/18.22, allocations: 5.974 MB / 4.776 GB, free: 67.85 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.005287/18.23, allocations: 2.188 MB / 4.778 GB, free: 67.42 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/18.23, allocations: 7.594 kB / 4.779 GB, free: 67.42 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001635/18.23, allocations: 0.716 MB / 4.779 GB, free: 67.21 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008217/18.24, allocations: 0.9964 MB / 4.78 GB, free: 67.18 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01298/18.25, allocations: 3.753 MB / 4.784 GB, free: 66.27 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001477/18.25, allocations: 1.656 MB / 4.785 GB, free: 65.53 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.00578/18.26, allocations: 0.7048 MB / 4.786 GB, free: 65.51 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001906/18.26, allocations: 0.8402 MB / 4.787 GB, free: 65.5 MB / 0.823 GB Notification: Performance of SimCode: time 1.663e-06/18.26, allocations: 2.344 kB / 4.787 GB, free: 65.5 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2293/18.49, allocations: 108 MB / 4.892 GB, free: 59.82 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002652/18.49, allocations: 216.2 kB / 4.893 GB, free: 59.6 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.878/26.37, allocations: 0 / 4.893 GB, free: 59.6 MB / 0.823 GB