Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.979/4.979, allocations: 404.1 MB / 411.3 MB, free: 392 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.315e-05/2.324e-05, allocations: 0 / 0.4945 GB, free: 1.266 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7574/0.7575, allocations: 92.69 MB / 0.5851 GB, free: 2.254 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2711/1.029, allocations: 120 MB / 0.7023 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003888/1.029, allocations: 87.94 kB / 0.7024 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.005997/1.035, allocations: 1.085 MB / 0.7034 GB, free: 8.895 MB / 0.5886 GB Notification: Performance of FrontEnd: time 4.468e-06/1.035, allocations: 4 kB / 0.7034 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.345e-06/1.035, allocations: 3.938 kB / 0.7034 GB, free: 8.887 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006077/1.036, allocations: 354.3 kB / 0.7038 GB, free: 8.496 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.626e-05/1.036, allocations: 16 kB / 0.7038 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.722e-05/1.036, allocations: 7.953 kB / 0.7038 GB, free: 8.473 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/1.036, allocations: 167 kB / 0.704 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/1.036, allocations: 0 / 0.704 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/1.036, allocations: 4 kB / 0.704 GB, free: 8.266 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001226/1.036, allocations: 16 kB / 0.704 GB, free: 8.25 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/1.036, allocations: 45.62 kB / 0.704 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/1.036, allocations: 0 / 0.704 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/1.037, allocations: 0 / 0.704 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/1.037, allocations: 3.953 kB / 0.704 GB, free: 8.195 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005256/1.037, allocations: 249.5 kB / 0.7043 GB, free: 7.914 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/1.037, allocations: 30.58 kB / 0.7043 GB, free: 7.875 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.74e-05/1.037, allocations: 20.94 kB / 0.7043 GB, free: 7.852 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/1.037, allocations: 0 / 0.7043 GB, free: 7.852 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/1.037, allocations: 34.56 kB / 0.7043 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.933e-06/1.037, allocations: 7.875 kB / 0.7043 GB, free: 7.801 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0002551/1.038, allocations: 53.55 kB / 0.7044 GB, free: 7.742 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/1.038, allocations: 55.41 kB / 0.7044 GB, free: 7.676 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/1.038, allocations: 108.9 kB / 0.7046 GB, free: 7.562 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/1.038, allocations: 29.7 kB / 0.7046 GB, free: 7.527 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.197e-05/1.038, allocations: 88.12 kB / 0.7047 GB, free: 7.438 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.383e-05/1.038, allocations: 3.906 kB / 0.7047 GB, free: 7.434 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.133e-06/1.038, allocations: 4 kB / 0.7047 GB, free: 7.43 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001457/1.038, allocations: 318.8 kB / 0.705 GB, free: 7.109 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.17e-05/1.038, allocations: 8 kB / 0.705 GB, free: 7.102 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.82e-05/1.038, allocations: 4 kB / 0.705 GB, free: 7.098 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5e-05/1.038, allocations: 8 kB / 0.705 GB, free: 7.09 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/1.038, allocations: 4 kB / 0.705 GB, free: 7.086 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001783/1.039, allocations: 65.47 kB / 0.7051 GB, free: 7.016 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/1.039, allocations: 4 kB / 0.7051 GB, free: 7.012 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/1.039, allocations: 0 / 0.7051 GB, free: 7.012 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/1.039, allocations: 192 / 0.7051 GB, free: 7.012 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/1.039, allocations: 15.98 kB / 0.7051 GB, free: 6.996 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/1.039, allocations: 7.938 kB / 0.7051 GB, free: 6.988 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/1.039, allocations: 7.984 kB / 0.7051 GB, free: 6.98 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/1.039, allocations: 4 kB / 0.7051 GB, free: 6.977 MB / 0.5886 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 (3): * Single equations (assignments): 3 * 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 9.537e-05/1.039, allocations: 101 kB / 0.7052 GB, free: 6.871 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001862/1.039, allocations: 57.58 kB / 0.7053 GB, free: 6.809 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.99e-05/1.039, allocations: 4 kB / 0.7053 GB, free: 6.805 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.888e-05/1.039, allocations: 8.344 kB / 0.7053 GB, free: 6.789 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/1.039, allocations: 3.953 kB / 0.7053 GB, free: 6.785 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/1.039, allocations: 0 / 0.7053 GB, free: 6.785 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/1.039, allocations: 4 kB / 0.7053 GB, free: 6.781 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002475/1.04, allocations: 150.2 kB / 0.7054 GB, free: 6.598 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/1.04, allocations: 4 kB / 0.7054 GB, free: 6.594 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001531/1.04, allocations: 15.92 kB / 0.7054 GB, free: 6.578 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/1.04, allocations: 0 / 0.7054 GB, free: 6.578 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/1.04, allocations: 0 / 0.7054 GB, free: 6.578 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/1.04, allocations: 0 / 0.7054 GB, free: 6.578 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/1.04, allocations: 3.984 kB / 0.7054 GB, free: 6.574 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002223/1.04, allocations: 151.4 kB / 0.7056 GB, free: 6.41 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.003e-05/1.04, allocations: 81.11 kB / 0.7057 GB, free: 6.312 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/1.04, allocations: 4 kB / 0.7057 GB, free: 6.309 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/1.041, allocations: 4 kB / 0.7057 GB, free: 6.305 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.613e-05/1.041, allocations: 3.984 kB / 0.7057 GB, free: 6.301 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/1.041, allocations: 4 kB / 0.7057 GB, free: 6.297 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 8.456e-05/1.041, allocations: 95.61 kB / 0.7058 GB, free: 6.203 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.91e-07/1.041, allocations: 3.938 kB / 0.7058 GB, free: 6.199 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004335/1.041, allocations: 11.89 kB / 0.7058 GB, free: 6.188 MB / 0.5886 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 (3): * Single equations (assignments): 3 * 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.0007439/1.042, allocations: 0.6947 MB / 0.7065 GB, free: 5.469 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001863/1.042, allocations: 19.98 kB / 0.7065 GB, free: 5.449 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/1.042, allocations: 3.938 kB / 0.7065 GB, free: 5.445 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.14e-05/1.042, allocations: 12 kB / 0.7065 GB, free: 5.434 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/1.043, allocations: 0.8594 kB / 0.7065 GB, free: 5.434 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006853/1.043, allocations: 121.4 kB / 0.7066 GB, free: 5.277 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/1.044, allocations: 0.6846 MB / 0.7073 GB, free: 4.566 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.96e-05/1.044, allocations: 0 / 0.7073 GB, free: 4.566 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.866e-05/1.044, allocations: 15.44 kB / 0.7073 GB, free: 4.551 MB / 0.5886 GB Notification: Performance of SimCode: time 1.082e-06/1.044, allocations: 0 / 0.7073 GB, free: 4.551 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04882/1.093, allocations: 0.908 MB / 0.7082 GB, free: 3.656 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004055/1.093, allocations: 171.3 kB / 0.7083 GB, free: 3.461 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.01/4.104, allocations: 4 kB / 0.7083 GB, free: 3.457 MB / 0.5886 GB