Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.431/4.431, allocations: 460.4 MB / 472.6 MB, free: 5.383 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.429e-05/4.448e-05, allocations: 4 kB / 0.5682 GB, free: 10.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2766, allocations: 106.2 MB / 0.6719 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9445/1.221, allocations: 133 MB / 0.8018 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003125/1.221, allocations: 82.61 kB / 0.8018 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02067/1.242, allocations: 4.274 MB / 0.806 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.633e-06/1.242, allocations: 0 / 0.806 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.296e-06/1.242, allocations: 4 kB / 0.806 GB, free: 12.24 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005628/1.243, allocations: 378.5 kB / 0.8064 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/1.243, allocations: 7.719 kB / 0.8064 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.119e-05/1.243, allocations: 37.78 kB / 0.8064 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.773e-05/1.243, allocations: 11.73 kB / 0.8064 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/1.243, allocations: 165.9 kB / 0.8066 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/1.243, allocations: 3.938 kB / 0.8066 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.086e-05/1.243, allocations: 11.53 kB / 0.8066 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/1.243, allocations: 63.98 kB / 0.8067 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/1.243, allocations: 6.516 kB / 0.8067 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/1.243, allocations: 3.969 kB / 0.8067 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/1.243, allocations: 0 / 0.8067 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/1.244, allocations: 34.11 kB / 0.8067 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007062/1.244, allocations: 331.2 kB / 0.807 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/1.244, allocations: 57.16 kB / 0.8071 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.201e-05/1.245, allocations: 22.55 kB / 0.8071 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.346e-05/1.245, allocations: 3.953 kB / 0.8071 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/1.245, allocations: 41.69 kB / 0.8071 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.665e-06/1.245, allocations: 0 / 0.8071 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.001268/1.246, allocations: 0.5591 MB / 0.8077 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/1.246, allocations: 51.41 kB / 0.8077 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.878e-05/1.246, allocations: 98.66 kB / 0.8078 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/1.246, allocations: 29.52 kB / 0.8079 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.478e-05/1.246, allocations: 91.92 kB / 0.8079 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.98e-05/1.246, allocations: 36.61 kB / 0.808 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.596e-06/1.246, allocations: 3.938 kB / 0.808 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.259e-05/1.246, allocations: 321.1 kB / 0.8083 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.711e-05/1.246, allocations: 22.31 kB / 0.8083 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.514e-05/1.246, allocations: 25.27 kB / 0.8083 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.646e-05/1.246, allocations: 30.16 kB / 0.8084 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/1.246, allocations: 3.938 kB / 0.8084 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002236/1.247, allocations: 100.1 kB / 0.8085 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/1.247, allocations: 7.938 kB / 0.8085 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/1.247, allocations: 0 / 0.8085 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/1.247, allocations: 0 / 0.8085 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002931/1.247, allocations: 28.66 kB / 0.8085 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/1.247, allocations: 7.922 kB / 0.8085 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/1.247, allocations: 14.14 kB / 0.8085 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/1.247, allocations: 3.844 kB / 0.8085 GB, free: 10.09 MB / 0.6355 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 (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 prepare postOptimizeDAE: time 7.497e-05/1.247, allocations: 108.4 kB / 0.8086 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.969e-05/1.247, allocations: 7.953 kB / 0.8086 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000304/1.248, allocations: 110.2 kB / 0.8087 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/1.248, allocations: 3.875 kB / 0.8087 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/1.248, allocations: 0 / 0.8087 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/1.248, allocations: 2.719 kB / 0.8087 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004945/1.248, allocations: 374.4 kB / 0.8091 GB, free: 9.625 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/1.248, allocations: 0 / 0.8091 GB, free: 9.625 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003062/1.249, allocations: 32.78 kB / 0.8091 GB, free: 9.621 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/1.249, allocations: 0 / 0.8091 GB, free: 9.621 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/1.249, allocations: 0 / 0.8091 GB, free: 9.621 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/1.249, allocations: 2.953 kB / 0.8091 GB, free: 9.621 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/1.249, allocations: 7.812 kB / 0.8091 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000336/1.249, allocations: 223.9 kB / 0.8094 GB, free: 9.477 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000413/1.249, allocations: 81.02 kB / 0.8094 GB, free: 25.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/1.25, allocations: 3.844 kB / 0.8094 GB, free: 25.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002383/1.25, allocations: 14.23 kB / 0.8094 GB, free: 25.38 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/1.25, allocations: 6.594 kB / 0.8095 GB, free: 25.38 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/1.25, allocations: 3.812 kB / 0.8095 GB, free: 25.38 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.059e-05/1.25, allocations: 83.09 kB / 0.8095 GB, free: 25.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.81e-07/1.25, allocations: 0 / 0.8095 GB, free: 25.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004159/1.25, allocations: 45.72 kB / 0.8096 GB, free: 25.29 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0008525/1.251, allocations: 0.8035 MB / 0.8104 GB, free: 24.6 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002231/1.251, allocations: 57.12 kB / 0.8104 GB, free: 24.6 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.251, allocations: 0 / 0.8104 GB, free: 24.6 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.47e-05/1.252, allocations: 37.61 kB / 0.8105 GB, free: 24.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/1.252, allocations: 6.75 kB / 0.8105 GB, free: 24.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009258/1.253, allocations: 302.6 kB / 0.8108 GB, free: 24.37 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/1.253, allocations: 0.6987 MB / 0.8114 GB, free: 23.67 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001033/1.253, allocations: 16.3 kB / 0.8114 GB, free: 23.66 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.993e-05/1.253, allocations: 26.06 kB / 0.8115 GB, free: 23.66 MB / 0.6511 GB Notification: Performance of SimCode: time 1.463e-06/1.253, allocations: 0 / 0.8115 GB, free: 23.66 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0225/1.276, allocations: 1.992 MB / 0.8134 GB, free: 23.39 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002673/1.276, allocations: 196.7 kB / 0.8136 GB, free: 23.17 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.455/3.731, allocations: 3.938 kB / 0.8136 GB, free: 23.16 MB / 0.6511 GB