Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.293/4.293, allocations: 464.6 MB / 476.8 MB, free: 2.105 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.241e-05/4.251e-05, allocations: 8 kB / 0.5732 GB, free: 5.609 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2289, allocations: 107.2 MB / 0.6778 GB, free: 10.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.288/1.517, allocations: 402.7 MB / 1.071 GB, free: 15.49 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003028/1.518, allocations: 88.14 kB / 1.071 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 15.23/16.75, allocations: 2.659 GB / 3.73 GB, free: 54.36 MB / 1.01 GB Notification: Performance of FrontEnd: time 3.667e-06/16.75, allocations: 3.812 kB / 3.73 GB, free: 54.36 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001194/16.75, allocations: 170.8 kB / 3.73 GB, free: 54.34 MB / 1.01 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.02172/16.77, allocations: 5.903 MB / 3.736 GB, free: 51.53 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 6.264e-05/16.77, allocations: 13.59 kB / 3.736 GB, free: 51.53 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002485/16.77, allocations: 0.5305 MB / 3.736 GB, free: 51.47 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005123/16.78, allocations: 0.7727 MB / 3.737 GB, free: 51.1 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.191/16.97, allocations: 57.74 MB / 3.793 GB, free: 47.98 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005614/16.97, allocations: 320.2 kB / 3.794 GB, free: 47.97 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001878/16.97, allocations: 427.6 kB / 3.794 GB, free: 47.97 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01543/16.99, allocations: 4.106 MB / 3.798 GB, free: 47.21 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002147/16.99, allocations: 21.64 kB / 3.798 GB, free: 47.21 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001052/16.99, allocations: 174.2 kB / 3.798 GB, free: 47.21 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001736/16.99, allocations: 117.8 kB / 3.798 GB, free: 47.21 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01059/17, allocations: 2.711 MB / 3.801 GB, free: 47.19 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 preOpt removeSimpleEquations (simulation): time 0.04459/17.04, allocations: 24.01 MB / 3.824 GB, free: 32.89 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005064/17.05, allocations: 2.89 MB / 3.827 GB, free: 31.7 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002686/17.05, allocations: 1.053 MB / 3.828 GB, free: 31.68 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003744/17.05, allocations: 3.938 MB / 3.832 GB, free: 27.27 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000102/17.05, allocations: 58.53 kB / 3.832 GB, free: 27.23 MB / 1.01 GB Notification: Performance of pre-optimization done (n=225): time 5.34e-06/17.05, allocations: 3.906 kB / 3.832 GB, free: 27.23 MB / 1.01 GB Notification: Performance of matching and sorting (n=225): time 0.009318/17.06, allocations: 2.56 MB / 3.835 GB, free: 26.81 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/17.06, allocations: 73.94 kB / 3.835 GB, free: 26.75 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01096/17.07, allocations: 3.594 MB / 3.838 GB, free: 26.41 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0007966/17.08, allocations: 75.86 kB / 3.838 GB, free: 26.38 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.003578/17.08, allocations: 2.784 MB / 3.841 GB, free: 25.51 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001423/17.08, allocations: 0.7808 MB / 3.842 GB, free: 25 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002464/17.08, allocations: 54.19 kB / 3.842 GB, free: 25 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001933/17.08, allocations: 411.3 kB / 3.842 GB, free: 24.7 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002105/17.08, allocations: 0.7633 MB / 3.843 GB, free: 24.69 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003053/17.09, allocations: 1.75 MB / 3.845 GB, free: 23.52 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003016/17.09, allocations: 1.073 MB / 3.846 GB, free: 23.46 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.162e-05/17.09, allocations: 7.875 kB / 3.846 GB, free: 23.46 MB / 1.01 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.01093/17.1, allocations: 3.222 MB / 3.849 GB, free: 22.95 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.002995/17.1, allocations: 10.34 MB / 3.859 GB, free: 28.18 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001084/17.1, allocations: 23.92 kB / 3.859 GB, free: 28.18 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001812/17.11, allocations: 393.7 kB / 3.859 GB, free: 28.14 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003877/17.11, allocations: 0.5272 MB / 3.86 GB, free: 28.11 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003127/17.11, allocations: 2.675 MB / 3.863 GB, free: 25.99 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009767/17.12, allocations: 0.5672 MB / 3.863 GB, free: 25.84 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001081/17.12, allocations: 135.2 kB / 3.863 GB, free: 25.84 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/17.12, allocations: 3.75 kB / 3.863 GB, free: 25.84 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009417/17.13, allocations: 2.674 MB / 3.866 GB, free: 25.59 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.743e-05/17.13, allocations: 25.78 kB / 3.866 GB, free: 25.59 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001685/17.13, allocations: 376.8 kB / 3.866 GB, free: 25.54 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003736/17.14, allocations: 0.5243 MB / 3.867 GB, free: 25.5 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01264/17.15, allocations: 7.688 MB / 3.874 GB, free: 19.77 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008447/17.16, allocations: 0.5243 MB / 3.875 GB, free: 19.62 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007873/17.16, allocations: 125.2 kB / 3.875 GB, free: 19.62 MB / 1.026 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.0009489/17.16, allocations: 282.9 kB / 3.875 GB, free: 19.46 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001995/17.16, allocations: 0.5069 MB / 3.876 GB, free: 19.2 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01111/17.17, allocations: 3.729 MB / 3.879 GB, free: 18.73 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001407/17.17, allocations: 41.7 kB / 3.879 GB, free: 18.73 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/17.17, allocations: 4 kB / 3.879 GB, free: 18.72 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007558/17.18, allocations: 2.536 MB / 3.882 GB, free: 18.44 MB / 1.026 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.02448/17.21, allocations: 8.467 MB / 3.89 GB, free: 16.8 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.328e-05/17.21, allocations: 0.8594 kB / 3.89 GB, free: 16.8 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003276/17.21, allocations: 389.2 kB / 3.89 GB, free: 16.77 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001465/17.21, allocations: 303.4 kB / 3.891 GB, free: 16.71 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005993/17.21, allocations: 64.2 kB / 3.891 GB, free: 16.71 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002624/17.22, allocations: 2.481 MB / 3.893 GB, free: 14.61 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.816e-06/17.22, allocations: 7.812 kB / 3.893 GB, free: 14.61 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01382/17.23, allocations: 4.651 MB / 3.898 GB, free: 13.75 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004502/17.23, allocations: 0.9773 MB / 3.899 GB, free: 13.35 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002032/17.24, allocations: 47.86 kB / 3.899 GB, free: 13.35 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007879/17.24, allocations: 436.3 kB / 3.899 GB, free: 13.28 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006215/17.24, allocations: 165.6 kB / 3.899 GB, free: 13.27 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003856/17.24, allocations: 101.9 kB / 3.899 GB, free: 13.27 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.007181/17.25, allocations: 2.73 MB / 3.902 GB, free: 13.06 MB / 1.026 GB Notification: Performance of sort global known variables: time 9.31e-07/17.25, allocations: 0 / 3.902 GB, free: 13.06 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.02037/17.27, allocations: 3.587 MB / 3.906 GB, free: 12.53 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.01941/17.29, allocations: 8.585 MB / 3.914 GB, free: 9.328 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.01133/17.3, allocations: 4.378 MB / 3.918 GB, free: 8.637 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.193e-05/17.3, allocations: 4.812 kB / 3.918 GB, free: 8.633 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.00325/17.31, allocations: 1.277 MB / 3.919 GB, free: 8.57 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02418/17.33, allocations: 2.733 MB / 3.922 GB, free: 8.371 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02788/17.36, allocations: 8.543 MB / 3.93 GB, free: 5.781 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003935/17.36, allocations: 2.995 MB / 3.933 GB, free: 4.902 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.01218/17.37, allocations: 1.501 MB / 3.935 GB, free: 4.547 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004734/17.38, allocations: 2.441 MB / 3.937 GB, free: 4.004 MB / 1.026 GB Notification: Performance of SimCode: time 1.413e-06/17.38, allocations: 0 / 3.937 GB, free: 4.004 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.509/18.89, allocations: 183.5 MB / 4.117 GB, free: 90.87 MB / 1.057 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003057/18.89, allocations: 223.2 kB / 4.117 GB, free: 90.65 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/32.1, allocations: 4 kB / 4.117 GB, free: 90.64 MB / 1.057 GB