Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.057/4.057, allocations: 432.7 MB / 444.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.684e-05/4.682e-05, allocations: 5.016 kB / 0.5338 GB, free: 12.24 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2192, allocations: 98.73 MB / 0.6302 GB, free: 6.105 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2283/0.4476, allocations: 126 MB / 0.7533 GB, free: 7.945 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000315/0.448, allocations: 91.92 kB / 0.7534 GB, free: 7.855 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01547/0.4634, allocations: 3.153 MB / 0.7564 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4635, allocations: 0 / 0.7564 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.206e-06/0.4635, allocations: 0 / 0.7564 GB, free: 4.691 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.0005465/0.4641, allocations: 429.7 kB / 0.7568 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.4641, allocations: 8.031 kB / 0.7568 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.238e-05/0.4642, allocations: 42.5 kB / 0.7569 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.504e-05/0.4642, allocations: 3.906 kB / 0.7569 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.4644, allocations: 171 kB / 0.7571 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.4644, allocations: 7.984 kB / 0.7571 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.4645, allocations: 8 kB / 0.7571 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.4647, allocations: 69.67 kB / 0.7571 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.4647, allocations: 3.938 kB / 0.7571 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.4647, allocations: 0 / 0.7571 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.4647, allocations: 0 / 0.7571 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.4648, allocations: 35.98 kB / 0.7572 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004954/0.4653, allocations: 284.9 kB / 0.7574 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.4655, allocations: 50.56 kB / 0.7575 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.4656, allocations: 40.92 kB / 0.7575 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.4656, allocations: 3.938 kB / 0.7575 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.4657, allocations: 38.56 kB / 0.7576 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.174e-06/0.4657, allocations: 3.938 kB / 0.7576 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0004009/0.4661, allocations: 135.3 kB / 0.7577 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/0.4662, allocations: 81.06 kB / 0.7578 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.4663, allocations: 113 kB / 0.7579 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.4663, allocations: 29.7 kB / 0.7579 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.224e-05/0.4664, allocations: 88.12 kB / 0.758 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.4664, allocations: 7.906 kB / 0.758 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.356e-06/0.4665, allocations: 0 / 0.758 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.4666, allocations: 314.9 kB / 0.7583 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.4667, allocations: 55.97 kB / 0.7584 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.4668, allocations: 55.91 kB / 0.7584 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.467, allocations: 103.4 kB / 0.7585 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.467, allocations: 0 / 0.7585 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003847/0.4674, allocations: 212.9 kB / 0.7587 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.264e-05/0.4675, allocations: 59.41 kB / 0.7588 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.4675, allocations: 0 / 0.7588 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.4676, allocations: 0 / 0.7588 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.19e-05/0.4677, allocations: 11.98 kB / 0.7588 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.4677, allocations: 0 / 0.7588 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.99e-05/0.4678, allocations: 15.89 kB / 0.7588 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/0.4678, allocations: 4 kB / 0.7588 GB, free: 1.973 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 0.00011/0.4679, allocations: 138.7 kB / 0.7589 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.468, allocations: 7.906 kB / 0.7589 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.729e-05/0.468, allocations: 4.031 kB / 0.759 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.468, allocations: 0 / 0.759 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.4681, allocations: 4 kB / 0.759 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.4681, allocations: 4.078 kB / 0.759 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002236/0.4683, allocations: 177.6 kB / 0.7591 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.4683, allocations: 0 / 0.7591 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.681e-05/0.4684, allocations: 4 kB / 0.7591 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.4684, allocations: 0 / 0.7591 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.4684, allocations: 0 / 0.7591 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.4684, allocations: 64 / 0.7591 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.4684, allocations: 4 kB / 0.7591 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000348/0.4688, allocations: 253 kB / 0.7594 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.232e-05/0.4689, allocations: 77.11 kB / 0.7595 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.74e-05/0.4689, allocations: 8 kB / 0.7595 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.469, allocations: 7.984 kB / 0.7595 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.313e-05/0.4691, allocations: 4 kB / 0.7595 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.4691, allocations: 3.984 kB / 0.7595 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.832e-05/0.4692, allocations: 103.1 kB / 0.7596 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.11e-07/0.4692, allocations: 4.031 kB / 0.7596 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005276/0.4698, allocations: 67.94 kB / 0.7596 GB, free: 1.016 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.001006/0.4708, allocations: 0.835 MB / 0.7605 GB, free: 148 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004148/0.4712, allocations: 226.7 kB / 0.7607 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4713, allocations: 0 / 0.7607 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.4714, allocations: 103.4 kB / 0.7608 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.4716, allocations: 4 kB / 0.7608 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006602/0.4723, allocations: 182.4 kB / 0.7609 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.4726, allocations: 0.6887 MB / 0.7616 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.066e-05/0.4726, allocations: 0 / 0.7616 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.064e-05/0.4727, allocations: 15.44 kB / 0.7616 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of SimCode: time 7.81e-07/0.4727, allocations: 0 / 0.7616 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02152/0.4942, allocations: 2.479 MB / 0.7641 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003622/0.4947, allocations: 184.7 kB / 0.7642 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.282/2.777, allocations: 0 / 0.7642 GB, free: 12.24 MB / 0.6511 GB