Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Examples_WaterHeater_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildSysPro): time 2.994/2.994, allocations: 325.3 MB / 337.4 MB, free: 10.09 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.606e-05/3.611e-05, allocations: 4 kB / 414.9 MB, free: 6.031 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1516, allocations: 74.42 MB / 489.3 MB, free: 11.46 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.432/1.583, allocations: 409.1 MB / 0.8773 GB, free: 103.3 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003149/1.584, allocations: 94.25 kB / 0.8774 GB, free: 103.3 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.101/7.685, allocations: 1.092 GB / 1.969 GB, free: 59.61 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.025e-06/7.685, allocations: 0 / 1.969 GB, free: 59.61 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0005157/7.686, allocations: 51.8 kB / 1.969 GB, free: 59.61 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.008382/7.694, allocations: 2.198 MB / 1.971 GB, free: 59.08 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/7.694, allocations: 8.188 kB / 1.971 GB, free: 59.08 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006632/7.695, allocations: 184.6 kB / 1.971 GB, free: 59.04 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003194/7.698, allocations: 379.7 kB / 1.972 GB, free: 58.92 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02045/7.719, allocations: 4.795 MB / 1.977 GB, free: 58.55 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002089/7.719, allocations: 101.9 kB / 1.977 GB, free: 58.54 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000632/7.719, allocations: 137 kB / 1.977 GB, free: 58.54 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004916/7.724, allocations: 1.395 MB / 1.978 GB, free: 58.23 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.115e-05/7.725, allocations: 5.719 kB / 1.978 GB, free: 58.23 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002482/7.725, allocations: 59.41 kB / 1.978 GB, free: 58.23 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-05/7.725, allocations: 40.19 kB / 1.978 GB, free: 58.23 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003691/7.729, allocations: 0.9355 MB / 1.979 GB, free: 58.22 MB / 0.6511 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.01691/7.746, allocations: 7.525 MB / 1.986 GB, free: 53.89 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002858/7.748, allocations: 1.183 MB / 1.988 GB, free: 53.29 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001081/7.75, allocations: 327.3 kB / 1.988 GB, free: 53.29 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005881/7.756, allocations: 1.996 MB / 1.99 GB, free: 52.14 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001431/7.757, allocations: 426.6 kB / 1.99 GB, free: 52.07 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001398/7.758, allocations: 95.52 kB / 1.99 GB, free: 52.05 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=65): time 5.981e-06/7.758, allocations: 0 / 1.99 GB, free: 52.05 MB / 0.6511 GB Notification: Performance of matching and sorting (n=65): time 0.003535/7.762, allocations: 0.8299 MB / 1.991 GB, free: 51.82 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.125e-05/7.762, allocations: 188 kB / 1.991 GB, free: 51.6 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003425/7.766, allocations: 1.319 MB / 1.993 GB, free: 51.43 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0003021/7.766, allocations: 49.3 kB / 1.993 GB, free: 51.4 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001198/7.767, allocations: 0.924 MB / 1.994 GB, free: 51.14 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004391/7.768, allocations: 233.4 kB / 1.994 GB, free: 51.03 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.435e-05/7.768, allocations: 21.22 kB / 1.994 GB, free: 51.03 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001125/7.768, allocations: 342.9 kB / 1.994 GB, free: 50.73 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009098/7.769, allocations: 294.5 kB / 1.994 GB, free: 50.73 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001181/7.77, allocations: 0.7053 MB / 1.995 GB, free: 50.22 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/7.771, allocations: 434.2 kB / 1.996 GB, free: 50.18 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-05/7.771, allocations: 3.844 kB / 1.996 GB, free: 50.18 MB / 0.6511 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.003375/7.775, allocations: 1.122 MB / 1.997 GB, free: 50.01 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009431/7.776, allocations: 4.286 MB / 2.001 GB, free: 45.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.777e-05/7.776, allocations: 14.44 kB / 2.001 GB, free: 45.54 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.518e-05/7.776, allocations: 17.34 kB / 2.001 GB, free: 45.54 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002171/7.778, allocations: 260.7 kB / 2.001 GB, free: 45.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-05/7.778, allocations: 24.98 kB / 2.001 GB, free: 45.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002914/7.781, allocations: 133.1 kB / 2.001 GB, free: 45.54 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003636/7.781, allocations: 53.42 kB / 2.001 GB, free: 45.54 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/7.781, allocations: 7.219 kB / 2.001 GB, free: 45.54 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002733/7.784, allocations: 0.9352 MB / 2.002 GB, free: 45.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-05/7.784, allocations: 11.41 kB / 2.002 GB, free: 45.48 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.526e-05/7.784, allocations: 19.12 kB / 2.002 GB, free: 45.48 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001931/7.786, allocations: 250.9 kB / 2.003 GB, free: 45.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.63e-05/7.786, allocations: 22.92 kB / 2.003 GB, free: 45.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002577/7.789, allocations: 127.2 kB / 2.003 GB, free: 45.47 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002514/7.789, allocations: 54.59 kB / 2.003 GB, free: 45.47 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 121 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004272/7.79, allocations: 164.5 kB / 2.003 GB, free: 45.36 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006204/7.79, allocations: 166.8 kB / 2.003 GB, free: 45.28 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003213/7.794, allocations: 1.039 MB / 2.004 GB, free: 45.09 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.326e-05/7.794, allocations: 10.92 kB / 2.004 GB, free: 45.09 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/7.794, allocations: 0 / 2.004 GB, free: 45.09 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001731/7.795, allocations: 0.7332 MB / 2.005 GB, free: 44.9 MB / 0.6511 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.006408/7.802, allocations: 2.249 MB / 2.007 GB, free: 44.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/7.802, allocations: 2.312 kB / 2.007 GB, free: 44.46 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001499/7.803, allocations: 155.7 kB / 2.007 GB, free: 44.46 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001927/7.804, allocations: 21.08 kB / 2.007 GB, free: 44.46 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001169/7.804, allocations: 22.47 kB / 2.007 GB, free: 44.46 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/7.805, allocations: 1.297 MB / 2.008 GB, free: 43.21 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/7.805, allocations: 0 / 2.008 GB, free: 43.21 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003292/7.808, allocations: 1.384 MB / 2.01 GB, free: 42.85 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001402/7.81, allocations: 332.1 kB / 2.01 GB, free: 42.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007182/7.81, allocations: 25.56 kB / 2.01 GB, free: 42.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002664/7.813, allocations: 115.4 kB / 2.01 GB, free: 42.65 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002924/7.813, allocations: 58.06 kB / 2.01 GB, free: 42.65 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001387/7.813, allocations: 28.69 kB / 2.01 GB, free: 42.65 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.002549/7.816, allocations: 1.007 MB / 2.011 GB, free: 42.54 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.61e-07/7.816, allocations: 0 / 2.011 GB, free: 42.54 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.005944/7.822, allocations: 1.115 MB / 2.012 GB, free: 42.4 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (vol.dynBal.U,mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006536/7.829, allocations: 3.036 MB / 2.015 GB, free: 41.36 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003765/7.832, allocations: 1.466 MB / 2.017 GB, free: 41.15 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 9.839e-06/7.833, allocations: 5.406 kB / 2.017 GB, free: 41.15 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.00116/7.834, allocations: 461.8 kB / 2.017 GB, free: 41.05 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006646/7.84, allocations: 0.7769 MB / 2.018 GB, free: 41.04 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/7.85, allocations: 2.852 MB / 2.021 GB, free: 40.3 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002552/7.853, allocations: 1.453 MB / 2.022 GB, free: 55.57 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.004539/7.858, allocations: 0.5561 MB / 2.023 GB, free: 55.55 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001509/7.859, allocations: 0.7257 MB / 2.023 GB, free: 55.54 MB / 0.6667 GB Notification: Performance of SimCode: time 1.202e-06/7.859, allocations: 7.906 kB / 2.023 GB, free: 55.54 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1424/8.002, allocations: 59.45 MB / 2.082 GB, free: 52.76 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002825/8.002, allocations: 222.9 kB / 2.082 GB, free: 52.53 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.402/13.4, allocations: 0 / 2.082 GB, free: 52.53 MB / 0.6667 GB