Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_u,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Examples_AirHeater_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.129/3.129, allocations: 343.8 MB / 355.9 MB, free: 9.383 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.018e-05/5.03e-05, allocations: 4 kB / 436.6 MB, free: 2.379 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2413, allocations: 77.73 MB / 0.5023 GB, free: 4.488 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.661/6.902, allocations: 2.216 GB / 2.718 GB, free: 129.4 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003267/6.902, allocations: 92.05 kB / 2.718 GB, free: 129.4 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 10.03/16.93, allocations: 1.924 GB / 4.642 GB, free: 30.89 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.043e-06/16.93, allocations: 0 / 4.642 GB, free: 30.89 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0004893/16.93, allocations: 63.98 kB / 4.642 GB, free: 30.83 MB / 0.7136 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.01033/16.94, allocations: 2.613 MB / 4.645 GB, free: 28.14 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.855e-05/16.94, allocations: 16.02 kB / 4.645 GB, free: 28.13 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007432/16.94, allocations: 219.6 kB / 4.645 GB, free: 27.9 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008499/16.95, allocations: 0.7851 MB / 4.646 GB, free: 27.11 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01012/16.96, allocations: 2.369 MB / 4.648 GB, free: 24.7 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001657/16.96, allocations: 123 kB / 4.648 GB, free: 24.57 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005481/16.96, allocations: 167.8 kB / 4.648 GB, free: 24.41 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004675/16.96, allocations: 1.708 MB / 4.65 GB, free: 22.62 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.609e-05/16.96, allocations: 3.938 kB / 4.65 GB, free: 22.62 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003186/16.97, allocations: 75.92 kB / 4.65 GB, free: 22.55 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.923e-05/16.97, allocations: 54.94 kB / 4.65 GB, free: 22.49 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004463/16.97, allocations: 1.306 MB / 4.652 GB, free: 21.18 MB / 0.7136 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.01882/16.99, allocations: 8.076 MB / 4.659 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00299/16.99, allocations: 1.591 MB / 4.661 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001555/16.99, allocations: 0.5492 MB / 4.662 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007025/16.99, allocations: 212.3 kB / 4.662 GB, free: 9.973 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001573/17, allocations: 0.5772 MB / 4.662 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001619/17, allocations: 123.1 kB / 4.662 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=102): time 8.767e-06/17, allocations: 3.984 kB / 4.662 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of matching and sorting (n=105): time 0.01026/17.01, allocations: 2.67 MB / 4.665 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/17.01, allocations: 171.2 kB / 4.665 GB, free: 6.32 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003188/17.01, allocations: 1.33 MB / 4.666 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0004019/17.01, allocations: 57.7 kB / 4.667 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001325/17.01, allocations: 0.9756 MB / 4.667 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006922/17.01, allocations: 370.6 kB / 4.668 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/17.01, allocations: 24 kB / 4.668 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001796/17.01, allocations: 353.9 kB / 4.668 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001256/17.02, allocations: 442.4 kB / 4.669 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001565/17.02, allocations: 0.7899 MB / 4.669 GB, free: 1.773 MB / 0.7136 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.5751/17.59, allocations: 2.125 MB / 4.671 GB, free: 70.62 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-05/17.59, allocations: 2.031 kB / 4.671 GB, free: 70.62 MB / 0.7136 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004431/17.6, allocations: 1.433 MB / 4.673 GB, free: 70.54 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007084/17.6, allocations: 3.046 MB / 4.676 GB, free: 67.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.246e-05/17.6, allocations: 9.156 kB / 4.676 GB, free: 67.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003179/17.6, allocations: 45.02 kB / 4.676 GB, free: 67.39 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002654/17.6, allocations: 282.6 kB / 4.676 GB, free: 67.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00158/17.6, allocations: 1.499 MB / 4.678 GB, free: 66.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003647/17.61, allocations: 161.6 kB / 4.678 GB, free: 66.06 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003046/17.61, allocations: 56.33 kB / 4.678 GB, free: 66.06 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/17.61, allocations: 4.062 kB / 4.678 GB, free: 66.06 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003651/17.61, allocations: 1.241 MB / 4.679 GB, free: 66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.714e-05/17.61, allocations: 9.781 kB / 4.679 GB, free: 66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002021/17.61, allocations: 51.41 kB / 4.679 GB, free: 65.99 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002391/17.61, allocations: 281.7 kB / 4.679 GB, free: 65.99 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001403/17.61, allocations: 1.492 MB / 4.681 GB, free: 64.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003513/17.62, allocations: 163.2 kB / 4.681 GB, free: 64.67 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000264/17.62, allocations: 57.38 kB / 4.681 GB, free: 64.67 MB / 0.7136 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.0005378/17.62, allocations: 194.8 kB / 4.681 GB, free: 64.56 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005721/17.62, allocations: 194.2 kB / 4.681 GB, free: 64.56 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004031/17.62, allocations: 1.231 MB / 4.683 GB, free: 64.46 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.081e-05/17.62, allocations: 14.05 kB / 4.683 GB, free: 64.46 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/17.62, allocations: 1.766 kB / 4.683 GB, free: 64.46 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002696/17.63, allocations: 0.979 MB / 4.684 GB, free: 64.36 MB / 0.7136 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.01007/17.64, allocations: 3.339 MB / 4.687 GB, free: 63.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/17.64, allocations: 3.219 kB / 4.687 GB, free: 63.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002326/17.64, allocations: 236 kB / 4.687 GB, free: 63.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003864/17.64, allocations: 73.72 kB / 4.687 GB, free: 63.69 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001728/17.64, allocations: 32.42 kB / 4.687 GB, free: 63.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002199/17.64, allocations: 2.739 MB / 4.69 GB, free: 61.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/17.64, allocations: 2.812 kB / 4.69 GB, free: 61.2 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004777/17.65, allocations: 1.954 MB / 4.692 GB, free: 60.85 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001558/17.65, allocations: 381.7 kB / 4.692 GB, free: 60.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000456/17.65, allocations: 26.12 kB / 4.692 GB, free: 60.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002908/17.65, allocations: 154.9 kB / 4.692 GB, free: 60.65 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000291/17.65, allocations: 80.44 kB / 4.692 GB, free: 60.65 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001532/17.65, allocations: 37.91 kB / 4.692 GB, free: 60.65 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002865/17.65, allocations: 1.026 MB / 4.693 GB, free: 60.49 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.232e-06/17.65, allocations: 0 / 4.693 GB, free: 60.49 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.007481/17.66, allocations: 1.293 MB / 4.695 GB, free: 60.49 MB / 0.7136 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.01333/17.67, allocations: 6.226 MB / 4.701 GB, free: 58.01 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005902/17.68, allocations: 2.174 MB / 4.703 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/17.68, allocations: 1.781 kB / 4.703 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001777/17.68, allocations: 0.7309 MB / 4.704 GB, free: 57.4 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00898/17.69, allocations: 0.9766 MB / 4.705 GB, free: 57.37 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0144/17.71, allocations: 3.765 MB / 4.708 GB, free: 56.5 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002372/17.71, allocations: 1.644 MB / 4.71 GB, free: 55.76 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.005737/17.71, allocations: 0.7023 MB / 4.711 GB, free: 55.74 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001909/17.72, allocations: 0.8287 MB / 4.711 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of SimCode: time 1.192e-06/17.72, allocations: 0 / 4.711 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.233/17.95, allocations: 106.9 MB / 4.816 GB, free: 51.62 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002605/17.95, allocations: 230.1 kB / 4.816 GB, free: 51.39 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.636/25.59, allocations: 0 / 4.816 GB, free: 51.39 MB / 0.7136 GB