Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.845/3.845, allocations: 403.3 MB / 415.4 MB, free: 12.95 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.844e-05/3.853e-05, allocations: 4 kB / 0.4991 GB, free: 13.35 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6314/0.6315, allocations: 92.68 MB / 0.5896 GB, free: 14.38 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.062/1.693, allocations: 341.2 MB / 0.9228 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004111/1.694, allocations: 90.94 kB / 0.9229 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.0689/1.763, allocations: 10.97 MB / 0.9336 GB, free: 6.109 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.374e-06/1.763, allocations: 4 kB / 0.9336 GB, free: 6.105 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.467e-05/1.763, allocations: 4 kB / 0.9336 GB, free: 6.102 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.002205/1.765, allocations: 0.6063 MB / 0.9342 GB, free: 5.461 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.783e-05/1.765, allocations: 12.03 kB / 0.9342 GB, free: 5.449 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.209e-05/1.765, allocations: 42.19 kB / 0.9343 GB, free: 5.406 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001729/1.767, allocations: 123.6 kB / 0.9344 GB, free: 5.285 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002042/1.769, allocations: 337.3 kB / 0.9347 GB, free: 4.93 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.399e-05/1.769, allocations: 11.31 kB / 0.9347 GB, free: 4.922 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001523/1.769, allocations: 11.69 kB / 0.9347 GB, free: 4.914 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000639/1.77, allocations: 158 kB / 0.9349 GB, free: 4.797 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/1.77, allocations: 0 / 0.9349 GB, free: 4.797 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.922e-05/1.77, allocations: 3.312 kB / 0.9349 GB, free: 4.797 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/1.77, allocations: 7.875 kB / 0.9349 GB, free: 4.789 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007027/1.771, allocations: 135.6 kB / 0.935 GB, free: 4.707 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001996/1.773, allocations: 0.5946 MB / 0.9356 GB, free: 4.152 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002703/1.773, allocations: 99.31 kB / 0.9357 GB, free: 4.082 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002291/1.773, allocations: 84.09 kB / 0.9358 GB, free: 4.031 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008618/1.774, allocations: 0.5209 MB / 0.9363 GB, free: 3.402 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/1.774, allocations: 37.88 kB / 0.9363 GB, free: 3.359 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 3.477e-06/1.774, allocations: 0 / 0.9363 GB, free: 3.359 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13): time 0.0006998/1.775, allocations: 209.8 kB / 0.9365 GB, free: 3.203 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/1.775, allocations: 55.36 kB / 0.9366 GB, free: 3.137 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00028/1.775, allocations: 231.3 kB / 0.9368 GB, free: 2.938 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.556e-05/1.775, allocations: 32.64 kB / 0.9368 GB, free: 2.902 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.766e-05/1.775, allocations: 152.5 kB / 0.937 GB, free: 2.793 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.039e-05/1.776, allocations: 43.11 kB / 0.937 GB, free: 2.754 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-05/1.776, allocations: 3.688 kB / 0.937 GB, free: 2.754 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.017e-05/1.776, allocations: 338.1 kB / 0.9373 GB, free: 2.426 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002331/1.776, allocations: 68.67 kB / 0.9374 GB, free: 2.387 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002311/1.776, allocations: 78.11 kB / 0.9375 GB, free: 2.344 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002292/1.776, allocations: 76.78 kB / 0.9375 GB, free: 2.297 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/1.776, allocations: 0 / 0.9375 GB, free: 2.297 MB / 0.6511 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006216/1.777, allocations: 234.2 kB / 0.9378 GB, free: 2.125 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/1.777, allocations: 4 kB / 0.9378 GB, free: 2.121 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/1.777, allocations: 0 / 0.9378 GB, free: 2.121 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/1.777, allocations: 7.984 kB / 0.9378 GB, free: 2.113 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008435/1.778, allocations: 83.86 kB / 0.9378 GB, free: 2.031 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/1.778, allocations: 3.984 kB / 0.9379 GB, free: 2.027 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006389/1.779, allocations: 67.5 kB / 0.9379 GB, free: 1.965 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.946e-05/1.779, allocations: 7.984 kB / 0.9379 GB, free: 1.957 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001032/1.779, allocations: 108 kB / 0.938 GB, free: 1.852 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.152e-05/1.779, allocations: 23.72 kB / 0.9381 GB, free: 1.828 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007214/1.78, allocations: 246.5 kB / 0.9383 GB, free: 1.648 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/1.78, allocations: 0 / 0.9383 GB, free: 1.648 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/1.78, allocations: 0 / 0.9383 GB, free: 1.648 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/1.78, allocations: 3.984 kB / 0.9383 GB, free: 1.645 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004014/1.78, allocations: 314.2 kB / 0.9386 GB, free: 1.336 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/1.78, allocations: 0 / 0.9386 GB, free: 1.336 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007307/1.781, allocations: 75.92 kB / 0.9387 GB, free: 1.262 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/1.781, allocations: 0 / 0.9387 GB, free: 1.262 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.346e-05/1.781, allocations: 11.67 kB / 0.9387 GB, free: 1.254 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/1.781, allocations: 0 / 0.9387 GB, free: 1.254 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/1.781, allocations: 0 / 0.9387 GB, free: 1.254 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005835/1.782, allocations: 311.1 kB / 0.939 GB, free: 0.9922 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001443/1.782, allocations: 119.9 kB / 0.9391 GB, free: 0.8633 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.342e-05/1.782, allocations: 11.55 kB / 0.9391 GB, free: 0.8555 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006294/1.782, allocations: 47.95 kB / 0.9391 GB, free: 0.8086 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/1.783, allocations: 19.34 kB / 0.9392 GB, free: 0.793 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.999e-05/1.783, allocations: 0 / 0.9392 GB, free: 0.793 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002425/1.783, allocations: 186.7 kB / 0.9393 GB, free: 0.6445 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.81e-07/1.783, allocations: 0 / 0.9393 GB, free: 0.6445 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000541/1.783, allocations: 82.75 kB / 0.9394 GB, free: 0.5703 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.001193/1.785, allocations: 0.9315 MB / 0.9403 GB, free: 15.68 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0006117/1.785, allocations: 176 kB / 0.9405 GB, free: 15.57 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.785, allocations: 3.938 kB / 0.9405 GB, free: 15.57 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002912/1.786, allocations: 101.6 kB / 0.9406 GB, free: 15.5 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004336/1.786, allocations: 28.5 kB / 0.9406 GB, free: 15.48 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/1.787, allocations: 379.2 kB / 0.941 GB, free: 15.12 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004247/1.788, allocations: 0.7555 MB / 0.9417 GB, free: 14.34 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004706/1.788, allocations: 41.17 kB / 0.9418 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002464/1.789, allocations: 80.95 kB / 0.9418 GB, free: 14.27 MB / 0.6667 GB Notification: Performance of SimCode: time 1.503e-06/1.789, allocations: 4 kB / 0.9418 GB, free: 14.27 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03031/1.819, allocations: 6.171 MB / 0.9479 GB, free: 8.184 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003372/1.819, allocations: 184.5 kB / 0.948 GB, free: 7.949 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.545/4.364, allocations: 2.656 kB / 0.948 GB, free: 7.949 MB / 0.6667 GB