Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.804/3.804, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.869e-05/3.886e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.39 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.629/0.6291, allocations: 92.68 MB / 0.5896 GB, free: 14.41 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.803/7.433, allocations: 2.165 GB / 2.755 GB, free: 96.15 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003385/7.433, allocations: 97.88 kB / 2.755 GB, free: 96.09 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 0.2231/7.656, allocations: 59.03 MB / 2.813 GB, free: 43.02 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.996e-06/7.656, allocations: 0 / 2.813 GB, free: 43.02 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.884e-05/7.656, allocations: 31.94 kB / 2.813 GB, free: 42.99 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.002947/7.659, allocations: 1.109 MB / 2.814 GB, free: 41.82 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/7.659, allocations: 8.031 kB / 2.814 GB, free: 41.82 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003239/7.66, allocations: 126.8 kB / 2.814 GB, free: 41.68 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003325/7.663, allocations: 302.4 kB / 2.814 GB, free: 41.39 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001469/7.665, allocations: 0.549 MB / 2.815 GB, free: 40.8 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.183e-05/7.665, allocations: 58 kB / 2.815 GB, free: 40.74 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002016/7.665, allocations: 79.98 kB / 2.815 GB, free: 40.66 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002103/7.667, allocations: 0.8293 MB / 2.816 GB, free: 39.8 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.351e-05/7.667, allocations: 0 / 2.816 GB, free: 39.8 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001335/7.667, allocations: 35.94 kB / 2.816 GB, free: 39.77 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.032e-05/7.667, allocations: 20 kB / 2.816 GB, free: 39.75 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002613/7.67, allocations: 1.101 MB / 2.817 GB, free: 38.65 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007112/7.677, allocations: 2.48 MB / 2.819 GB, free: 36.1 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001946/7.679, allocations: 0.7661 MB / 2.82 GB, free: 35.32 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007174/7.68, allocations: 307 kB / 2.82 GB, free: 35.02 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001346/7.681, allocations: 0.6606 MB / 2.821 GB, free: 34.23 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001124/7.682, allocations: 458 kB / 2.821 GB, free: 33.77 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=73): time 3.667e-06/7.682, allocations: 8 kB / 2.821 GB, free: 33.76 MB / 0.7761 GB Notification: Performance of matching and sorting (n=73): time 0.002828/7.685, allocations: 0.7434 MB / 2.822 GB, free: 33 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.186e-05/7.685, allocations: 167 kB / 2.822 GB, free: 32.8 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/7.686, allocations: 0.5245 MB / 2.823 GB, free: 32.27 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002296/7.687, allocations: 41.7 kB / 2.823 GB, free: 32.23 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003207/7.687, allocations: 356.4 kB / 2.823 GB, free: 31.87 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002663/7.687, allocations: 240.5 kB / 2.823 GB, free: 31.63 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.279e-05/7.687, allocations: 12 kB / 2.823 GB, free: 31.62 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001216/7.687, allocations: 374.8 kB / 2.824 GB, free: 31.25 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006795/7.688, allocations: 241.5 kB / 2.824 GB, free: 31.01 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007542/7.689, allocations: 322.5 kB / 2.824 GB, free: 30.68 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007768/7.69, allocations: 337.4 kB / 2.825 GB, free: 30.33 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/7.69, allocations: 4 kB / 2.825 GB, free: 30.33 MB / 0.7761 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002855/7.693, allocations: 0.8746 MB / 2.826 GB, free: 29.43 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.959e-05/7.693, allocations: 61.23 kB / 2.826 GB, free: 29.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/7.693, allocations: 0 / 2.826 GB, free: 29.36 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001005/7.694, allocations: 88.83 kB / 2.826 GB, free: 29.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001532/7.695, allocations: 159.8 kB / 2.826 GB, free: 29.11 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002639/7.698, allocations: 1.52 MB / 2.827 GB, free: 27.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/7.699, allocations: 83.5 kB / 2.827 GB, free: 27.37 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/7.699, allocations: 31.97 kB / 2.827 GB, free: 27.34 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * 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: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002788/7.7, allocations: 145.1 kB / 2.828 GB, free: 27.19 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002059/7.7, allocations: 79.02 kB / 2.828 GB, free: 27.11 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003643/7.704, allocations: 1.007 MB / 2.829 GB, free: 26.09 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/7.704, allocations: 8 kB / 2.829 GB, free: 26.08 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/7.704, allocations: 0 / 2.829 GB, free: 26.08 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/7.704, allocations: 3.984 kB / 2.829 GB, free: 26.08 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001606/7.705, allocations: 0.8681 MB / 2.829 GB, free: 25.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.273e-06/7.705, allocations: 0 / 2.829 GB, free: 25.16 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001469/7.707, allocations: 159.8 kB / 2.83 GB, free: 25 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008751/7.708, allocations: 80.78 kB / 2.83 GB, free: 24.92 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001423/7.708, allocations: 35.91 kB / 2.83 GB, free: 24.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002413/7.71, allocations: 1.552 MB / 2.831 GB, free: 23.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/7.71, allocations: 0 / 2.831 GB, free: 23.2 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002904/7.713, allocations: 0.8458 MB / 2.832 GB, free: 22.33 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006693/7.714, allocations: 287.8 kB / 2.832 GB, free: 22.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001874/7.714, allocations: 15.95 kB / 2.832 GB, free: 22.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/7.715, allocations: 71.94 kB / 2.832 GB, free: 21.95 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000199/7.716, allocations: 56.7 kB / 2.832 GB, free: 21.89 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001129/7.716, allocations: 31.97 kB / 2.833 GB, free: 21.86 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000787/7.717, allocations: 439.2 kB / 2.833 GB, free: 21.43 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.01e-07/7.717, allocations: 0 / 2.833 GB, free: 21.43 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001786/7.718, allocations: 375.1 kB / 2.833 GB, free: 21.06 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim1.tStart,weaDat.conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005558/7.724, allocations: 2.394 MB / 2.836 GB, free: 18.77 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002463/7.726, allocations: 0.8648 MB / 2.836 GB, free: 17.86 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/7.727, allocations: 0 / 2.836 GB, free: 17.86 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001285/7.728, allocations: 495.1 kB / 2.837 GB, free: 17.36 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001688/7.73, allocations: 182 kB / 2.837 GB, free: 17.19 MB / 0.7761 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006611/7.736, allocations: 1.545 MB / 2.839 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005927/7.737, allocations: 1.001 MB / 2.84 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001718/7.739, allocations: 264.8 kB / 2.84 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008053/7.739, allocations: 331.3 kB / 2.84 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of SimCode: time 2.024e-06/7.739, allocations: 0 / 2.84 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.085/8.824, allocations: 30.18 MB / 2.87 GB, free: 253.2 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003061/8.825, allocations: 242.3 kB / 2.87 GB, free: 252.8 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.008/12.83, allocations: 0 / 2.87 GB, free: 252.8 MB / 0.7761 GB