Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="Buildings_5_0_1_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.084/4.084, allocations: 403.3 MB / 415.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.152e-05/5.162e-05, allocations: 4 kB / 0.4991 GB, free: 13.37 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.729/0.7291, allocations: 92.68 MB / 0.5896 GB, free: 14.4 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2417/0.9709, allocations: 120.5 MB / 0.7073 GB, free: 5.758 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003343/0.9713, allocations: 79.94 kB / 0.7074 GB, free: 5.68 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.008968/0.9802, allocations: 1.829 MB / 0.7092 GB, free: 3.848 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.433e-06/0.9803, allocations: 4 kB / 0.7092 GB, free: 3.844 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.9803, allocations: 0 / 0.7092 GB, free: 3.844 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004526/0.9808, allocations: 350.4 kB / 0.7095 GB, free: 3.457 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.9808, allocations: 12.03 kB / 0.7095 GB, free: 3.445 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.35e-05/0.9809, allocations: 30.56 kB / 0.7095 GB, free: 3.406 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.065e-05/0.9809, allocations: 7.891 kB / 0.7095 GB, free: 3.398 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.9811, allocations: 179 kB / 0.7097 GB, free: 3.184 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.9811, allocations: 4 kB / 0.7097 GB, free: 3.18 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.9812, allocations: 0 / 0.7097 GB, free: 3.18 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.9813, allocations: 37.7 kB / 0.7098 GB, free: 3.137 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.9813, allocations: 7.984 kB / 0.7098 GB, free: 3.129 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.9814, allocations: 0 / 0.7098 GB, free: 3.129 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.9814, allocations: 0 / 0.7098 GB, free: 3.129 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.052e-05/0.9815, allocations: 15.95 kB / 0.7098 GB, free: 3.113 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002261/0.9817, allocations: 173.6 kB / 0.7099 GB, free: 2.895 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.9818, allocations: 42.52 kB / 0.71 GB, free: 2.844 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.462e-05/0.9819, allocations: 20.92 kB / 0.71 GB, free: 2.82 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006095/0.9825, allocations: 0.5544 MB / 0.7105 GB, free: 2.137 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.9826, allocations: 34.56 kB / 0.7106 GB, free: 2.094 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 1.913e-06/0.9826, allocations: 4 kB / 0.7106 GB, free: 2.09 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.002508/0.9851, allocations: 434 kB / 0.711 GB, free: 1.613 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.9852, allocations: 59.36 kB / 0.7111 GB, free: 1.543 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.683e-05/0.9853, allocations: 85 kB / 0.7111 GB, free: 1.453 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.9853, allocations: 29.7 kB / 0.7112 GB, free: 1.418 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.197e-05/0.9854, allocations: 84.14 kB / 0.7112 GB, free: 1.332 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.24e-05/0.9855, allocations: 31.53 kB / 0.7113 GB, free: 1.301 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.024e-05/0.9855, allocations: 4 kB / 0.7113 GB, free: 1.297 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.9856, allocations: 310.8 kB / 0.7116 GB, free: 0.9844 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.754e-05/0.9857, allocations: 23.94 kB / 0.7116 GB, free: 0.9609 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.764e-05/0.9858, allocations: 20.12 kB / 0.7116 GB, free: 0.9414 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.505e-05/0.9859, allocations: 23.98 kB / 0.7116 GB, free: 0.918 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.9859, allocations: 0 / 0.7116 GB, free: 0.918 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002245/0.9861, allocations: 81.62 kB / 0.7117 GB, free: 0.832 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.9861, allocations: 4 kB / 0.7117 GB, free: 0.8281 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.9861, allocations: 0 / 0.7117 GB, free: 0.8281 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.9862, allocations: 4 kB / 0.7117 GB, free: 0.8242 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/0.9864, allocations: 15.98 kB / 0.7117 GB, free: 0.8086 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.9864, allocations: 4.062 kB / 0.7117 GB, free: 0.8047 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.783e-05/0.9864, allocations: 4.234 kB / 0.7117 GB, free: 0.8008 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.9865, allocations: 8 kB / 0.7118 GB, free: 0.793 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 8.123e-05/0.9866, allocations: 105 kB / 0.7119 GB, free: 0.6836 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/0.9866, allocations: 7.938 kB / 0.7119 GB, free: 0.6758 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003235/0.9869, allocations: 93.7 kB / 0.712 GB, free: 0.5781 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.987, allocations: 7.984 kB / 0.712 GB, free: 0.5703 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.987, allocations: 256 / 0.712 GB, free: 0.5703 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.987, allocations: 3.984 kB / 0.712 GB, free: 0.5664 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001961/0.9872, allocations: 181.5 kB / 0.7121 GB, free: 348 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.9872, allocations: 0 / 0.7121 GB, free: 348 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001865/0.9874, allocations: 15.98 kB / 0.7122 GB, free: 332 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.9874, allocations: 0 / 0.7122 GB, free: 332 kB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.9874, allocations: 0 / 0.7122 GB, free: 332 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.9875, allocations: 0 / 0.7122 GB, free: 332 kB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.9875, allocations: 3.938 kB / 0.7122 GB, free: 328 kB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003224/0.9878, allocations: 145 kB / 0.7123 GB, free: 164 kB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.991e-05/0.9879, allocations: 81.14 kB / 0.7124 GB, free: 64 kB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.9879, allocations: 0 / 0.7124 GB, free: 64 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.256e-05/0.988, allocations: 0 / 0.7124 GB, free: 64 kB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.972e-05/0.988, allocations: 4 kB / 0.7124 GB, free: 60 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.9881, allocations: 7.984 kB / 0.7124 GB, free: 52 kB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.047e-05/0.9881, allocations: 79.28 kB / 0.7125 GB, free: 15.97 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.81e-07/0.9881, allocations: 4.156 kB / 0.7125 GB, free: 15.97 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003073/0.9885, allocations: 31.94 kB / 0.7125 GB, free: 15.94 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0008118/0.9893, allocations: 0.7058 MB / 0.7132 GB, free: 15.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002254/0.9895, allocations: 51.94 kB / 0.7132 GB, free: 15.15 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.9895, allocations: 0 / 0.7132 GB, free: 15.15 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.824e-05/0.9896, allocations: 32.06 kB / 0.7133 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001264/0.9898, allocations: 0 / 0.7133 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006399/0.9904, allocations: 156.5 kB / 0.7134 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.9907, allocations: 0.6811 MB / 0.7141 GB, free: 14.22 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001282/0.9909, allocations: 20.05 kB / 0.7141 GB, free: 14.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.95e-05/0.991, allocations: 11.44 kB / 0.7141 GB, free: 14.19 MB / 0.6042 GB Notification: Performance of SimCode: time 8.11e-07/0.991, allocations: 4 kB / 0.7141 GB, free: 14.18 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02063/1.012, allocations: 1.497 MB / 0.7156 GB, free: 12.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003128/1.012, allocations: 186.7 kB / 0.7157 GB, free: 12.54 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.359/3.371, allocations: 0 / 0.7157 GB, free: 12.54 MB / 0.6042 GB