Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_SolarCollectors_Examples_FlatPlate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.801/3.801, allocations: 403.3 MB / 415.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.393e-05/3.413e-05, allocations: 3.938 kB / 0.4991 GB, free: 13.38 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6497/0.6498, allocations: 92.68 MB / 0.5896 GB, free: 14.38 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.998/7.648, allocations: 2.201 GB / 2.79 GB, free: 58.29 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000329/7.648, allocations: 86.64 kB / 2.79 GB, free: 58.24 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 8.761/16.41, allocations: 1.396 GB / 4.186 GB, free: 89.66 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.605e-06/16.41, allocations: 3.469 kB / 4.186 GB, free: 89.66 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.001006/16.41, allocations: 127 kB / 4.187 GB, free: 89.64 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: 988 * Number of variables: 988 Notification: Performance of Generate backend data structure: time 0.02556/16.44, allocations: 5.672 MB / 4.192 GB, free: 87.06 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 6.156e-05/16.44, allocations: 14.47 kB / 4.192 GB, free: 87.06 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002879/16.44, allocations: 0.5255 MB / 4.193 GB, free: 87 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02038/16.46, allocations: 1.686 MB / 4.194 GB, free: 86.72 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07072/16.53, allocations: 17.29 MB / 4.211 GB, free: 85.64 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005579/16.53, allocations: 295.3 kB / 4.211 GB, free: 85.64 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002463/16.53, allocations: 392.6 kB / 4.212 GB, free: 85.64 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02203/16.56, allocations: 5.226 MB / 4.217 GB, free: 85.04 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002752/16.56, allocations: 7.656 kB / 4.217 GB, free: 85.03 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002239/16.56, allocations: 169 kB / 4.217 GB, free: 85.03 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001103/16.56, allocations: 95.28 kB / 4.217 GB, free: 85.03 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01772/16.58, allocations: 4.811 MB / 4.222 GB, free: 84.96 MB / 0.7761 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.06453/16.64, allocations: 20.76 MB / 4.242 GB, free: 73.5 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01162/16.65, allocations: 3.465 MB / 4.246 GB, free: 70.35 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005176/16.66, allocations: 1.656 MB / 4.247 GB, free: 68.8 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003486/16.66, allocations: 2.066 MB / 4.249 GB, free: 66.44 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007771/16.67, allocations: 2 MB / 4.251 GB, free: 64.76 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=275): time 1.258e-05/16.67, allocations: 0 / 4.251 GB, free: 64.76 MB / 0.7761 GB Notification: Performance of matching and sorting (n=275): time 0.01959/16.69, allocations: 3.82 MB / 4.255 GB, free: 61.36 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001686/16.69, allocations: 368.3 kB / 4.255 GB, free: 60.91 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01061/16.7, allocations: 3.269 MB / 4.258 GB, free: 58.02 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.001314/16.7, allocations: 87.33 kB / 4.258 GB, free: 57.93 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.00365/16.7, allocations: 1.964 MB / 4.26 GB, free: 55.96 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.002387/16.71, allocations: 0.9424 MB / 4.261 GB, free: 55.02 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001146/16.71, allocations: 64 kB / 4.261 GB, free: 54.96 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0004962/16.71, allocations: 434.2 kB / 4.262 GB, free: 54.53 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005499/16.71, allocations: 1.529 MB / 4.263 GB, free: 53 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006358/16.72, allocations: 2.208 MB / 4.265 GB, free: 50.54 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006443/16.73, allocations: 1.93 MB / 4.267 GB, free: 48.61 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-05/16.73, allocations: 7.953 kB / 4.267 GB, free: 48.6 MB / 0.7761 GB Notification: Performance of matching and sorting (n=410) (initialization): time 0.02138/16.75, allocations: 4.845 MB / 4.272 GB, free: 43.72 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.001916/16.75, allocations: 7.439 MB / 4.279 GB, free: 35.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.267e-05/16.75, allocations: 16 kB / 4.279 GB, free: 35.65 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004632/16.76, allocations: 0.5364 MB / 4.28 GB, free: 35.12 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01006/16.77, allocations: 0.9266 MB / 4.281 GB, free: 34.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01205/16.78, allocations: 5.492 MB / 4.286 GB, free: 28.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01018/16.79, allocations: 0.5334 MB / 4.287 GB, free: 27.95 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001518/16.79, allocations: 171.9 kB / 4.287 GB, free: 27.79 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/16.79, allocations: 4 kB / 4.287 GB, free: 27.78 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01956/16.81, allocations: 4.507 MB / 4.291 GB, free: 23.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.967e-05/16.81, allocations: 16 kB / 4.291 GB, free: 23.23 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004501/16.81, allocations: 0.5657 MB / 4.292 GB, free: 22.68 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008643/16.82, allocations: 0.8311 MB / 4.293 GB, free: 21.86 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01086/16.83, allocations: 4.88 MB / 4.297 GB, free: 16.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009928/16.84, allocations: 494.8 kB / 4.298 GB, free: 16.28 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001611/16.85, allocations: 175.9 kB / 4.298 GB, free: 16.11 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * 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 (391): * Single equations (assignments): 386 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 17,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.00263/16.85, allocations: 288.1 kB / 4.298 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002708/16.85, allocations: 391.2 kB / 4.299 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02199/16.87, allocations: 4.583 MB / 4.303 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.997e-05/16.87, allocations: 28 kB / 4.303 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.374e-05/16.87, allocations: 0 / 4.303 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01507/16.89, allocations: 3.574 MB / 4.307 GB, free: 7.102 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03508/16.92, allocations: 9.414 MB / 4.316 GB, free: 13.6 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.098e-05/16.92, allocations: 0 / 4.316 GB, free: 13.6 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009077/16.93, allocations: 0.7218 MB / 4.317 GB, free: 12.88 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005314/16.94, allocations: 0.6585 MB / 4.317 GB, free: 12.2 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001127/16.94, allocations: 95.91 kB / 4.317 GB, free: 12.1 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01239/16.95, allocations: 8.39 MB / 4.325 GB, free: 3.223 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/16.95, allocations: 160 / 4.325 GB, free: 3.223 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02674/16.98, allocations: 6.173 MB / 4.332 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005562/16.98, allocations: 1.112 MB / 4.333 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002761/16.99, allocations: 56 kB / 4.333 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009131/17, allocations: 303.5 kB / 4.333 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001199/17, allocations: 185.9 kB / 4.333 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001248/17, allocations: 139.7 kB / 4.333 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.008733/17.01, allocations: 2.538 MB / 4.336 GB, free: 8.582 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7.82e-07/17.01, allocations: 0 / 4.336 GB, free: 8.582 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.01897/17.03, allocations: 2.96 MB / 4.339 GB, free: 5.621 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 11 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,TOut.T,TIn.T) * 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 (257): * Single equations (assignments): 244 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 10 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.7448/17.77, allocations: 8.458 MB / 4.347 GB, free: 111.9 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.02733/17.8, allocations: 6.934 MB / 4.354 GB, free: 111.1 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.752e-05/17.8, allocations: 7.062 kB / 4.354 GB, free: 111.1 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.008651/17.81, allocations: 2.015 MB / 4.356 GB, free: 110.9 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01654/17.82, allocations: 1.884 MB / 4.357 GB, free: 110.9 MB / 0.8073 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.03738/17.86, allocations: 9.397 MB / 4.367 GB, free: 109.3 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006654/17.87, allocations: 3.148 MB / 4.37 GB, free: 108.5 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.02398/17.89, allocations: 3.591 MB / 4.373 GB, free: 108.4 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006644/17.9, allocations: 1.856 MB / 4.375 GB, free: 108.4 MB / 0.8073 GB Notification: Performance of SimCode: time 1.593e-06/17.9, allocations: 2.625 kB / 4.375 GB, free: 108.4 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8124/18.71, allocations: 145.9 MB / 4.518 GB, free: 90.98 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002901/18.71, allocations: 221.9 kB / 4.518 GB, free: 90.75 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.242/27.95, allocations: 0 / 4.518 GB, free: 90.75 MB / 0.8073 GB