Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.092/4.092, allocations: 460.4 MB / 472.6 MB, free: 5.406 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.874e-05/3.887e-05, allocations: 7.984 kB / 0.5682 GB, free: 10.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2338, allocations: 106.2 MB / 0.6719 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.219/1.453, allocations: 402.3 MB / 1.065 GB, free: 8.918 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003283/1.453, allocations: 89.08 kB / 1.065 GB, free: 8.875 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 15.06/16.52, allocations: 2.658 GB / 3.723 GB, free: 47.84 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.495e-06/16.52, allocations: 0 / 3.723 GB, free: 47.84 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.001226/16.52, allocations: 173.2 kB / 3.724 GB, free: 47.8 MB / 0.9948 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.02142/16.54, allocations: 5.906 MB / 3.729 GB, free: 44.9 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/16.54, allocations: 9.344 kB / 3.729 GB, free: 44.9 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002499/16.54, allocations: 0.5298 MB / 3.73 GB, free: 44.84 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005413/16.55, allocations: 0.7795 MB / 3.731 GB, free: 44.47 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1944/16.74, allocations: 57.73 MB / 3.787 GB, free: 40.97 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005822/16.74, allocations: 320.3 kB / 3.787 GB, free: 40.96 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001893/16.74, allocations: 426.6 kB / 3.788 GB, free: 40.96 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01615/16.76, allocations: 4.105 MB / 3.792 GB, free: 40.14 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000289/16.76, allocations: 22.88 kB / 3.792 GB, free: 40.13 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001482/16.76, allocations: 173.4 kB / 3.792 GB, free: 40.13 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001849/16.76, allocations: 123.4 kB / 3.792 GB, free: 40.13 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01095/16.77, allocations: 2.709 MB / 3.795 GB, free: 40.07 MB / 0.9948 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.0471/16.82, allocations: 24.01 MB / 3.818 GB, free: 25.5 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005226/16.83, allocations: 2.888 MB / 3.821 GB, free: 24.32 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002873/16.83, allocations: 1.051 MB / 3.822 GB, free: 24.3 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003753/16.83, allocations: 3.932 MB / 3.826 GB, free: 19.89 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001123/16.83, allocations: 60.56 kB / 3.826 GB, free: 19.85 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=225): time 6.883e-06/16.83, allocations: 4 kB / 3.826 GB, free: 19.85 MB / 0.9948 GB Notification: Performance of matching and sorting (n=225): time 0.009573/16.84, allocations: 2.555 MB / 3.828 GB, free: 19.41 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/16.84, allocations: 72.56 kB / 3.828 GB, free: 19.35 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01101/16.85, allocations: 3.595 MB / 3.832 GB, free: 19.01 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.000791/16.85, allocations: 79.27 kB / 3.832 GB, free: 18.98 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003636/16.86, allocations: 2.78 MB / 3.835 GB, free: 18.1 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001449/16.86, allocations: 0.7803 MB / 3.835 GB, free: 17.6 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002638/16.86, allocations: 54.62 kB / 3.835 GB, free: 17.6 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002266/16.86, allocations: 410 kB / 3.836 GB, free: 17.29 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002378/16.86, allocations: 0.762 MB / 3.837 GB, free: 17.29 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003582/16.87, allocations: 1.759 MB / 3.838 GB, free: 16.08 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003219/16.87, allocations: 1.066 MB / 3.839 GB, free: 15.98 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.284e-05/16.87, allocations: 6.562 kB / 3.839 GB, free: 15.98 MB / 0.9948 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.01224/16.88, allocations: 3.23 MB / 3.843 GB, free: 15.42 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.004005/16.89, allocations: 10.34 MB / 3.853 GB, free: 20.57 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.709e-05/16.89, allocations: 21.44 kB / 3.853 GB, free: 20.57 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001808/16.89, allocations: 413.5 kB / 3.853 GB, free: 20.49 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003869/16.89, allocations: 0.5218 MB / 3.854 GB, free: 20.45 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003422/16.9, allocations: 2.68 MB / 3.856 GB, free: 18.33 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009113/16.9, allocations: 0.5652 MB / 3.857 GB, free: 18.16 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008736/16.91, allocations: 133.3 kB / 3.857 GB, free: 18.16 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/16.91, allocations: 6 kB / 3.857 GB, free: 18.16 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009287/16.92, allocations: 2.679 MB / 3.859 GB, free: 17.91 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.607e-05/16.92, allocations: 18.06 kB / 3.86 GB, free: 17.91 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001719/16.92, allocations: 370.5 kB / 3.86 GB, free: 17.87 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003859/16.92, allocations: 0.5238 MB / 3.86 GB, free: 17.83 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01392/16.93, allocations: 7.696 MB / 3.868 GB, free: 12.09 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008653/16.94, allocations: 0.5164 MB / 3.868 GB, free: 11.95 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008265/16.94, allocations: 128.7 kB / 3.869 GB, free: 11.95 MB / 1.01 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.001102/16.95, allocations: 281.3 kB / 3.869 GB, free: 11.79 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002133/16.95, allocations: 0.5079 MB / 3.869 GB, free: 11.52 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01277/16.96, allocations: 3.719 MB / 3.873 GB, free: 11.02 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001215/16.96, allocations: 39.53 kB / 3.873 GB, free: 11.02 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/16.96, allocations: 0 / 3.873 GB, free: 11.02 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007848/16.97, allocations: 2.533 MB / 3.875 GB, free: 10.46 MB / 1.01 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.02734/17, allocations: 8.471 MB / 3.884 GB, free: 6.332 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.928e-05/17, allocations: 3.922 kB / 3.884 GB, free: 6.332 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003271/17, allocations: 384.4 kB / 3.884 GB, free: 6.301 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00135/17, allocations: 302.2 kB / 3.884 GB, free: 6.18 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000571/17, allocations: 64.02 kB / 3.884 GB, free: 6.148 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00254/17, allocations: 2.488 MB / 3.887 GB, free: 3.875 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/17, allocations: 0 / 3.887 GB, free: 3.875 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0133/17.02, allocations: 4.656 MB / 3.891 GB, free: 1.648 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004871/17.02, allocations: 0.9726 MB / 3.892 GB, free: 1.031 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002224/17.02, allocations: 50.17 kB / 3.892 GB, free: 0.9961 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008111/17.03, allocations: 433.5 kB / 3.893 GB, free: 0.8945 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006696/17.03, allocations: 154.6 kB / 3.893 GB, free: 0.875 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004236/17.03, allocations: 105.2 kB / 3.893 GB, free: 0.8555 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.009196/17.04, allocations: 2.767 MB / 3.896 GB, free: 0 / 1.01 GB Notification: Performance of sort global known variables: time 1.052e-06/17.04, allocations: 0 / 3.896 GB, free: 0 / 1.01 GB Notification: Performance of remove unused functions: time 0.02222/17.07, allocations: 3.593 MB / 3.899 GB, free: 15.09 MB / 1.026 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.02385/17.09, allocations: 8.603 MB / 3.908 GB, free: 8.367 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.01406/17.1, allocations: 4.374 MB / 3.912 GB, free: 4.18 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.474e-05/17.1, allocations: 4 kB / 3.912 GB, free: 4.176 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.004331/17.11, allocations: 1.282 MB / 3.913 GB, free: 2.984 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02599/17.13, allocations: 2.741 MB / 3.916 GB, free: 0.9922 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03557/17.17, allocations: 8.556 MB / 3.924 GB, free: 9.371 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006312/17.18, allocations: 2.991 MB / 3.927 GB, free: 7.195 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0143/17.19, allocations: 1.501 MB / 3.929 GB, free: 6.133 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006338/17.2, allocations: 2.437 MB / 3.931 GB, free: 3.887 MB / 1.042 GB Notification: Performance of SimCode: time 1.844e-06/17.2, allocations: 0 / 3.931 GB, free: 3.887 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.501/18.7, allocations: 183.9 MB / 4.111 GB, free: 76.98 MB / 1.042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002422/18.7, allocations: 222 kB / 4.111 GB, free: 76.76 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.53/32.23, allocations: 0 / 4.111 GB, free: 76.76 MB / 1.042 GB