Running command: "" <> buildModelFMU(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario,fileNamePrefix="BuildSysPro_BuildSysPro_BoundaryConditions_Scenarios_Examples_ComparisonDHWScenario",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildSysPro): time 3.159/3.159, allocations: 325.3 MB / 337.5 MB, free: 10.1 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.347e-05/3.35e-05, allocations: 0 / 414.9 MB, free: 6.062 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1707, allocations: 74.42 MB / 489.3 MB, free: 11.49 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6439/0.8147, allocations: 105.3 MB / 0.5807 GB, free: 10.12 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001845/0.815, allocations: 56.72 kB / 0.5807 GB, free: 10.09 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05172/0.8667, allocations: 12.13 MB / 0.5926 GB, free: 156 kB / 474.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.8668, allocations: 0 / 0.5926 GB, free: 156 kB / 474.7 MB Notification: Performance of Transformations before backend: time 6.674e-05/0.8668, allocations: 8 kB / 0.5926 GB, free: 148 kB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001451/0.8683, allocations: 0.7118 MB / 0.5933 GB, free: 15.42 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.8684, allocations: 8.031 kB / 0.5933 GB, free: 15.41 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000125/0.8685, allocations: 71.03 kB / 0.5933 GB, free: 15.36 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004435/0.869, allocations: 71.23 kB / 0.5934 GB, free: 15.29 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.8702, allocations: 489.2 kB / 0.5939 GB, free: 14.86 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.74e-05/0.8703, allocations: 38.78 kB / 0.5939 GB, free: 14.84 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.722e-05/0.8704, allocations: 34.5 kB / 0.594 GB, free: 14.81 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009635/0.8713, allocations: 392 kB / 0.5943 GB, free: 14.52 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.8714, allocations: 0 / 0.5943 GB, free: 14.52 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.594e-05/0.8714, allocations: 13.94 kB / 0.5943 GB, free: 14.52 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.757e-05/0.8715, allocations: 16 kB / 0.5944 GB, free: 14.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007749/0.8723, allocations: 286.3 kB / 0.5946 GB, free: 14.32 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003007/0.8753, allocations: 1.234 MB / 0.5958 GB, free: 13.32 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007622/0.8761, allocations: 317 kB / 0.5961 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002689/0.8764, allocations: 123 kB / 0.5963 GB, free: 13 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.453e-05/0.8765, allocations: 8.219 kB / 0.5963 GB, free: 13 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.268e-05/0.8765, allocations: 38.48 kB / 0.5963 GB, free: 12.95 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 3.587e-06/0.8765, allocations: 0 / 0.5963 GB, free: 12.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=33): time 0.000887/0.8774, allocations: 291.5 kB / 0.5966 GB, free: 12.73 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/0.8776, allocations: 183.9 kB / 0.5968 GB, free: 12.51 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.8787, allocations: 499.4 kB / 0.5972 GB, free: 12.14 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.578e-05/0.8787, allocations: 37.08 kB / 0.5973 GB, free: 12.11 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002526/0.879, allocations: 262.1 kB / 0.5975 GB, free: 11.94 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/0.8792, allocations: 105.9 kB / 0.5976 GB, free: 11.85 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.434e-05/0.8792, allocations: 7.688 kB / 0.5976 GB, free: 11.85 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002432/0.8795, allocations: 357.8 kB / 0.598 GB, free: 11.51 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003553/0.8798, allocations: 99.42 kB / 0.5981 GB, free: 11.44 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004099/0.8803, allocations: 149.1 kB / 0.5982 GB, free: 11.31 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003542/0.8806, allocations: 90.41 kB / 0.5983 GB, free: 11.25 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.8807, allocations: 4 kB / 0.5983 GB, free: 11.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001147/0.8818, allocations: 300.1 kB / 0.5986 GB, free: 11.02 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.033e-05/0.8819, allocations: 7.953 kB / 0.5986 GB, free: 11.01 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.8819, allocations: 3.938 kB / 0.5986 GB, free: 11.01 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.63e-05/0.8819, allocations: 8.188 kB / 0.5986 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005747/0.8825, allocations: 62.78 kB / 0.5987 GB, free: 10.94 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/0.8826, allocations: 0 / 0.5987 GB, free: 10.94 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004954/0.8831, allocations: 41.52 kB / 0.5987 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.222e-05/0.8831, allocations: 11.98 kB / 0.5987 GB, free: 10.89 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: scenarioRT.ConsoECS:VARIABLE() "Hot water consumption at 40C [L]" type: Real scenarioAutre.Conso:VARIABLE() "Consumption en L" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (scenarioRT.greaterThreshold.y,scenarioRT.greaterThreshold1.y,scenarioRT.greaterThreshold2.y,scenarioRT.greaterThreshold3.y,scenarioRT.booleanToReal.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002411/0.8834, allocations: 127 kB / 0.5988 GB, free: 10.78 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002415/0.8837, allocations: 58.28 kB / 0.5989 GB, free: 10.72 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00129/0.885, allocations: 341.7 kB / 0.5992 GB, free: 10.48 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.885, allocations: 7.938 kB / 0.5992 GB, free: 10.47 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.885, allocations: 0 / 0.5992 GB, free: 10.47 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.885, allocations: 0 / 0.5992 GB, free: 10.47 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00138/0.8864, allocations: 0.519 MB / 0.5997 GB, free: 10.03 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.8865, allocations: 0 / 0.5997 GB, free: 10.03 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005982/0.8871, allocations: 59.91 kB / 0.5998 GB, free: 9.973 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.105e-05/0.8871, allocations: 0 / 0.5998 GB, free: 9.973 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.31e-05/0.8872, allocations: 10.75 kB / 0.5998 GB, free: 9.969 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.167e-06/0.8872, allocations: 3.953 kB / 0.5998 GB, free: 9.965 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.8872, allocations: 0 / 0.5998 GB, free: 9.965 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001667/0.8889, allocations: 0.6121 MB / 0.6004 GB, free: 9.465 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003102/0.8892, allocations: 152 kB / 0.6005 GB, free: 9.312 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/0.8894, allocations: 18.39 kB / 0.6006 GB, free: 9.301 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006217/0.89, allocations: 23.17 kB / 0.6006 GB, free: 9.281 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.8902, allocations: 27.33 kB / 0.6006 GB, free: 9.258 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.927e-05/0.8903, allocations: 15.05 kB / 0.6006 GB, free: 9.246 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001184/0.8915, allocations: 394.7 kB / 0.601 GB, free: 8.969 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.8915, allocations: 0 / 0.601 GB, free: 8.969 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00117/0.8927, allocations: 108.2 kB / 0.6011 GB, free: 8.875 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (scenarioRT.ConsoECS,scenarioAutre.Conso) * Number of discrete variables: 5 (scenarioRT.greaterThreshold.y,scenarioRT.greaterThreshold1.y,scenarioRT.greaterThreshold2.y,scenarioRT.greaterThreshold3.y,scenarioRT.booleanToReal.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003852/0.8966, allocations: 1.503 MB / 0.6026 GB, free: 7.582 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0009273/0.8975, allocations: 224.5 kB / 0.6028 GB, free: 7.43 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/0.8975, allocations: 0 / 0.6028 GB, free: 7.43 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004764/0.898, allocations: 133.9 kB / 0.6029 GB, free: 7.336 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.8991, allocations: 71.89 kB / 0.603 GB, free: 7.297 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00317/0.9023, allocations: 0.7616 MB / 0.6037 GB, free: 6.613 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008365/0.9031, allocations: 0.8764 MB / 0.6046 GB, free: 5.719 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006458/0.9038, allocations: 91.45 kB / 0.6047 GB, free: 5.629 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005653/0.9044, allocations: 199.5 kB / 0.6049 GB, free: 5.559 MB / 490.7 MB Notification: Performance of SimCode: time 1.192e-06/0.9044, allocations: 4 kB / 0.6049 GB, free: 5.555 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09828/1.003, allocations: 9.301 MB / 0.6139 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003052/1.003, allocations: 212.3 kB / 0.6141 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.717/3.72, allocations: 0 / 0.6141 GB, free: 12.11 MB / 0.4948 GB