Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_SolarCollectors_Examples_FlatPlateWithTank",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.235/4.235, allocations: 403.3 MB / 415.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 6.227e-05/6.257e-05, allocations: 4 kB / 0.4991 GB, free: 13.38 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.671/0.6712, allocations: 92.68 MB / 0.5896 GB, free: 14.51 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.973/8.645, allocations: 2.496 GB / 3.085 GB, free: 51.15 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004456/8.645, allocations: 96.27 kB / 3.085 GB, free: 51.1 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 13.17/21.82, allocations: 2.38 GB / 5.465 GB, free: 55.2 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.284e-06/21.82, allocations: 0 / 5.465 GB, free: 55.2 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.001974/21.82, allocations: 273.9 kB / 5.465 GB, free: 55.14 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2045 * Number of variables: 2045 Notification: Performance of Generate backend data structure: time 0.03892/21.86, allocations: 9.065 MB / 5.474 GB, free: 51.46 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/21.86, allocations: 18.59 kB / 5.474 GB, free: 51.46 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005312/21.86, allocations: 1.068 MB / 5.475 GB, free: 51.37 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02216/21.88, allocations: 2.198 MB / 5.477 GB, free: 50.74 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07049/21.95, allocations: 19.14 MB / 5.496 GB, free: 48.53 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001035/21.96, allocations: 0.6104 MB / 5.497 GB, free: 48.51 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004524/21.96, allocations: 0.8282 MB / 5.497 GB, free: 48.5 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04061/22, allocations: 10.88 MB / 5.508 GB, free: 47.14 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005998/22, allocations: 30.23 kB / 5.508 GB, free: 47.12 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003694/22.01, allocations: 344.2 kB / 5.508 GB, free: 47.11 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003181/22.01, allocations: 234.6 kB / 5.509 GB, free: 47.11 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03316/22.04, allocations: 9.728 MB / 5.518 GB, free: 44.96 MB / 0.8386 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.1216/22.16, allocations: 47.46 MB / 5.564 GB, free: 6.723 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02253/22.18, allocations: 7.174 MB / 5.571 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01262/22.2, allocations: 3.945 MB / 5.575 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7554/22.95, allocations: 15.44 MB / 5.59 GB, free: 75.73 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01351/22.96, allocations: 3.914 MB / 5.594 GB, free: 75.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007896/22.97, allocations: 0.6428 MB / 5.595 GB, free: 75.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=550): time 2.817e-05/22.97, allocations: 0 / 5.595 GB, free: 75.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=584): time 0.09823/23.07, allocations: 20.2 MB / 5.615 GB, free: 71.74 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001622/23.07, allocations: 380.3 kB / 5.615 GB, free: 71.36 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01959/23.09, allocations: 6.771 MB / 5.622 GB, free: 70.91 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.001994/23.09, allocations: 148.4 kB / 5.622 GB, free: 70.88 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.006777/23.1, allocations: 4.229 MB / 5.626 GB, free: 69.84 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.003896/23.1, allocations: 2.011 MB / 5.628 GB, free: 68.68 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001479/23.11, allocations: 140.8 kB / 5.628 GB, free: 68.68 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0006772/23.11, allocations: 0.5907 MB / 5.629 GB, free: 68.36 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01077/23.12, allocations: 3.578 MB / 5.632 GB, free: 68.34 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01246/23.13, allocations: 5.272 MB / 5.637 GB, free: 66.55 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01255/23.14, allocations: 4.569 MB / 5.642 GB, free: 66.38 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.944e-05/23.14, allocations: 14.12 kB / 5.642 GB, free: 66.38 MB / 0.8542 GB Notification: Performance of matching and sorting (n=902) (initialization): time 0.03631/23.18, allocations: 10.57 MB / 5.652 GB, free: 65.69 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.005209/23.18, allocations: 22.65 MB / 5.674 GB, free: 41.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002667/23.18, allocations: 45.25 kB / 5.674 GB, free: 41.82 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004307/23.19, allocations: 0.6085 MB / 5.675 GB, free: 41.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01646/23.2, allocations: 1.817 MB / 5.676 GB, free: 41.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008556/23.21, allocations: 3.989 MB / 5.68 GB, free: 39.99 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01521/23.23, allocations: 0.708 MB / 5.681 GB, free: 39.94 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002749/23.23, allocations: 340 kB / 5.681 GB, free: 39.94 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/23.23, allocations: 2.156 kB / 5.681 GB, free: 39.94 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03392/23.27, allocations: 9.864 MB / 5.691 GB, free: 39.67 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001925/23.27, allocations: 46.53 kB / 5.691 GB, free: 39.67 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004201/23.27, allocations: 0.6317 MB / 5.692 GB, free: 39.65 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01627/23.29, allocations: 1.799 MB / 5.693 GB, free: 39.65 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008588/23.29, allocations: 4.018 MB / 5.697 GB, free: 37.85 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01467/23.31, allocations: 0.6973 MB / 5.698 GB, free: 37.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002505/23.31, allocations: 330.7 kB / 5.698 GB, free: 37.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 201 * 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 (878): * Single equations (assignments): 871 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 17} Notification: Performance of prepare postOptimizeDAE: time 0.003863/23.32, allocations: 0.5085 MB / 5.699 GB, free: 37.66 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003582/23.32, allocations: 0.768 MB / 5.7 GB, free: 37.26 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03392/23.35, allocations: 9.057 MB / 5.708 GB, free: 36.85 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001452/23.35, allocations: 68.59 kB / 5.709 GB, free: 36.85 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-05/23.35, allocations: 5.938 kB / 5.709 GB, free: 36.85 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02417/23.38, allocations: 7.168 MB / 5.716 GB, free: 36.4 MB / 0.8542 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.06478/23.44, allocations: 19.92 MB / 5.735 GB, free: 34.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.281e-05/23.44, allocations: 13.19 kB / 5.735 GB, free: 34.52 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01379/23.46, allocations: 1.36 MB / 5.736 GB, free: 34.52 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005812/23.46, allocations: 101.4 kB / 5.736 GB, free: 34.51 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00174/23.46, allocations: 197.1 kB / 5.737 GB, free: 34.51 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006773/23.46, allocations: 0.6431 MB / 5.737 GB, free: 33.98 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.576e-05/23.46, allocations: 19.12 kB / 5.737 GB, free: 33.98 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03626/23.5, allocations: 14.95 MB / 5.752 GB, free: 29.61 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008351/23.5, allocations: 1.959 MB / 5.754 GB, free: 29.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003633/23.51, allocations: 149.2 kB / 5.754 GB, free: 29.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01453/23.52, allocations: 0.8008 MB / 5.755 GB, free: 29.04 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001722/23.52, allocations: 411.5 kB / 5.755 GB, free: 29.03 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001347/23.53, allocations: 246.1 kB / 5.755 GB, free: 29.02 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.01437/23.54, allocations: 5.306 MB / 5.76 GB, free: 28.73 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.71e-07/23.54, allocations: 0 / 5.76 GB, free: 28.73 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.02608/23.57, allocations: 4.445 MB / 5.765 GB, free: 28.69 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * Number of states: 27 (solCol.port_a.h_outflow,solCol.port_b.h_outflow,solCol.vol[2].ports[2].h_outflow,solCol.vol[3].ports[2].h_outflow,solCol.vol[4].ports[2].h_outflow,solCol.vol[5].ports[2].h_outflow,solCol.vol[6].ports[2].h_outflow,solCol.vol[7].ports[2].h_outflow,solCol.vol[8].ports[2].h_outflow,TOut.T,TIn.T,tan.vol[1].ports[3].h_outflow,tan.vol[2].ports[3].h_outflow,tan.vol[3].ports[3].h_outflow,tan.vol[4].ports[3].h_outflow,tan.portHex_a.h_outflow,tan.portHex_b.h_outflow,tan.indTanHex.vol[2].ports[2].h_outflow,tan.indTanHex.vol[3].ports[2].h_outflow,tan.indTanHex.cap[1].T,tan.indTanHex.cap[2].T,tan.indTanHex.cap[3].T,tan.indTanHex.cap[4].T,pum.filter.x[1],pum.filter.x[2],exp.m,exp.H) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim.tStart,weaDat.conTim1.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (642): * Single equations (assignments): 616 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 23 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0415/23.61, allocations: 19.43 MB / 5.784 GB, free: 38.09 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0385/23.65, allocations: 14.24 MB / 5.798 GB, free: 36.99 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.307e-05/23.65, allocations: 7.938 kB / 5.798 GB, free: 36.98 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.009899/23.66, allocations: 3.784 MB / 5.801 GB, free: 36.81 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03518/23.69, allocations: 4.374 MB / 5.806 GB, free: 36.73 MB / 0.8698 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.07548/23.77, allocations: 21.14 MB / 5.826 GB, free: 30.35 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01683/23.78, allocations: 6.34 MB / 5.833 GB, free: 28.39 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.04796/23.83, allocations: 6.13 MB / 5.839 GB, free: 26.86 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01249/23.84, allocations: 4.136 MB / 5.843 GB, free: 23.07 MB / 0.8698 GB Notification: Performance of SimCode: time 1.673e-06/23.84, allocations: 0 / 5.843 GB, free: 23.07 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.672/25.52, allocations: 275.4 MB / 6.111 GB, free: 72.11 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002418/25.52, allocations: 247.8 kB / 6.112 GB, free: 71.78 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.34/42.85, allocations: 4 kB / 6.112 GB, free: 71.78 MB / 0.8855 GB