Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.777/3.777, allocations: 403.3 MB / 415.4 MB, free: 13.03 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.261e-05/4.266e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5928/0.5929, allocations: 92.67 MB / 0.5896 GB, free: 14.48 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.197/1.79, allocations: 385.2 MB / 0.9658 GB, free: 4.555 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003153/1.791, allocations: 97.23 kB / 0.9659 GB, free: 4.504 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 15.45/17.24, allocations: 2.573 GB / 3.539 GB, free: 39.41 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.785e-06/17.24, allocations: 0.6562 kB / 3.539 GB, free: 39.41 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.001353/17.24, allocations: 172.6 kB / 3.539 GB, free: 39.38 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1057 * Number of variables: 1057 Notification: Performance of Generate backend data structure: time 0.02173/17.26, allocations: 5.913 MB / 3.545 GB, free: 36.32 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/17.26, allocations: 15.03 kB / 3.545 GB, free: 36.31 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002868/17.27, allocations: 0.5457 MB / 3.546 GB, free: 36.25 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005502/17.27, allocations: 0.7708 MB / 3.546 GB, free: 35.88 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1892/17.46, allocations: 57.25 MB / 3.602 GB, free: 16.26 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006808/17.46, allocations: 326.5 kB / 3.603 GB, free: 15.94 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00209/17.46, allocations: 431.9 kB / 3.603 GB, free: 15.52 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02262/17.49, allocations: 4.655 MB / 3.608 GB, free: 10.53 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003179/17.49, allocations: 18.97 kB / 3.608 GB, free: 10.51 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001673/17.49, allocations: 183.9 kB / 3.608 GB, free: 10.33 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001858/17.49, allocations: 127.9 kB / 3.608 GB, free: 10.21 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01665/17.5, allocations: 3.169 MB / 3.611 GB, free: 7.035 MB / 0.9011 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.0502/17.56, allocations: 24.65 MB / 3.635 GB, free: 12.62 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01324/17.57, allocations: 3.145 MB / 3.638 GB, free: 9.387 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004069/17.57, allocations: 1.247 MB / 3.639 GB, free: 8.133 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004441/17.58, allocations: 3.607 MB / 3.643 GB, free: 3.73 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001156/17.58, allocations: 71.42 kB / 3.643 GB, free: 3.656 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=244): time 6.302e-06/17.58, allocations: 0 / 3.643 GB, free: 3.656 MB / 0.9323 GB Notification: Performance of matching and sorting (n=260): time 0.9971/18.57, allocations: 9.94 MB / 3.653 GB, free: 65.89 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.827e-05/18.57, allocations: 135.6 kB / 3.653 GB, free: 65.76 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01142/18.59, allocations: 3.447 MB / 3.656 GB, free: 65.45 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0008164/18.59, allocations: 77.42 kB / 3.656 GB, free: 65.42 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.003505/18.59, allocations: 2.778 MB / 3.659 GB, free: 64.8 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.001806/18.59, allocations: 0.9048 MB / 3.66 GB, free: 64.35 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003414/18.59, allocations: 57.38 kB / 3.66 GB, free: 64.35 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002474/18.59, allocations: 415.1 kB / 3.66 GB, free: 64.04 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002948/18.6, allocations: 0.9217 MB / 3.661 GB, free: 64.03 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004357/18.6, allocations: 1.901 MB / 3.663 GB, free: 62.89 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004282/18.6, allocations: 1.233 MB / 3.664 GB, free: 62.82 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.831e-05/18.6, allocations: 6.125 kB / 3.664 GB, free: 62.82 MB / 0.9323 GB Notification: Performance of matching and sorting (n=370) (initialization): time 0.02896/18.63, allocations: 4.29 MB / 3.669 GB, free: 62.38 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.002971/18.64, allocations: 10.58 MB / 3.679 GB, free: 51.41 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001377/18.64, allocations: 22.47 kB / 3.679 GB, free: 51.41 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002076/18.64, allocations: 0.4903 MB / 3.679 GB, free: 51.36 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005612/18.64, allocations: 0.6708 MB / 3.68 GB, free: 51.36 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004973/18.65, allocations: 4.996 MB / 3.685 GB, free: 47.08 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01015/18.66, allocations: 0.5066 MB / 3.685 GB, free: 47.06 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001155/18.66, allocations: 148.6 kB / 3.686 GB, free: 47.06 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/18.66, allocations: 3.125 kB / 3.686 GB, free: 47.06 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01079/18.67, allocations: 2.902 MB / 3.688 GB, free: 46.91 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.016e-05/18.67, allocations: 22.34 kB / 3.688 GB, free: 46.91 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00147/18.67, allocations: 363.8 kB / 3.689 GB, free: 46.86 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00524/18.68, allocations: 0.6664 MB / 3.689 GB, free: 46.86 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01309/18.69, allocations: 11.04 MB / 3.7 GB, free: 37.54 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008861/18.7, allocations: 461.4 kB / 3.701 GB, free: 37.52 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001101/18.7, allocations: 138.1 kB / 3.701 GB, free: 37.52 MB / 0.9323 GB Warning: Assuming fixed start value for the following 2 variables: hea8.vol.dynBal.m:VARIABLE(min = max(0.0, 0.0) start = 0.01506650354665494 * hea8.vol.rho_start unit = "kg" stateSelect=StateSelect.prefer protected = true final = true ) "Mass of fluid" type: Real hea4.vol.dynBal.m:VARIABLE(min = max(0.0, 0.0) start = 0.01506650354665494 * hea4.vol.rho_start unit = "kg" stateSelect=StateSelect.prefer protected = true final = true ) "Mass of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (332): * Single equations (assignments): 324 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {1 7,1 3,1 7,1 3,1 9,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.001806/18.7, allocations: 315.8 kB / 3.701 GB, free: 37.42 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00272/18.71, allocations: 0.5069 MB / 3.702 GB, free: 37.15 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0325/18.74, allocations: 5.059 MB / 3.706 GB, free: 36.85 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002014/18.74, allocations: 51 kB / 3.707 GB, free: 36.85 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-05/18.74, allocations: 3.125 kB / 3.707 GB, free: 36.85 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02454/18.76, allocations: 3.783 MB / 3.71 GB, free: 36.62 MB / 0.9323 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.05327/18.82, allocations: 10.37 MB / 3.72 GB, free: 34.84 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.263e-05/18.82, allocations: 6.344 kB / 3.72 GB, free: 34.84 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003758/18.82, allocations: 451.7 kB / 3.721 GB, free: 34.84 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001536/18.82, allocations: 457.1 kB / 3.721 GB, free: 34.78 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005318/18.82, allocations: 95.34 kB / 3.721 GB, free: 34.78 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03126/18.85, allocations: 12.25 MB / 3.733 GB, free: 25.48 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.223e-06/18.85, allocations: 2.906 kB / 3.733 GB, free: 25.48 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03019/18.88, allocations: 6.719 MB / 3.74 GB, free: 23.88 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004757/18.89, allocations: 0.9504 MB / 3.741 GB, free: 23.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002148/18.89, allocations: 69.23 kB / 3.741 GB, free: 23.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008952/18.9, allocations: 492.1 kB / 3.741 GB, free: 23.48 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00116/18.9, allocations: 225.1 kB / 3.741 GB, free: 23.48 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005442/18.9, allocations: 123.9 kB / 3.742 GB, free: 23.48 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.007235/18.91, allocations: 2.613 MB / 3.744 GB, free: 23.27 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8.32e-07/18.91, allocations: 0.5 kB / 3.744 GB, free: 23.27 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.02392/18.93, allocations: 3.21 MB / 3.747 GB, free: 23.27 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 12 (hea1.vol.ports[1].h_outflow,hea2.vol.ports[1].h_outflow,hea3.vol.ports[1].h_outflow,hea4.vol.dynBal.U,hea4.vol.dynBal.m,mix1.ports[2].h_outflow,hea5.vol.ports[1].h_outflow,hea6.vol.ports[1].h_outflow,hea7.vol.ports[1].h_outflow,hea8.vol.dynBal.U,hea8.vol.dynBal.m,mix2.ports[2].h_outflow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (280): * Single equations (assignments): 232 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 40 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 7,1 5,1 3,1 1,1 7,1 5,1 3,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.03753/18.97, allocations: 11.58 MB / 3.759 GB, free: 18.97 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01591/18.99, allocations: 5.201 MB / 3.764 GB, free: 18.23 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-05/18.99, allocations: 5.531 kB / 3.764 GB, free: 18.23 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.005364/18.99, allocations: 2.259 MB / 3.766 GB, free: 17.59 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02408/19.02, allocations: 2.77 MB / 3.769 GB, free: 17.55 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03029/19.05, allocations: 9.179 MB / 3.778 GB, free: 15.34 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005001/19.05, allocations: 3.071 MB / 3.781 GB, free: 14.53 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.01354/19.07, allocations: 1.556 MB / 3.782 GB, free: 14.32 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005534/19.07, allocations: 2.542 MB / 3.785 GB, free: 14.32 MB / 0.9323 GB Notification: Performance of SimCode: time 2.315e-06/19.07, allocations: 0 / 3.785 GB, free: 14.32 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4732/19.55, allocations: 195.6 MB / 3.976 GB, free: 8.828 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002656/19.55, allocations: 230 kB / 3.976 GB, free: 8.598 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.6/33.15, allocations: 0 / 3.976 GB, free: 8.598 MB / 0.9792 GB