Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.142/4.142, allocations: 403.3 MB / 415.4 MB, free: 12.97 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.28e-05/5.301e-05, allocations: 8 kB / 0.4991 GB, free: 13.33 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6438/0.6439, allocations: 92.68 MB / 0.5896 GB, free: 14.45 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.857/8.501, allocations: 2.469 GB / 3.059 GB, free: 79.01 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003653/8.501, allocations: 110.3 kB / 3.059 GB, free: 78.95 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 8.755/17.26, allocations: 1.613 GB / 4.672 GB, free: 5.574 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.953e-06/17.26, allocations: 0 / 4.672 GB, free: 5.574 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0004628/17.26, allocations: 71.92 kB / 4.672 GB, free: 5.504 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 508 * Number of variables: 508 Notification: Performance of Generate backend data structure: time 0.01632/17.27, allocations: 2.92 MB / 4.675 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/17.27, allocations: 8.031 kB / 4.675 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00113/17.27, allocations: 282.9 kB / 4.675 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008205/17.28, allocations: 0.6831 MB / 4.676 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7252/18.01, allocations: 9.165 MB / 4.685 GB, free: 97.86 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001609/18.01, allocations: 159.5 kB / 4.685 GB, free: 97.86 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004984/18.01, allocations: 204.8 kB / 4.685 GB, free: 97.86 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006336/18.01, allocations: 2.381 MB / 4.687 GB, free: 97.57 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.389e-05/18.01, allocations: 8.312 kB / 4.687 GB, free: 97.57 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003669/18.01, allocations: 81.41 kB / 4.687 GB, free: 97.57 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001162/18.02, allocations: 86.39 kB / 4.687 GB, free: 97.56 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005669/18.02, allocations: 1.969 MB / 4.689 GB, free: 97.55 MB / 0.8386 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.02054/18.04, allocations: 10.32 MB / 4.699 GB, free: 92.67 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002159/18.04, allocations: 0.9158 MB / 4.7 GB, free: 92.57 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001191/18.04, allocations: 0.5565 MB / 4.701 GB, free: 92.53 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005825/18.05, allocations: 2.328 MB / 4.703 GB, free: 91.48 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.427e-05/18.05, allocations: 58.12 kB / 4.703 GB, free: 91.44 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002222/18.05, allocations: 206.1 kB / 4.703 GB, free: 91.4 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=94): time 5.53e-06/18.05, allocations: 0 / 4.703 GB, free: 91.4 MB / 0.8386 GB Notification: Performance of matching and sorting (n=96): time 0.01265/18.07, allocations: 3.937 MB / 4.707 GB, free: 89.79 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.2e-05/18.07, allocations: 144.1 kB / 4.707 GB, free: 89.63 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00425/18.07, allocations: 1.874 MB / 4.709 GB, free: 89.41 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0003772/18.07, allocations: 50.17 kB / 4.709 GB, free: 89.38 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001357/18.07, allocations: 1.282 MB / 4.711 GB, free: 89.02 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005497/18.07, allocations: 351.7 kB / 4.711 GB, free: 88.85 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/18.07, allocations: 28.09 kB / 4.711 GB, free: 88.85 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001227/18.07, allocations: 370.6 kB / 4.711 GB, free: 88.54 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001179/18.07, allocations: 465 kB / 4.712 GB, free: 88.54 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001587/18.08, allocations: 1.1 MB / 4.713 GB, free: 87.76 MB / 0.8386 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start (sin_2.p = fan.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01916/18.09, allocations: 2.285 MB / 4.715 GB, free: 87.64 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.49e-05/18.09, allocations: 3.562 kB / 4.715 GB, free: 87.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.006434/18.1, allocations: 1.964 MB / 4.717 GB, free: 87.45 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.001724/18.1, allocations: 7.384 MB / 4.724 GB, free: 79.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.144e-05/18.1, allocations: 18.22 kB / 4.724 GB, free: 79.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002731/18.11, allocations: 359.6 kB / 4.724 GB, free: 79.63 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002456/18.11, allocations: 321.7 kB / 4.725 GB, free: 79.63 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001442/18.11, allocations: 0.9699 MB / 4.726 GB, free: 79.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00399/18.11, allocations: 173.8 kB / 4.726 GB, free: 79.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003192/18.11, allocations: 87.14 kB / 4.726 GB, free: 79.09 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/18.11, allocations: 3.75 kB / 4.726 GB, free: 79.09 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005509/18.12, allocations: 1.719 MB / 4.728 GB, free: 79.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.949e-05/18.12, allocations: 17.78 kB / 4.728 GB, free: 79.05 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002431/18.12, allocations: 358.7 kB / 4.728 GB, free: 79.04 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002414/18.12, allocations: 318.2 kB / 4.728 GB, free: 79.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/18.13, allocations: 0.9825 MB / 4.729 GB, free: 78.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003714/18.13, allocations: 150.5 kB / 4.729 GB, free: 78.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000299/18.13, allocations: 84.42 kB / 4.73 GB, free: 78.5 MB / 0.8386 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 168 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * 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: 0 * Non-linear torn systems: 1 {2 22} Notification: Performance of prepare postOptimizeDAE: time 0.0005635/18.13, allocations: 203.7 kB / 4.73 GB, free: 78.39 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008344/18.13, allocations: 248.1 kB / 4.73 GB, free: 78.27 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005068/18.14, allocations: 1.378 MB / 4.731 GB, free: 78.16 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.705e-05/18.14, allocations: 12.34 kB / 4.731 GB, free: 78.16 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/18.14, allocations: 3.656 kB / 4.731 GB, free: 78.16 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00366/18.14, allocations: 1.063 MB / 4.732 GB, free: 78.06 MB / 0.8386 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.01137/18.15, allocations: 3.926 MB / 4.736 GB, free: 77.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/18.15, allocations: 3.688 kB / 4.736 GB, free: 77.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001456/18.15, allocations: 165.1 kB / 4.736 GB, free: 77.18 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002349/18.16, allocations: 319.8 kB / 4.737 GB, free: 77.17 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000136/18.16, allocations: 28.92 kB / 4.737 GB, free: 77.17 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001246/18.16, allocations: 0.9314 MB / 4.738 GB, free: 76.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.765e-06/18.16, allocations: 9.766 kB / 4.738 GB, free: 76.64 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005766/18.16, allocations: 2.43 MB / 4.74 GB, free: 75.68 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001799/18.16, allocations: 440.5 kB / 4.74 GB, free: 75.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006408/18.17, allocations: 20.62 kB / 4.74 GB, free: 75.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002855/18.17, allocations: 107.5 kB / 4.741 GB, free: 75.46 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001995/18.17, allocations: 66.69 kB / 4.741 GB, free: 75.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000157/18.17, allocations: 53.08 kB / 4.741 GB, free: 75.45 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.003229/18.17, allocations: 1.428 MB / 4.742 GB, free: 75.29 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.583e-06/18.17, allocations: 0 / 4.742 GB, free: 75.29 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.006795/18.18, allocations: 1.434 MB / 4.743 GB, free: 75.29 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 2 (fan.vol.dynBal.U,fan.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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: 0 * Non-linear torn systems: 1 {2 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.01325/18.19, allocations: 7.764 MB / 4.751 GB, free: 71.27 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.006202/18.2, allocations: 2.081 MB / 4.753 GB, free: 71.23 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.25e-05/18.2, allocations: 0 / 4.753 GB, free: 71.23 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001624/18.2, allocations: 0.4983 MB / 4.754 GB, free: 71.23 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01189/18.21, allocations: 1.334 MB / 4.755 GB, free: 71.2 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01308/18.23, allocations: 3.739 MB / 4.758 GB, free: 70.18 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001601/18.23, allocations: 1.764 MB / 4.76 GB, free: 69.44 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.006866/18.23, allocations: 0.8194 MB / 4.761 GB, free: 69.41 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002129/18.24, allocations: 0.9677 MB / 4.762 GB, free: 69.4 MB / 0.8386 GB Notification: Performance of SimCode: time 1.373e-06/18.24, allocations: 2.953 kB / 4.762 GB, free: 69.4 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3269/18.56, allocations: 124.1 MB / 4.883 GB, free: 63 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002691/18.56, allocations: 245.8 kB / 4.883 GB, free: 62.67 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.871/27.43, allocations: 0 / 4.883 GB, free: 62.67 MB / 0.8386 GB