Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.255/3.255, allocations: 343.8 MB / 355.9 MB, free: 9.395 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.005e-05/5.013e-05, allocations: 7.938 kB / 436.6 MB, free: 2.391 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1774, allocations: 77.74 MB / 0.5023 GB, free: 4.492 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.469/1.647, allocations: 375.5 MB / 0.869 GB, free: 151.4 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/1.647, allocations: 86.95 kB / 0.8691 GB, free: 151.4 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 14.49/16.14, allocations: 2.635 GB / 3.504 GB, free: 2.605 MB / 0.8073 GB Notification: Performance of FrontEnd: time 3.437e-06/16.14, allocations: 0 / 3.504 GB, free: 2.605 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.001216/16.14, allocations: 172.6 kB / 3.504 GB, free: 2.438 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.8121/16.95, allocations: 5.889 MB / 3.51 GB, free: 34.41 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 6.118e-05/16.95, allocations: 9.625 kB / 3.51 GB, free: 34.41 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00248/16.95, allocations: 0.5323 MB / 3.51 GB, free: 34.35 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005156/16.96, allocations: 0.7789 MB / 3.511 GB, free: 33.98 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1942/17.15, allocations: 57.25 MB / 3.567 GB, free: 31.28 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003807/17.15, allocations: 320.2 kB / 3.567 GB, free: 31.27 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001324/17.15, allocations: 427.4 kB / 3.568 GB, free: 31.26 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01209/17.16, allocations: 4.072 MB / 3.571 GB, free: 30.5 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001568/17.16, allocations: 14.31 kB / 3.572 GB, free: 30.5 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005527/17.17, allocations: 177.7 kB / 3.572 GB, free: 30.5 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001647/17.17, allocations: 119.8 kB / 3.572 GB, free: 30.5 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009158/17.17, allocations: 2.716 MB / 3.574 GB, free: 30.48 MB / 0.8073 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.04167/17.22, allocations: 23.96 MB / 3.598 GB, free: 16.26 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005317/17.22, allocations: 2.888 MB / 3.601 GB, free: 31.09 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002536/17.22, allocations: 1.051 MB / 3.602 GB, free: 31.06 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004536/17.23, allocations: 3.935 MB / 3.606 GB, free: 26.65 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.81e-05/17.23, allocations: 62.47 kB / 3.606 GB, free: 26.61 MB / 0.823 GB Notification: Performance of pre-optimization done (n=225): time 5.641e-06/17.23, allocations: 0 / 3.606 GB, free: 26.61 MB / 0.823 GB Notification: Performance of matching and sorting (n=225): time 0.008538/17.24, allocations: 2.562 MB / 3.608 GB, free: 26.22 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.996e-05/17.24, allocations: 77.97 kB / 3.608 GB, free: 26.16 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009555/17.25, allocations: 3.588 MB / 3.612 GB, free: 25.82 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0006882/17.25, allocations: 75.36 kB / 3.612 GB, free: 25.79 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.003015/17.25, allocations: 2.81 MB / 3.614 GB, free: 24.92 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001335/17.25, allocations: 0.7813 MB / 3.615 GB, free: 24.42 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002202/17.25, allocations: 56.47 kB / 3.615 GB, free: 24.42 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002564/17.25, allocations: 411.7 kB / 3.616 GB, free: 24.11 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002033/17.26, allocations: 0.7622 MB / 3.616 GB, free: 24.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002766/17.26, allocations: 1.759 MB / 3.618 GB, free: 22.95 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002636/17.26, allocations: 1.068 MB / 3.619 GB, free: 22.92 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.005e-05/17.26, allocations: 7.125 kB / 3.619 GB, free: 22.92 MB / 0.823 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.01053/17.27, allocations: 3.233 MB / 3.622 GB, free: 22.53 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.006215/17.28, allocations: 10.39 MB / 3.633 GB, free: 11.77 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001481/17.28, allocations: 22.47 kB / 3.633 GB, free: 11.77 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002513/17.28, allocations: 395.7 kB / 3.633 GB, free: 11.73 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005206/17.29, allocations: 0.5293 MB / 3.633 GB, free: 11.73 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004915/17.29, allocations: 2.668 MB / 3.636 GB, free: 25.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01246/17.3, allocations: 0.5637 MB / 3.637 GB, free: 25.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001034/17.3, allocations: 138.7 kB / 3.637 GB, free: 25.5 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/17.3, allocations: 5.5 kB / 3.637 GB, free: 25.5 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01149/17.32, allocations: 2.672 MB / 3.639 GB, free: 25.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.251e-05/17.32, allocations: 22.47 kB / 3.639 GB, free: 25.4 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002413/17.32, allocations: 380.3 kB / 3.64 GB, free: 25.37 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005043/17.32, allocations: 0.5281 MB / 3.64 GB, free: 25.37 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01912/17.34, allocations: 7.696 MB / 3.648 GB, free: 19.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01148/17.35, allocations: 0.5182 MB / 3.648 GB, free: 19.61 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008965/17.35, allocations: 128.1 kB / 3.648 GB, free: 19.61 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (299): * Single equations (assignments): 295 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.001247/17.36, allocations: 277.8 kB / 3.649 GB, free: 19.48 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002528/17.36, allocations: 0.5115 MB / 3.649 GB, free: 19.21 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01713/17.38, allocations: 3.722 MB / 3.653 GB, free: 18.92 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001293/17.38, allocations: 39.77 kB / 3.653 GB, free: 18.92 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/17.38, allocations: 0 / 3.653 GB, free: 18.92 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01002/17.39, allocations: 2.535 MB / 3.655 GB, free: 18.71 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.03097/17.42, allocations: 8.435 MB / 3.664 GB, free: 17.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.697e-05/17.42, allocations: 6.609 kB / 3.664 GB, free: 17.16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003007/17.42, allocations: 383.5 kB / 3.664 GB, free: 17.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001234/17.42, allocations: 303.1 kB / 3.664 GB, free: 17.13 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002599/17.42, allocations: 64.52 kB / 3.664 GB, free: 17.13 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002548/17.42, allocations: 2.482 MB / 3.667 GB, free: 15.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/17.42, allocations: 0 / 3.667 GB, free: 15.05 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01218/17.44, allocations: 4.655 MB / 3.671 GB, free: 14.25 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004569/17.44, allocations: 0.943 MB / 3.672 GB, free: 13.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002054/17.44, allocations: 52.69 kB / 3.672 GB, free: 13.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007785/17.45, allocations: 435.7 kB / 3.673 GB, free: 13.81 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007079/17.45, allocations: 151.6 kB / 3.673 GB, free: 13.81 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003214/17.45, allocations: 89.95 kB / 3.673 GB, free: 13.81 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.008049/17.46, allocations: 2.723 MB / 3.676 GB, free: 13.61 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.342e-06/17.46, allocations: 4.344 kB / 3.676 GB, free: 13.61 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.02711/17.49, allocations: 3.586 MB / 3.679 GB, free: 13.2 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (227): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.02651/17.51, allocations: 8.607 MB / 3.687 GB, free: 10.48 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01522/17.53, allocations: 4.382 MB / 3.692 GB, free: 9.934 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.295e-05/17.53, allocations: 3.281 kB / 3.692 GB, free: 9.934 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.004358/17.53, allocations: 1.27 MB / 3.693 GB, free: 9.891 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02695/17.56, allocations: 2.744 MB / 3.696 GB, free: 9.828 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02898/17.59, allocations: 8.545 MB / 3.704 GB, free: 7.605 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004202/17.59, allocations: 2.999 MB / 3.707 GB, free: 6.73 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.01231/17.61, allocations: 1.491 MB / 3.708 GB, free: 6.387 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004801/17.61, allocations: 2.47 MB / 3.711 GB, free: 6.379 MB / 0.8386 GB Notification: Performance of SimCode: time 2.245e-06/17.61, allocations: 0 / 3.711 GB, free: 6.379 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.293/18.9, allocations: 182.9 MB / 3.889 GB, free: 92.64 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003062/18.91, allocations: 236.7 kB / 3.89 GB, free: 92.32 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/32.09, allocations: 0 / 3.89 GB, free: 92.32 MB / 0.8698 GB