Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.131/3.131, allocations: 343.8 MB / 355.9 MB, free: 9.371 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.548e-05/4.556e-05, allocations: 4 kB / 436.7 MB, free: 2.363 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1693, allocations: 77.74 MB / 0.5023 GB, free: 4.469 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6454/0.8148, allocations: 107.1 MB / 0.6069 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000409/0.8153, allocations: 91.94 kB / 0.607 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01702/0.8323, allocations: 3.171 MB / 0.6101 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.863e-06/0.8324, allocations: 0 / 0.6101 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.693e-05/0.8324, allocations: 0 / 0.6101 GB, free: 10.54 MB / 0.4948 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.0005883/0.833, allocations: 431.3 kB / 0.6105 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 7.86e-05/0.8331, allocations: 8.031 kB / 0.6105 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.943e-05/0.8331, allocations: 30.56 kB / 0.6106 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.505e-05/0.8332, allocations: 7.906 kB / 0.6106 GB, free: 10 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.8334, allocations: 179 kB / 0.6107 GB, free: 9.789 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.8334, allocations: 0 / 0.6107 GB, free: 9.789 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.8334, allocations: 11.92 kB / 0.6107 GB, free: 9.777 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.8336, allocations: 65.69 kB / 0.6108 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.8336, allocations: 0 / 0.6108 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.8337, allocations: 7.984 kB / 0.6108 GB, free: 9.699 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.8337, allocations: 0 / 0.6108 GB, free: 9.699 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.8338, allocations: 35.98 kB / 0.6108 GB, free: 9.664 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005344/0.8344, allocations: 284.8 kB / 0.6111 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.8345, allocations: 50.56 kB / 0.6112 GB, free: 9.277 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.8346, allocations: 44.86 kB / 0.6112 GB, free: 9.23 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.8347, allocations: 0 / 0.6112 GB, free: 9.23 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.8347, allocations: 34.56 kB / 0.6112 GB, free: 9.188 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.774e-06/0.8347, allocations: 3.938 kB / 0.6112 GB, free: 9.184 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0003741/0.8351, allocations: 131.4 kB / 0.6114 GB, free: 9.043 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/0.8352, allocations: 89.09 kB / 0.6115 GB, free: 8.938 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.8353, allocations: 112.9 kB / 0.6116 GB, free: 8.82 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.8354, allocations: 25.7 kB / 0.6116 GB, free: 8.789 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.74e-05/0.8354, allocations: 96.03 kB / 0.6117 GB, free: 8.691 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.8355, allocations: 7.906 kB / 0.6117 GB, free: 8.684 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.038e-05/0.8355, allocations: 4 kB / 0.6117 GB, free: 8.68 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.8356, allocations: 310.8 kB / 0.612 GB, free: 8.367 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.8358, allocations: 51.97 kB / 0.612 GB, free: 8.316 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.8359, allocations: 56.66 kB / 0.6121 GB, free: 8.262 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.8361, allocations: 111.3 kB / 0.6122 GB, free: 8.141 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.8361, allocations: 0 / 0.6122 GB, free: 8.141 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003922/0.8365, allocations: 205.1 kB / 0.6124 GB, free: 7.922 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.009e-05/0.8366, allocations: 66.06 kB / 0.6125 GB, free: 7.848 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.8366, allocations: 0 / 0.6125 GB, free: 7.848 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.8366, allocations: 0 / 0.6125 GB, free: 7.848 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.948e-05/0.8367, allocations: 7.984 kB / 0.6125 GB, free: 7.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.8368, allocations: 0 / 0.6125 GB, free: 7.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.238e-05/0.8369, allocations: 19.86 kB / 0.6125 GB, free: 7.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-05/0.8369, allocations: 0 / 0.6125 GB, free: 7.82 MB / 0.4948 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.0001334/0.837, allocations: 138.7 kB / 0.6126 GB, free: 7.672 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.581e-05/0.8371, allocations: 7.922 kB / 0.6126 GB, free: 7.664 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.737e-05/0.8371, allocations: 8.031 kB / 0.6126 GB, free: 7.652 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.8372, allocations: 0 / 0.6126 GB, free: 7.652 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.8372, allocations: 0 / 0.6126 GB, free: 7.652 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.8372, allocations: 0 / 0.6126 GB, free: 7.652 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/0.8374, allocations: 173.6 kB / 0.6128 GB, free: 7.434 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.8374, allocations: 7.938 kB / 0.6128 GB, free: 7.426 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.734e-05/0.8375, allocations: 4 kB / 0.6128 GB, free: 7.422 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.8375, allocations: 0 / 0.6128 GB, free: 7.422 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.8375, allocations: 4 kB / 0.6128 GB, free: 7.418 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.8376, allocations: 3.938 kB / 0.6128 GB, free: 7.414 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.8376, allocations: 0 / 0.6128 GB, free: 7.414 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003436/0.8379, allocations: 241.1 kB / 0.613 GB, free: 7.156 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.832e-05/0.838, allocations: 85.19 kB / 0.6131 GB, free: 7.055 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.838, allocations: 4.031 kB / 0.6131 GB, free: 7.051 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.8381, allocations: 8 kB / 0.6131 GB, free: 7.043 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.632e-05/0.8382, allocations: 7.984 kB / 0.6131 GB, free: 7.035 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.8383, allocations: 4 kB / 0.6131 GB, free: 7.031 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.367e-05/0.8384, allocations: 100.2 kB / 0.6132 GB, free: 6.934 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.61e-07/0.8384, allocations: 0 / 0.6132 GB, free: 6.934 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005095/0.8389, allocations: 63.94 kB / 0.6133 GB, free: 6.871 MB / 0.4948 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.0009341/0.8398, allocations: 0.8453 MB / 0.6141 GB, free: 5.996 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003982/0.8403, allocations: 226.8 kB / 0.6143 GB, free: 5.75 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.8403, allocations: 0 / 0.6143 GB, free: 5.75 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.8404, allocations: 103.4 kB / 0.6144 GB, free: 5.637 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001874/0.8406, allocations: 0 / 0.6144 GB, free: 5.637 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006988/0.8414, allocations: 190.4 kB / 0.6146 GB, free: 5.414 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.8417, allocations: 0.6926 MB / 0.6153 GB, free: 4.695 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.335e-05/0.8417, allocations: 0 / 0.6153 GB, free: 4.695 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.102e-05/0.8418, allocations: 15.38 kB / 0.6153 GB, free: 4.68 MB / 0.4948 GB Notification: Performance of SimCode: time 1.112e-06/0.8418, allocations: 0 / 0.6153 GB, free: 4.68 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02743/0.8692, allocations: 2.488 MB / 0.6177 GB, free: 2.305 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003579/0.8696, allocations: 199.3 kB / 0.6179 GB, free: 2.078 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.283/3.153, allocations: 4 kB / 0.6179 GB, free: 2.074 MB / 0.4948 GB