Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_5_0_1_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",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.635/4.635, allocations: 404 MB / 410.9 MB, free: 4.93 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3105/4.946, allocations: 95.02 MB / 0.4941 GB, free: 7.328 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5584/5.504, allocations: 92.67 MB / 0.5846 GB, free: 3.41 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2564/5.761, allocations: 120.2 MB / 0.7019 GB, free: 13.55 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003546/5.761, allocations: 83.92 kB / 0.702 GB, free: 13.47 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.02814/5.789, allocations: 4.081 MB / 0.706 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/5.789, allocations: 8 kB / 0.706 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008058/5.79, allocations: 71.92 kB / 0.7061 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/5.79, allocations: 163 kB / 0.7062 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.845e-05/5.79, allocations: 0 / 0.7062 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.327e-05/5.79, allocations: 7.984 kB / 0.7063 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000138/5.791, allocations: 20 kB / 0.7063 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/5.791, allocations: 57.59 kB / 0.7063 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/5.791, allocations: 0 / 0.7063 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/5.791, allocations: 0 / 0.7063 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/5.791, allocations: 0 / 0.7063 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002478/5.791, allocations: 146.1 kB / 0.7065 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003957/5.791, allocations: 50.67 kB / 0.7065 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.925e-05/5.792, allocations: 20.86 kB / 0.7065 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000115/5.792, allocations: 89.19 kB / 0.7066 GB, free: 8.605 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/5.792, allocations: 30.56 kB / 0.7066 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.904e-06/5.792, allocations: 0 / 0.7066 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5): time 0.002083/5.794, allocations: 394.2 kB / 0.707 GB, free: 8.129 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/5.794, allocations: 51.41 kB / 0.7071 GB, free: 8.066 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.773e-05/5.794, allocations: 93 kB / 0.7072 GB, free: 7.969 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.611e-05/5.794, allocations: 29.7 kB / 0.7072 GB, free: 7.934 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.639e-05/5.794, allocations: 84.08 kB / 0.7073 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.957e-05/5.794, allocations: 11.72 kB / 0.7073 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.271e-05/5.794, allocations: 0 / 0.7073 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001505/5.794, allocations: 322.8 kB / 0.7076 GB, free: 7.512 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.228e-05/5.794, allocations: 12 kB / 0.7076 GB, free: 7.5 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.866e-05/5.795, allocations: 12 kB / 0.7076 GB, free: 7.488 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004951/5.795, allocations: 59.98 kB / 0.7077 GB, free: 7.43 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/5.795, allocations: 0 / 0.7077 GB, free: 7.43 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006626/5.796, allocations: 101.9 kB / 0.7078 GB, free: 7.324 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/5.796, allocations: 8 kB / 0.7078 GB, free: 7.316 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/5.796, allocations: 7.984 kB / 0.7078 GB, free: 7.309 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/5.796, allocations: 0 / 0.7078 GB, free: 7.309 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003762/5.796, allocations: 27.97 kB / 0.7078 GB, free: 7.281 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/5.796, allocations: 3.906 kB / 0.7078 GB, free: 7.277 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000252/5.797, allocations: 19.98 kB / 0.7078 GB, free: 7.258 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-05/5.797, allocations: 3.938 kB / 0.7078 GB, free: 7.254 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 (6): * Single equations (assignments): 6 * 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.0001272/5.797, allocations: 108.5 kB / 0.7079 GB, free: 7.145 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/5.797, allocations: 0 / 0.7079 GB, free: 7.145 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009266/5.798, allocations: 141.2 kB / 0.7081 GB, free: 7 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.75e-06/5.798, allocations: 0 / 0.7081 GB, free: 7 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/5.798, allocations: 0 / 0.7081 GB, free: 7 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/5.798, allocations: 0 / 0.7081 GB, free: 7 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/5.798, allocations: 146.2 kB / 0.7082 GB, free: 6.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/5.798, allocations: 4 kB / 0.7082 GB, free: 6.816 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003822/5.798, allocations: 23.98 kB / 0.7082 GB, free: 6.793 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/5.798, allocations: 0 / 0.7082 GB, free: 6.793 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/5.798, allocations: 0 / 0.7082 GB, free: 6.793 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/5.798, allocations: 0 / 0.7082 GB, free: 6.793 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/5.798, allocations: 3.906 kB / 0.7082 GB, free: 6.789 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000821/5.799, allocations: 157 kB / 0.7084 GB, free: 6.617 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001012/5.8, allocations: 0.5525 MB / 0.7089 GB, free: 6.043 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001323/5.801, allocations: 89.06 kB / 0.709 GB, free: 5.938 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.018e-05/5.801, allocations: 4 kB / 0.709 GB, free: 5.934 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003121/5.801, allocations: 20.05 kB / 0.709 GB, free: 5.914 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/5.801, allocations: 3.938 kB / 0.709 GB, free: 5.91 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.848e-05/5.801, allocations: 12.05 kB / 0.7091 GB, free: 5.898 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.246e-05/5.801, allocations: 75.28 kB / 0.7091 GB, free: 5.824 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00146/5.803, allocations: 43.88 kB / 0.7092 GB, free: 5.781 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 (6): * Single equations (assignments): 6 * 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.0003811/5.803, allocations: 142.9 kB / 0.7093 GB, free: 5.629 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002508/5.803, allocations: 48.08 kB / 0.7094 GB, free: 5.582 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/5.803, allocations: 0 / 0.7094 GB, free: 5.582 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.591e-05/5.803, allocations: 16 kB / 0.7094 GB, free: 5.566 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001728/5.804, allocations: 8.844 kB / 0.7094 GB, free: 5.559 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000968/5.805, allocations: 136.1 kB / 0.7095 GB, free: 5.398 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005152/5.805, allocations: 0.7036 MB / 0.7102 GB, free: 4.668 MB / 0.5886 GB Notification: Performance of SimCode: time 1.002e-06/5.805, allocations: 0 / 0.7102 GB, free: 4.668 MB / 0.5886 GB