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.139/4.139, allocations: 403.3 MB / 415.4 MB, free: 12.97 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.321e-05/4.332e-05, allocations: 4 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8183/0.8184, allocations: 92.69 MB / 0.5896 GB, free: 14.37 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.933/8.751, allocations: 2.496 GB / 3.085 GB, free: 49.38 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004182/8.752, allocations: 96.72 kB / 3.085 GB, free: 49.33 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 13.1/21.86, allocations: 2.38 GB / 5.465 GB, free: 39.95 MB / 0.823 GB Notification: Performance of FrontEnd: time 4.829e-06/21.86, allocations: 3.688 kB / 5.465 GB, free: 39.95 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.001891/21.86, allocations: 263 kB / 5.465 GB, free: 39.89 MB / 0.823 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.03975/21.9, allocations: 9.082 MB / 5.474 GB, free: 36.13 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/21.9, allocations: 10.25 kB / 5.474 GB, free: 36.13 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005212/21.9, allocations: 1.068 MB / 5.475 GB, free: 36.04 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02183/21.92, allocations: 2.194 MB / 5.477 GB, free: 35.41 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06827/21.99, allocations: 19.15 MB / 5.496 GB, free: 33.18 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001012/21.99, allocations: 0.611 MB / 5.497 GB, free: 33.16 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004588/22, allocations: 0.8173 MB / 5.497 GB, free: 33.15 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03886/22.04, allocations: 10.79 MB / 5.508 GB, free: 31.81 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005221/22.04, allocations: 40.84 kB / 5.508 GB, free: 31.79 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003562/22.04, allocations: 335.8 kB / 5.508 GB, free: 31.79 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003192/22.04, allocations: 238.4 kB / 5.509 GB, free: 31.79 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03281/22.08, allocations: 9.595 MB / 5.518 GB, free: 29.08 MB / 0.823 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.1182/22.19, allocations: 47.46 MB / 5.564 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02044/22.21, allocations: 7.109 MB / 5.571 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01194/22.23, allocations: 3.953 MB / 5.575 GB, free: 9.656 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8331/23.06, allocations: 15.42 MB / 5.59 GB, free: 76.36 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01193/23.07, allocations: 3.89 MB / 5.594 GB, free: 76.15 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007914/23.08, allocations: 0.6415 MB / 5.595 GB, free: 76.15 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=550): time 3.146e-05/23.08, allocations: 4.312 kB / 5.595 GB, free: 76.15 MB / 0.8542 GB Notification: Performance of matching and sorting (n=584): time 0.07969/23.16, allocations: 20.21 MB / 5.614 GB, free: 72.37 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001645/23.16, allocations: 378.6 kB / 5.615 GB, free: 71.98 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01769/23.18, allocations: 6.771 MB / 5.621 GB, free: 71.54 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.00205/23.18, allocations: 145.7 kB / 5.621 GB, free: 71.51 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.006238/23.19, allocations: 4.229 MB / 5.626 GB, free: 70.46 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.003768/23.19, allocations: 2.012 MB / 5.628 GB, free: 69.29 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001044/23.19, allocations: 144 kB / 5.628 GB, free: 69.29 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0005639/23.19, allocations: 0.5841 MB / 5.628 GB, free: 68.97 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009959/23.2, allocations: 3.583 MB / 5.632 GB, free: 68.96 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.012/23.21, allocations: 5.226 MB / 5.637 GB, free: 67.18 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01227/23.22, allocations: 4.575 MB / 5.641 GB, free: 67.01 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.398e-05/23.23, allocations: 12.81 kB / 5.641 GB, free: 67.01 MB / 0.8542 GB Notification: Performance of matching and sorting (n=902) (initialization): time 0.0344/23.26, allocations: 10.44 MB / 5.651 GB, free: 66.32 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.00517/23.26, allocations: 22.65 MB / 5.674 GB, free: 42.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002595/23.26, allocations: 47.97 kB / 5.674 GB, free: 42.45 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004233/23.27, allocations: 0.6094 MB / 5.674 GB, free: 42.43 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01664/23.29, allocations: 1.812 MB / 5.676 GB, free: 42.43 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008545/23.29, allocations: 3.992 MB / 5.68 GB, free: 40.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01557/23.31, allocations: 0.7152 MB / 5.681 GB, free: 40.56 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002405/23.31, allocations: 336.8 kB / 5.681 GB, free: 40.56 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/23.31, allocations: 7.219 kB / 5.681 GB, free: 40.56 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03052/23.34, allocations: 9.738 MB / 5.69 GB, free: 40.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001626/23.34, allocations: 45.44 kB / 5.691 GB, free: 40.29 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003925/23.35, allocations: 0.6256 MB / 5.691 GB, free: 40.27 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01631/23.36, allocations: 1.798 MB / 5.693 GB, free: 40.27 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008446/23.37, allocations: 4.032 MB / 5.697 GB, free: 38.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01426/23.39, allocations: 0.6961 MB / 5.697 GB, free: 38.41 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002337/23.39, allocations: 331.9 kB / 5.698 GB, free: 38.41 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.002505/23.39, allocations: 0.5051 MB / 5.698 GB, free: 38.28 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002945/23.39, allocations: 0.7659 MB / 5.699 GB, free: 37.87 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02878/23.42, allocations: 9.06 MB / 5.708 GB, free: 37.46 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.936e-05/23.42, allocations: 69.98 kB / 5.708 GB, free: 37.46 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.411e-05/23.42, allocations: 0 / 5.708 GB, free: 37.46 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02134/23.44, allocations: 7.157 MB / 5.715 GB, free: 37.02 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.05855/23.5, allocations: 19.89 MB / 5.734 GB, free: 35.13 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.592e-05/23.5, allocations: 10.19 kB / 5.734 GB, free: 35.13 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01357/23.52, allocations: 1.358 MB / 5.736 GB, free: 35.13 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005199/23.52, allocations: 106.5 kB / 5.736 GB, free: 35.12 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001336/23.52, allocations: 199.1 kB / 5.736 GB, free: 35.12 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006155/23.52, allocations: 0.6449 MB / 5.737 GB, free: 34.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.589e-05/23.52, allocations: 20.22 kB / 5.737 GB, free: 34.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03322/23.55, allocations: 14.94 MB / 5.751 GB, free: 30.23 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008192/23.56, allocations: 1.965 MB / 5.753 GB, free: 29.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003363/23.56, allocations: 154.4 kB / 5.753 GB, free: 29.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01445/23.58, allocations: 0.8004 MB / 5.754 GB, free: 29.66 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0017/23.58, allocations: 402.8 kB / 5.754 GB, free: 29.64 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000989/23.58, allocations: 241 kB / 5.755 GB, free: 29.64 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.01365/23.6, allocations: 5.311 MB / 5.76 GB, free: 29.36 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.92e-07/23.6, allocations: 1.812 kB / 5.76 GB, free: 29.36 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.02611/23.62, allocations: 4.45 MB / 5.764 GB, free: 29.31 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.04097/23.66, allocations: 19.45 MB / 5.783 GB, free: 22.66 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.04003/23.7, allocations: 14.02 MB / 5.797 GB, free: 21.72 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.683e-05/23.7, allocations: 7.531 kB / 5.797 GB, free: 21.71 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.01086/23.71, allocations: 3.728 MB / 5.801 GB, free: 21.57 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03602/23.75, allocations: 4.375 MB / 5.805 GB, free: 21.48 MB / 0.8542 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.06744/23.82, allocations: 21.09 MB / 5.825 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01236/23.83, allocations: 6.344 MB / 5.832 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.03793/23.87, allocations: 6.136 MB / 5.838 GB, free: 9.906 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01112/23.88, allocations: 4.138 MB / 5.842 GB, free: 6.105 MB / 0.8542 GB Notification: Performance of SimCode: time 1.393e-06/23.88, allocations: 0 / 5.842 GB, free: 6.105 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.73/25.61, allocations: 274.3 MB / 6.11 GB, free: 93.64 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002124/25.61, allocations: 237.5 kB / 6.11 GB, free: 93.34 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.76/42.37, allocations: 0 / 6.11 GB, free: 93.34 MB / 0.9011 GB