Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.44/4.44, allocations: 464.6 MB / 476.8 MB, free: 2.098 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.849e-05/3.827e-05, allocations: 4.625 kB / 0.5732 GB, free: 5.582 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2442, allocations: 107.1 MB / 0.6778 GB, free: 10.24 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9077/1.152, allocations: 133.3 MB / 0.808 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003173/1.152, allocations: 91.45 kB / 0.8081 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01435/1.167, allocations: 3.171 MB / 0.8112 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.493e-06/1.167, allocations: 0 / 0.8112 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.356e-06/1.167, allocations: 3.531 kB / 0.8112 GB, free: 11.89 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004569/1.167, allocations: 431.5 kB / 0.8116 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/1.167, allocations: 11.66 kB / 0.8116 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.399e-05/1.167, allocations: 34.25 kB / 0.8117 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.541e-05/1.167, allocations: 11.72 kB / 0.8117 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/1.168, allocations: 169.9 kB / 0.8119 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/1.168, allocations: 0 / 0.8119 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/1.168, allocations: 3.781 kB / 0.8119 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/1.168, allocations: 76.75 kB / 0.8119 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/1.168, allocations: 0 / 0.8119 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/1.168, allocations: 0 / 0.8119 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/1.168, allocations: 0 / 0.8119 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.555e-05/1.168, allocations: 43.23 kB / 0.812 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004216/1.168, allocations: 280.6 kB / 0.8122 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/1.169, allocations: 54.67 kB / 0.8123 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.635e-05/1.169, allocations: 41.89 kB / 0.8123 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/1.169, allocations: 0 / 0.8123 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/1.169, allocations: 34 kB / 0.8124 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.653e-06/1.169, allocations: 0 / 0.8124 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003088/1.169, allocations: 139.8 kB / 0.8125 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/1.169, allocations: 84.45 kB / 0.8126 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.368e-05/1.169, allocations: 114.7 kB / 0.8127 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/1.169, allocations: 25.7 kB / 0.8127 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.611e-05/1.169, allocations: 90.52 kB / 0.8128 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.771e-05/1.169, allocations: 3.906 kB / 0.8128 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.468e-06/1.169, allocations: 3.688 kB / 0.8128 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.177e-05/1.169, allocations: 321.4 kB / 0.8131 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/1.169, allocations: 55.78 kB / 0.8132 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.823e-05/1.17, allocations: 46.69 kB / 0.8132 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/1.17, allocations: 110.6 kB / 0.8133 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/1.17, allocations: 0 / 0.8133 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003069/1.17, allocations: 201.8 kB / 0.8135 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.61e-05/1.17, allocations: 67.94 kB / 0.8136 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/1.17, allocations: 3.781 kB / 0.8136 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/1.17, allocations: 64 / 0.8136 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.233e-05/1.17, allocations: 11.66 kB / 0.8136 GB, free: 9.891 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/1.17, allocations: 0 / 0.8136 GB, free: 9.891 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.781e-05/1.17, allocations: 18.84 kB / 0.8136 GB, free: 9.883 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.981e-05/1.17, allocations: 0 / 0.8136 GB, free: 9.883 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: 1 (cubSpl.i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 2 * 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.78e-05/1.17, allocations: 141.9 kB / 0.8137 GB, free: 9.742 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.401e-05/1.171, allocations: 3.906 kB / 0.8137 GB, free: 9.738 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.037e-05/1.171, allocations: 10.38 kB / 0.8138 GB, free: 9.727 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/1.171, allocations: 0 / 0.8138 GB, free: 9.727 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/1.171, allocations: 0 / 0.8138 GB, free: 9.727 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/1.171, allocations: 3.938 kB / 0.8138 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001782/1.171, allocations: 182.6 kB / 0.8139 GB, free: 9.527 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/1.171, allocations: 2.859 kB / 0.8139 GB, free: 9.527 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.375e-05/1.171, allocations: 3.906 kB / 0.8139 GB, free: 9.527 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/1.171, allocations: 0 / 0.8139 GB, free: 9.527 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/1.171, allocations: 0 / 0.8139 GB, free: 9.527 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/1.171, allocations: 0 / 0.8139 GB, free: 9.527 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/1.171, allocations: 0 / 0.8139 GB, free: 9.527 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002637/1.171, allocations: 245.2 kB / 0.8142 GB, free: 9.355 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.543e-05/1.171, allocations: 84.95 kB / 0.8143 GB, free: 9.258 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/1.171, allocations: 2.719 kB / 0.8143 GB, free: 9.258 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/1.171, allocations: 7.688 kB / 0.8143 GB, free: 9.258 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.88e-05/1.171, allocations: 6.719 kB / 0.8143 GB, free: 9.258 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-06/1.172, allocations: 3.875 kB / 0.8143 GB, free: 9.258 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.649e-05/1.172, allocations: 97.58 kB / 0.8144 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.31e-07/1.172, allocations: 0 / 0.8144 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004922/1.172, allocations: 68.19 kB / 0.8144 GB, free: 9.168 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cubSpl.i) * Number of discrete states: 1 (cubSpl.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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.001149/1.173, allocations: 0.846 MB / 0.8153 GB, free: 24.45 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003451/1.174, allocations: 229.6 kB / 0.8155 GB, free: 24.32 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/1.174, allocations: 3.938 kB / 0.8155 GB, free: 24.32 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001328/1.174, allocations: 101 kB / 0.8156 GB, free: 24.25 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001744/1.174, allocations: 4.094 kB / 0.8156 GB, free: 24.25 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005877/1.175, allocations: 179.9 kB / 0.8158 GB, free: 24.13 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/1.175, allocations: 0.689 MB / 0.8164 GB, free: 23.44 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.039e-05/1.175, allocations: 2.859 kB / 0.8164 GB, free: 23.44 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.39e-05/1.175, allocations: 14.53 kB / 0.8164 GB, free: 23.43 MB / 0.6511 GB Notification: Performance of SimCode: time 8.31e-07/1.175, allocations: 0 / 0.8164 GB, free: 23.43 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02051/1.195, allocations: 2.472 MB / 0.8189 GB, free: 23.14 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000273/1.196, allocations: 197.7 kB / 0.819 GB, free: 22.91 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.28/3.476, allocations: 1.719 kB / 0.819 GB, free: 22.91 MB / 0.6511 GB