Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.511/4.511, allocations: 404.1 MB / 411.3 MB, free: 380 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.412e-05/3.422e-05, allocations: 8 kB / 0.4945 GB, free: 1.277 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6981/0.6982, allocations: 92.69 MB / 0.5851 GB, free: 2.273 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2667/0.9649, allocations: 121 MB / 0.7032 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003796/0.9654, allocations: 91.88 kB / 0.7033 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02362/0.989, allocations: 3.14 MB / 0.7064 GB, free: 5.887 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.126e-06/0.9891, allocations: 4 kB / 0.7064 GB, free: 5.883 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.9891, allocations: 4 kB / 0.7064 GB, free: 5.879 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0008258/0.9899, allocations: 425.8 kB / 0.7068 GB, free: 5.406 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 7.489e-05/0.99, allocations: 16.02 kB / 0.7068 GB, free: 5.391 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.035e-05/0.9901, allocations: 7.859 kB / 0.7068 GB, free: 5.383 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.9904, allocations: 163.1 kB / 0.707 GB, free: 5.184 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.634e-05/0.9904, allocations: 4 kB / 0.707 GB, free: 5.18 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.324e-05/0.9905, allocations: 0 / 0.707 GB, free: 5.18 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002249/0.9907, allocations: 39.92 kB / 0.707 GB, free: 5.141 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.9909, allocations: 77.61 kB / 0.7071 GB, free: 5.059 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.9909, allocations: 0 / 0.7071 GB, free: 5.059 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/0.991, allocations: 4 kB / 0.7071 GB, free: 5.055 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.991, allocations: 3.953 kB / 0.7071 GB, free: 5.051 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005635/0.9916, allocations: 253.4 kB / 0.7073 GB, free: 4.766 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/0.9917, allocations: 54.56 kB / 0.7074 GB, free: 4.703 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.9919, allocations: 40.92 kB / 0.7074 GB, free: 4.66 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.9919, allocations: 7.984 kB / 0.7074 GB, free: 4.652 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.992, allocations: 34.5 kB / 0.7075 GB, free: 4.609 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 2.244e-06/0.992, allocations: 0 / 0.7075 GB, free: 4.609 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0004478/0.9924, allocations: 97.67 kB / 0.7076 GB, free: 4.508 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.451e-05/0.9925, allocations: 89.05 kB / 0.7076 GB, free: 4.402 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.9927, allocations: 109 kB / 0.7077 GB, free: 4.289 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.9927, allocations: 25.7 kB / 0.7078 GB, free: 4.258 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.931e-05/0.9928, allocations: 96.08 kB / 0.7079 GB, free: 4.16 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.9928, allocations: 11.78 kB / 0.7079 GB, free: 4.148 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.338e-05/0.9929, allocations: 4 kB / 0.7079 GB, free: 4.145 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.993, allocations: 314.8 kB / 0.7082 GB, free: 3.828 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.9932, allocations: 47.98 kB / 0.7082 GB, free: 3.781 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.9933, allocations: 55.95 kB / 0.7083 GB, free: 3.727 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/0.9936, allocations: 47.97 kB / 0.7083 GB, free: 3.68 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.9936, allocations: 0 / 0.7083 GB, free: 3.68 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004438/0.994, allocations: 145.6 kB / 0.7085 GB, free: 3.531 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 8.048e-05/0.9941, allocations: 67.39 kB / 0.7085 GB, free: 3.453 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.9941, allocations: 0 / 0.7085 GB, free: 3.453 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.9942, allocations: 0 / 0.7085 GB, free: 3.453 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.986e-05/0.9943, allocations: 4 kB / 0.7085 GB, free: 3.449 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.9943, allocations: 3.984 kB / 0.7085 GB, free: 3.445 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.828e-05/0.9944, allocations: 19.8 kB / 0.7086 GB, free: 3.426 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.126e-05/0.9945, allocations: 8 kB / 0.7086 GB, free: 3.418 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: 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 0.0001266/0.9946, allocations: 134.7 kB / 0.7087 GB, free: 3.273 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003215/0.9949, allocations: 105.7 kB / 0.7088 GB, free: 3.164 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.642e-05/0.995, allocations: 11.89 kB / 0.7088 GB, free: 3.152 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.7e-05/0.9951, allocations: 4.344 kB / 0.7088 GB, free: 3.141 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.9951, allocations: 0 / 0.7088 GB, free: 3.141 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.9951, allocations: 7.953 kB / 0.7088 GB, free: 3.133 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.9951, allocations: 0 / 0.7088 GB, free: 3.133 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/0.9954, allocations: 154.3 kB / 0.709 GB, free: 2.945 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.9954, allocations: 0 / 0.709 GB, free: 2.945 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.541e-05/0.9954, allocations: 7.938 kB / 0.709 GB, free: 2.938 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.9955, allocations: 32 / 0.709 GB, free: 2.938 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.9955, allocations: 4 kB / 0.709 GB, free: 2.934 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.9955, allocations: 0 / 0.709 GB, free: 2.934 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.9955, allocations: 4 kB / 0.709 GB, free: 2.93 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003613/0.9959, allocations: 203.5 kB / 0.7092 GB, free: 2.715 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.689e-05/0.996, allocations: 85 kB / 0.7093 GB, free: 2.613 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.172e-05/0.996, allocations: 4 kB / 0.7093 GB, free: 2.609 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.9961, allocations: 4 kB / 0.7093 GB, free: 2.605 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.393e-05/0.9963, allocations: 12.02 kB / 0.7093 GB, free: 2.594 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.9963, allocations: 0 / 0.7093 GB, free: 2.594 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001099/0.9964, allocations: 95.28 kB / 0.7094 GB, free: 2.5 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.91e-07/0.9964, allocations: 0 / 0.7094 GB, free: 2.5 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0006523/0.9971, allocations: 67.91 kB / 0.7094 GB, free: 2.434 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: 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.001071/0.9982, allocations: 0.8097 MB / 0.7102 GB, free: 1.598 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004279/0.9986, allocations: 226.7 kB / 0.7104 GB, free: 1.352 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.9986, allocations: 0 / 0.7104 GB, free: 1.352 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001667/0.9988, allocations: 99.38 kB / 0.7105 GB, free: 1.242 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.9991, allocations: 7.875 kB / 0.7105 GB, free: 1.234 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007777/0.9998, allocations: 185.4 kB / 0.7107 GB, free: 1.016 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/1, allocations: 0.6885 MB / 0.7114 GB, free: 308 kB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.354e-05/1, allocations: 4.062 kB / 0.7114 GB, free: 304 kB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.27e-05/1, allocations: 19.42 kB / 0.7114 GB, free: 284 kB / 0.5886 GB Notification: Performance of SimCode: time 9.92e-07/1, allocations: 0 / 0.7114 GB, free: 284 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05211/1.052, allocations: 2.103 MB / 0.7135 GB, free: 14.18 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.001154/1.054, allocations: 182 kB / 0.7136 GB, free: 13.99 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.739/3.793, allocations: 0 / 0.7136 GB, free: 13.99 MB / 0.6042 GB