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.698/3.698, allocations: 403.3 MB / 415.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.826e-05/3.829e-05, allocations: 4 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6004/0.6005, allocations: 92.68 MB / 0.5896 GB, free: 14.37 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.082/1.682, allocations: 385.1 MB / 0.9657 GB, free: 4.34 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003308/1.683, allocations: 97.5 kB / 0.9658 GB, free: 4.289 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 14.68/16.36, allocations: 2.573 GB / 3.539 GB, free: 39.34 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.144e-06/16.36, allocations: 0 / 3.539 GB, free: 39.34 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.001241/16.37, allocations: 171.8 kB / 3.539 GB, free: 39.31 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.02154/16.39, allocations: 5.922 MB / 3.545 GB, free: 36.24 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/16.39, allocations: 6.906 kB / 3.545 GB, free: 36.24 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002583/16.39, allocations: 0.5464 MB / 3.546 GB, free: 36.18 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00539/16.39, allocations: 0.77 MB / 3.546 GB, free: 35.81 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1973/16.59, allocations: 57.25 MB / 3.602 GB, free: 15.35 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005863/16.59, allocations: 320.3 kB / 3.603 GB, free: 15.03 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001961/16.59, allocations: 435.9 kB / 3.603 GB, free: 14.61 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02252/16.62, allocations: 4.705 MB / 3.608 GB, free: 9.566 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003167/16.62, allocations: 19.78 kB / 3.608 GB, free: 9.547 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00161/16.62, allocations: 180 kB / 3.608 GB, free: 9.371 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001778/16.62, allocations: 129.9 kB / 3.608 GB, free: 9.246 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01703/16.64, allocations: 3.25 MB / 3.611 GB, free: 5.992 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.04919/16.69, allocations: 24.65 MB / 3.635 GB, free: 11.57 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01347/16.7, allocations: 3.176 MB / 3.638 GB, free: 8.309 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005067/16.7, allocations: 1.24 MB / 3.64 GB, free: 7.062 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006712/16.71, allocations: 3.614 MB / 3.643 GB, free: 2.652 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001618/16.71, allocations: 66.64 kB / 3.643 GB, free: 2.582 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=244): time 1.125e-05/16.71, allocations: 0 / 3.643 GB, free: 2.582 MB / 0.9323 GB Notification: Performance of matching and sorting (n=260): time 1.035/17.75, allocations: 9.942 MB / 3.653 GB, free: 65.44 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.649e-05/17.75, allocations: 135.9 kB / 3.653 GB, free: 65.31 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01159/17.76, allocations: 3.44 MB / 3.656 GB, free: 65 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0008256/17.76, allocations: 81.61 kB / 3.656 GB, free: 64.97 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.004191/17.76, allocations: 2.78 MB / 3.659 GB, free: 64.36 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.001843/17.76, allocations: 0.8975 MB / 3.66 GB, free: 63.9 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004102/17.77, allocations: 60.12 kB / 3.66 GB, free: 63.9 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002675/17.77, allocations: 417.9 kB / 3.66 GB, free: 63.59 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003244/17.77, allocations: 0.9255 MB / 3.661 GB, free: 63.58 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004226/17.77, allocations: 1.921 MB / 3.663 GB, free: 62.43 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004057/17.78, allocations: 1.228 MB / 3.664 GB, free: 62.37 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.974e-05/17.78, allocations: 5.688 kB / 3.664 GB, free: 62.37 MB / 0.9323 GB Notification: Performance of matching and sorting (n=370) (initialization): time 0.02925/17.81, allocations: 4.351 MB / 3.669 GB, free: 61.92 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.002435/17.81, allocations: 10.58 MB / 3.679 GB, free: 50.96 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001073/17.81, allocations: 20.97 kB / 3.679 GB, free: 50.96 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001945/17.81, allocations: 0.4935 MB / 3.68 GB, free: 50.91 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00529/17.82, allocations: 0.6686 MB / 3.68 GB, free: 50.91 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004642/17.82, allocations: 5.008 MB / 3.685 GB, free: 46.62 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009642/17.83, allocations: 0.5029 MB / 3.686 GB, free: 46.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001043/17.83, allocations: 144.4 kB / 3.686 GB, free: 46.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/17.83, allocations: 6.5 kB / 3.686 GB, free: 46.6 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01079/17.84, allocations: 2.973 MB / 3.689 GB, free: 46.44 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.887e-05/17.84, allocations: 24.19 kB / 3.689 GB, free: 46.44 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001551/17.84, allocations: 357.5 kB / 3.689 GB, free: 46.39 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005251/17.85, allocations: 0.6684 MB / 3.69 GB, free: 46.39 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01379/17.86, allocations: 11.05 MB / 3.7 GB, free: 37.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008342/17.87, allocations: 463.3 kB / 3.701 GB, free: 37.08 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009437/17.87, allocations: 139.4 kB / 3.701 GB, free: 37.08 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.001764/17.88, allocations: 305.6 kB / 3.701 GB, free: 36.97 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002571/17.88, allocations: 0.5098 MB / 3.702 GB, free: 36.7 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03116/17.91, allocations: 5.063 MB / 3.707 GB, free: 36.4 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001774/17.91, allocations: 45.42 kB / 3.707 GB, free: 36.4 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-05/17.91, allocations: 1.875 kB / 3.707 GB, free: 36.4 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02533/17.93, allocations: 3.794 MB / 3.71 GB, free: 36.17 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.0544/17.99, allocations: 10.38 MB / 3.721 GB, free: 34.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.713e-05/17.99, allocations: 7.438 kB / 3.721 GB, free: 34.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003832/17.99, allocations: 453.8 kB / 3.721 GB, free: 34.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001617/17.99, allocations: 460.1 kB / 3.721 GB, free: 34.34 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007086/18, allocations: 88.22 kB / 3.722 GB, free: 34.34 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03316/18.03, allocations: 12.26 MB / 3.734 GB, free: 25.04 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.196e-06/18.03, allocations: 10.31 kB / 3.734 GB, free: 25.04 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03195/18.06, allocations: 6.714 MB / 3.74 GB, free: 23.44 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005087/18.07, allocations: 0.9468 MB / 3.741 GB, free: 23.07 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002449/18.07, allocations: 68.03 kB / 3.741 GB, free: 23.07 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009176/18.08, allocations: 490.3 kB / 3.742 GB, free: 23.05 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001186/18.08, allocations: 225.1 kB / 3.742 GB, free: 23.04 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007831/18.08, allocations: 117.7 kB / 3.742 GB, free: 23.04 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.008444/18.09, allocations: 2.62 MB / 3.744 GB, free: 22.84 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.182e-06/18.09, allocations: 0 / 3.744 GB, free: 22.84 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.02496/18.11, allocations: 3.211 MB / 3.748 GB, free: 22.84 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.04166/18.15, allocations: 11.48 MB / 3.759 GB, free: 18.68 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0164/18.17, allocations: 5.359 MB / 3.764 GB, free: 17.86 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.514e-05/18.17, allocations: 3.094 kB / 3.764 GB, free: 17.86 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.005993/18.18, allocations: 2.307 MB / 3.766 GB, free: 17.16 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02552/18.2, allocations: 2.776 MB / 3.769 GB, free: 17.12 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03535/18.24, allocations: 9.193 MB / 3.778 GB, free: 14.91 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00618/18.24, allocations: 3.061 MB / 3.781 GB, free: 14.09 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.01476/18.26, allocations: 1.56 MB / 3.783 GB, free: 13.86 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006156/18.27, allocations: 2.547 MB / 3.785 GB, free: 13.85 MB / 0.9323 GB Notification: Performance of SimCode: time 2.174e-06/18.27, allocations: 1.422 kB / 3.785 GB, free: 13.85 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4695/18.74, allocations: 195.5 MB / 3.976 GB, free: 7.637 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003797/18.74, allocations: 227.4 kB / 3.976 GB, free: 7.41 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/31.26, allocations: 0 / 3.976 GB, free: 7.41 MB / 0.9792 GB