Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.231/4.231, allocations: 464.6 MB / 476.8 MB, free: 2.113 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.31e-05/4.354e-05, allocations: 4 kB / 0.5732 GB, free: 5.602 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2634, allocations: 107.2 MB / 0.6778 GB, free: 10.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9198/1.183, allocations: 132.1 MB / 0.8069 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/1.184, allocations: 76.09 kB / 0.8069 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008053/1.192, allocations: 1.844 MB / 0.8087 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.513e-06/1.192, allocations: 0 / 0.8087 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.634e-06/1.192, allocations: 0 / 0.8087 GB, free: 12.18 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003511/1.192, allocations: 350.4 kB / 0.8091 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.766e-05/1.192, allocations: 7.688 kB / 0.8091 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.594e-05/1.192, allocations: 37.03 kB / 0.8091 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.74e-05/1.192, allocations: 0 / 0.8091 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.765e-05/1.192, allocations: 163 kB / 0.8093 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/1.192, allocations: 7.875 kB / 0.8093 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/1.192, allocations: 3.438 kB / 0.8093 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/1.192, allocations: 39.55 kB / 0.8093 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/1.192, allocations: 0 / 0.8093 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/1.193, allocations: 6.75 kB / 0.8093 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/1.193, allocations: 0 / 0.8093 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.513e-05/1.193, allocations: 15.72 kB / 0.8094 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000156/1.193, allocations: 158.8 kB / 0.8095 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/1.193, allocations: 48.89 kB / 0.8095 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.606e-05/1.193, allocations: 19.23 kB / 0.8096 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000422/1.193, allocations: 0.5545 MB / 0.8101 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/1.193, allocations: 34.19 kB / 0.8101 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.914e-06/1.193, allocations: 0 / 0.8101 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.00233/1.196, allocations: 452.3 kB / 0.8106 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.583e-05/1.196, allocations: 55.25 kB / 0.8106 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.553e-05/1.196, allocations: 89 kB / 0.8107 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/1.196, allocations: 25.7 kB / 0.8107 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.037e-05/1.196, allocations: 83.83 kB / 0.8108 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.705e-05/1.196, allocations: 29.38 kB / 0.8108 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.243e-06/1.196, allocations: 0 / 0.8108 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.818e-05/1.196, allocations: 318.2 kB / 0.8111 GB, free: 9.738 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.341e-05/1.196, allocations: 11.12 kB / 0.8112 GB, free: 9.738 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.135e-05/1.196, allocations: 22.31 kB / 0.8112 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.535e-05/1.196, allocations: 24.89 kB / 0.8112 GB, free: 9.73 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/1.196, allocations: 4 kB / 0.8112 GB, free: 9.727 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001876/1.197, allocations: 90.97 kB / 0.8113 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/1.197, allocations: 3.812 kB / 0.8113 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/1.197, allocations: 3.844 kB / 0.8113 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/1.197, allocations: 0 / 0.8113 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/1.197, allocations: 14.55 kB / 0.8113 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/1.197, allocations: 0.7031 kB / 0.8113 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.64e-05/1.197, allocations: 3.875 kB / 0.8113 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/1.197, allocations: 0 / 0.8113 GB, free: 9.688 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: 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 6.297e-05/1.197, allocations: 118.3 kB / 0.8114 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.776e-05/1.197, allocations: 0 / 0.8114 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002916/1.197, allocations: 107.6 kB / 0.8115 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/1.197, allocations: 3.969 kB / 0.8115 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/1.197, allocations: 4 kB / 0.8115 GB, free: 9.516 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/1.197, allocations: 0 / 0.8115 GB, free: 9.516 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001351/1.197, allocations: 169.4 kB / 0.8117 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/1.197, allocations: 2.812 kB / 0.8117 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001752/1.198, allocations: 15.78 kB / 0.8117 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/1.198, allocations: 0 / 0.8117 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/1.198, allocations: 0 / 0.8117 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/1.198, allocations: 3.938 kB / 0.8117 GB, free: 9.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/1.198, allocations: 2.812 kB / 0.8117 GB, free: 9.32 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002708/1.198, allocations: 141.8 kB / 0.8119 GB, free: 9.246 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.61e-05/1.198, allocations: 84.38 kB / 0.8119 GB, free: 9.148 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/1.198, allocations: 0 / 0.8119 GB, free: 9.148 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.628e-05/1.198, allocations: 3.844 kB / 0.8119 GB, free: 9.148 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.763e-05/1.198, allocations: 2.625 kB / 0.8119 GB, free: 9.148 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/1.198, allocations: 6.719 kB / 0.812 GB, free: 9.148 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.337e-05/1.198, allocations: 75.28 kB / 0.812 GB, free: 9.074 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.61e-07/1.198, allocations: 0 / 0.812 GB, free: 9.074 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003237/1.199, allocations: 40.33 kB / 0.8121 GB, free: 9.062 MB / 0.6355 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.001036/1.2, allocations: 0.7087 MB / 0.8128 GB, free: 24.45 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000181/1.2, allocations: 45.7 kB / 0.8128 GB, free: 24.45 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.2, allocations: 3.188 kB / 0.8128 GB, free: 24.45 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.718e-05/1.2, allocations: 29.44 kB / 0.8128 GB, free: 24.45 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001471/1.2, allocations: 9.5 kB / 0.8128 GB, free: 24.44 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005945/1.201, allocations: 157.4 kB / 0.813 GB, free: 24.32 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/1.201, allocations: 0.6817 MB / 0.8137 GB, free: 23.62 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001205/1.201, allocations: 8.156 kB / 0.8137 GB, free: 23.61 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.33e-05/1.201, allocations: 13.7 kB / 0.8137 GB, free: 23.61 MB / 0.6511 GB Notification: Performance of SimCode: time 7.01e-07/1.201, allocations: 0 / 0.8137 GB, free: 23.61 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02238/1.224, allocations: 1.488 MB / 0.8151 GB, free: 23.37 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001955/1.224, allocations: 186.5 kB / 0.8153 GB, free: 23.14 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.366/3.59, allocations: 0 / 0.8153 GB, free: 23.14 MB / 0.6511 GB