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={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.616/4.616, allocations: 404.1 MB / 411.3 MB, free: 388 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.771e-05/2.773e-05, allocations: 4 kB / 0.4945 GB, free: 1.336 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6605/0.6606, allocations: 92.7 MB / 0.5851 GB, free: 2.328 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.298/7.959, allocations: 2.212 GB / 2.797 GB, free: 76.01 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004253/7.959, allocations: 101.2 kB / 2.797 GB, free: 75.96 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 11.23/19.19, allocations: 1.893 GB / 4.69 GB, free: 2.41 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.244e-06/19.19, allocations: 0 / 4.69 GB, free: 2.41 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0005552/19.19, allocations: 63.92 kB / 4.69 GB, free: 2.348 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.7564/19.95, allocations: 2.65 MB / 4.693 GB, free: 88.18 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.863e-05/19.95, allocations: 9.688 kB / 4.693 GB, free: 88.18 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01067/19.96, allocations: 0.7787 MB / 4.694 GB, free: 88.05 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01312/19.97, allocations: 2.396 MB / 4.696 GB, free: 87.67 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001866/19.97, allocations: 49.5 kB / 4.696 GB, free: 87.67 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008652/19.97, allocations: 100.2 kB / 4.696 GB, free: 87.67 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00572/19.98, allocations: 1.321 MB / 4.698 GB, free: 87.66 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007509/19.99, allocations: 1.564 MB / 4.699 GB, free: 87.43 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.256e-05/19.99, allocations: 5.297 kB / 4.699 GB, free: 87.43 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000512/19.99, allocations: 3.562 kB / 4.699 GB, free: 87.43 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000126/19.99, allocations: 54.75 kB / 4.699 GB, free: 87.43 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.02311/20.01, allocations: 7.945 MB / 4.707 GB, free: 83.58 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002997/20.02, allocations: 1.599 MB / 4.708 GB, free: 82.8 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00167/20.02, allocations: 0.5176 MB / 4.709 GB, free: 82.79 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006269/20.02, allocations: 117.3 kB / 4.709 GB, free: 82.69 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001905/20.02, allocations: 0.6313 MB / 4.71 GB, free: 82.59 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001868/20.02, allocations: 93.08 kB / 4.71 GB, free: 82.57 MB / 0.823 GB Notification: Performance of pre-optimization done (n=99): time 1.402e-05/20.02, allocations: 0 / 4.71 GB, free: 82.57 MB / 0.823 GB Notification: Performance of matching and sorting (n=102): time 0.01441/20.04, allocations: 3.077 MB / 4.713 GB, free: 81.55 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/20.04, allocations: 298.3 kB / 4.713 GB, free: 81.21 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003634/20.04, allocations: 1.232 MB / 4.714 GB, free: 81 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004393/20.04, allocations: 31.2 kB / 4.714 GB, free: 80.97 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001611/20.04, allocations: 1.001 MB / 4.715 GB, free: 80.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006817/20.04, allocations: 342.6 kB / 4.716 GB, free: 80.52 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/20.04, allocations: 1.875 kB / 4.716 GB, free: 80.52 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001555/20.04, allocations: 360.3 kB / 4.716 GB, free: 80.21 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/20.04, allocations: 428.1 kB / 4.716 GB, free: 80.21 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001804/20.05, allocations: 0.8154 MB / 4.717 GB, free: 79.77 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.01036/20.06, allocations: 1.806 MB / 4.719 GB, free: 79.61 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.438e-05/20.06, allocations: 3.781 kB / 4.719 GB, free: 79.61 MB / 0.823 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.005643/20.06, allocations: 1.505 MB / 4.72 GB, free: 79.35 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007957/20.06, allocations: 3.224 MB / 4.723 GB, free: 75.99 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.878e-05/20.06, allocations: 14.41 kB / 4.724 GB, free: 75.99 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002747/20.06, allocations: 40.45 kB / 4.724 GB, free: 75.98 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002975/20.07, allocations: 293 kB / 4.724 GB, free: 75.98 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001527/20.07, allocations: 1.423 MB / 4.725 GB, free: 74.71 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004133/20.07, allocations: 150.4 kB / 4.725 GB, free: 74.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004744/20.07, allocations: 58.14 kB / 4.725 GB, free: 74.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/20.07, allocations: 3.5 kB / 4.725 GB, free: 74.7 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00454/20.08, allocations: 1.261 MB / 4.727 GB, free: 74.57 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.596e-05/20.08, allocations: 8.969 kB / 4.727 GB, free: 74.57 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001542/20.08, allocations: 42.34 kB / 4.727 GB, free: 74.56 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002744/20.08, allocations: 280.1 kB / 4.727 GB, free: 74.56 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001438/20.08, allocations: 1.423 MB / 4.728 GB, free: 73.29 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003841/20.09, allocations: 127.6 kB / 4.728 GB, free: 73.29 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000408/20.09, allocations: 55.77 kB / 4.729 GB, free: 73.29 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.0006691/20.09, allocations: 149.6 kB / 4.729 GB, free: 73.18 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004392/20.09, allocations: 1.191 MB / 4.73 GB, free: 72.91 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008538/20.09, allocations: 196.7 kB / 4.73 GB, free: 72.81 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004736/20.1, allocations: 1.262 MB / 4.731 GB, free: 72.61 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.423e-05/20.1, allocations: 12.39 kB / 4.731 GB, free: 72.61 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/20.1, allocations: 3.188 kB / 4.731 GB, free: 72.61 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003514/20.1, allocations: 1.036 MB / 4.732 GB, free: 72.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01116/20.11, allocations: 3.234 MB / 4.735 GB, free: 71.61 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.279e-05/20.11, allocations: 8.906 kB / 4.735 GB, free: 71.61 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002733/20.11, allocations: 219.9 kB / 4.736 GB, free: 71.61 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004054/20.12, allocations: 66.86 kB / 4.736 GB, free: 71.59 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002606/20.12, allocations: 16.3 kB / 4.736 GB, free: 71.59 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002843/20.12, allocations: 2.637 MB / 4.738 GB, free: 69.21 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/20.12, allocations: 6.297 kB / 4.738 GB, free: 69.21 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005649/20.12, allocations: 1.914 MB / 4.74 GB, free: 68.77 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001784/20.13, allocations: 375.1 kB / 4.741 GB, free: 68.58 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008697/20.13, allocations: 10.22 kB / 4.741 GB, free: 68.58 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003687/20.13, allocations: 148.8 kB / 4.741 GB, free: 68.58 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003841/20.13, allocations: 70.16 kB / 4.741 GB, free: 68.58 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001818/20.13, allocations: 40.45 kB / 4.741 GB, free: 68.58 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002406/20.13, allocations: 0.9214 MB / 4.742 GB, free: 68.43 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.393e-06/20.13, allocations: 0 / 4.742 GB, free: 68.43 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.008047/20.14, allocations: 1.165 MB / 4.743 GB, free: 68.43 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.0135/20.16, allocations: 6.043 MB / 4.749 GB, free: 66.23 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.005895/20.16, allocations: 2.147 MB / 4.751 GB, free: 65.81 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.13e-05/20.16, allocations: 3.812 kB / 4.751 GB, free: 65.81 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001735/20.16, allocations: 0.6956 MB / 4.752 GB, free: 65.61 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009064/20.17, allocations: 0.9334 MB / 4.752 GB, free: 65.59 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01605/20.19, allocations: 3.661 MB / 4.756 GB, free: 64.74 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002541/20.19, allocations: 1.648 MB / 4.758 GB, free: 64 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.007029/20.2, allocations: 0.6892 MB / 4.758 GB, free: 63.98 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0023/20.2, allocations: 0.84 MB / 4.759 GB, free: 63.98 MB / 0.823 GB Notification: Performance of SimCode: time 1.473e-06/20.2, allocations: 0 / 4.759 GB, free: 63.98 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.227/20.43, allocations: 76.19 MB / 4.834 GB, free: 61.7 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002649/20.43, allocations: 188.9 kB / 4.834 GB, free: 61.49 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.968/27.4, allocations: 3.938 kB / 4.834 GB, free: 61.49 MB / 0.823 GB