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={"dynamic"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Buildings): time 4.42/4.42, allocations: 404 MB / 410.9 MB, free: 4.934 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3081/4.728, allocations: 95.01 MB / 0.4941 GB, free: 7.316 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5508/5.279, allocations: 92.68 MB / 0.5846 GB, free: 3.395 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2513/5.53, allocations: 119.8 MB / 0.7015 GB, free: 13.95 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003474/5.531, allocations: 83.88 kB / 0.7016 GB, free: 13.87 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.01052/5.541, allocations: 1.842 MB / 0.7034 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/5.541, allocations: 8 kB / 0.7034 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.225e-05/5.541, allocations: 0 / 0.7034 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/5.541, allocations: 163 kB / 0.7036 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/5.541, allocations: 4 kB / 0.7036 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.6e-05/5.541, allocations: 3.984 kB / 0.7036 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001022/5.542, allocations: 15.94 kB / 0.7036 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/5.542, allocations: 45.69 kB / 0.7037 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/5.542, allocations: 3.938 kB / 0.7037 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/5.542, allocations: 0 / 0.7037 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/5.542, allocations: 0 / 0.7037 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002199/5.542, allocations: 142.1 kB / 0.7038 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/5.542, allocations: 38.64 kB / 0.7038 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.042e-05/5.542, allocations: 20.97 kB / 0.7038 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006717/5.543, allocations: 0.5583 MB / 0.7044 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/5.543, allocations: 34.5 kB / 0.7044 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 2.084e-06/5.543, allocations: 0 / 0.7044 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.001437/5.544, allocations: 346.1 kB / 0.7048 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/5.544, allocations: 55.41 kB / 0.7048 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.557e-05/5.545, allocations: 89 kB / 0.7049 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/5.545, allocations: 25.7 kB / 0.7049 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.856e-05/5.545, allocations: 84.08 kB / 0.705 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.961e-05/5.545, allocations: 23.66 kB / 0.705 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.406e-06/5.545, allocations: 0 / 0.705 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001496/5.545, allocations: 318.7 kB / 0.7053 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.45e-05/5.545, allocations: 16 kB / 0.7053 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.387e-05/5.545, allocations: 20.12 kB / 0.7054 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/5.545, allocations: 24.17 kB / 0.7054 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/5.545, allocations: 3.938 kB / 0.7054 GB, free: 9.648 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000284/5.545, allocations: 77.62 kB / 0.7055 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/5.546, allocations: 4 kB / 0.7055 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/5.546, allocations: 0 / 0.7055 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/5.546, allocations: 4 kB / 0.7055 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/5.546, allocations: 15.98 kB / 0.7055 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.51e-05/5.546, allocations: 3.906 kB / 0.7055 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.789e-05/5.546, allocations: 0 / 0.7055 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/5.546, allocations: 8 kB / 0.7055 GB, free: 9.531 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 0.0001016/5.546, allocations: 105 kB / 0.7056 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/5.546, allocations: 4 kB / 0.7056 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000524/5.547, allocations: 101.4 kB / 0.7057 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/5.547, allocations: 0 / 0.7057 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/5.547, allocations: 3.938 kB / 0.7057 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/5.547, allocations: 0 / 0.7057 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/5.547, allocations: 142.2 kB / 0.7058 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/5.547, allocations: 0 / 0.7058 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002369/5.547, allocations: 23.98 kB / 0.7059 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/5.547, allocations: 0 / 0.7059 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/5.547, allocations: 0 / 0.7059 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/5.547, allocations: 3.906 kB / 0.7059 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/5.547, allocations: 0 / 0.7059 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004193/5.548, allocations: 133 kB / 0.706 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006566/5.548, allocations: 0.5291 MB / 0.7065 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.789e-05/5.548, allocations: 81.02 kB / 0.7066 GB, free: 8.301 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.962e-05/5.548, allocations: 4 kB / 0.7066 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/5.549, allocations: 256 / 0.7066 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/5.549, allocations: 7.984 kB / 0.7066 GB, free: 8.289 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/5.549, allocations: 11.94 kB / 0.7066 GB, free: 8.277 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.15e-05/5.549, allocations: 75.28 kB / 0.7067 GB, free: 8.203 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001351/5.55, allocations: 35.84 kB / 0.7067 GB, free: 8.168 MB / 0.5886 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.0003889/5.55, allocations: 142.8 kB / 0.7068 GB, free: 8.023 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002437/5.551, allocations: 48 kB / 0.7069 GB, free: 7.977 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/5.551, allocations: 0 / 0.7069 GB, free: 7.977 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.593e-05/5.551, allocations: 27.92 kB / 0.7069 GB, free: 7.949 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/5.551, allocations: 4 kB / 0.7069 GB, free: 7.945 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000595/5.552, allocations: 96.12 kB / 0.707 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004345/5.552, allocations: 0.7036 MB / 0.7077 GB, free: 7.098 MB / 0.5886 GB Notification: Performance of SimCode: time 1.232e-06/5.552, allocations: 0 / 0.7077 GB, free: 7.098 MB / 0.5886 GB