Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_5_0_1_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",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.454/4.454, allocations: 404 MB / 410.9 MB, free: 4.906 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2991/4.753, allocations: 95.01 MB / 0.4941 GB, free: 7.297 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5944/5.347, allocations: 92.68 MB / 0.5846 GB, free: 3.359 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2658/5.613, allocations: 120.9 MB / 0.7027 GB, free: 12.71 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003667/5.614, allocations: 83.94 kB / 0.7028 GB, free: 12.62 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.03863/5.652, allocations: 5.478 MB / 0.7081 GB, free: 7.094 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/5.652, allocations: 11.94 kB / 0.7081 GB, free: 7.082 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008881/5.653, allocations: 79.83 kB / 0.7082 GB, free: 7.004 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/5.654, allocations: 170.9 kB / 0.7084 GB, free: 6.797 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.337e-05/5.654, allocations: 4 kB / 0.7084 GB, free: 6.793 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.523e-05/5.654, allocations: 8 kB / 0.7084 GB, free: 6.785 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002217/5.654, allocations: 39.98 kB / 0.7084 GB, free: 6.746 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002409/5.654, allocations: 65.66 kB / 0.7085 GB, free: 6.676 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/5.654, allocations: 0 / 0.7085 GB, free: 6.676 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.598e-05/5.654, allocations: 0 / 0.7085 GB, free: 6.676 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/5.654, allocations: 0 / 0.7085 GB, free: 6.676 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009934/5.655, allocations: 321.1 kB / 0.7088 GB, free: 6.324 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/5.655, allocations: 41.72 kB / 0.7088 GB, free: 6.277 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/5.656, allocations: 28.84 kB / 0.7089 GB, free: 6.246 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/5.656, allocations: 0 / 0.7089 GB, free: 6.246 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/5.656, allocations: 34.56 kB / 0.7089 GB, free: 6.203 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.823e-06/5.656, allocations: 0 / 0.7089 GB, free: 6.203 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.01745/5.673, allocations: 1.925 MB / 0.7108 GB, free: 4.156 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/5.673, allocations: 55.41 kB / 0.7108 GB, free: 4.09 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.202e-05/5.673, allocations: 89 kB / 0.7109 GB, free: 3.996 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.946e-05/5.673, allocations: 25.7 kB / 0.7109 GB, free: 3.965 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.862e-05/5.673, allocations: 95.98 kB / 0.711 GB, free: 3.867 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 8.035e-05/5.674, allocations: 35.45 kB / 0.7111 GB, free: 3.832 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.107e-05/5.674, allocations: 3.938 kB / 0.7111 GB, free: 3.828 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001429/5.674, allocations: 322.8 kB / 0.7114 GB, free: 3.504 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001948/5.674, allocations: 36 kB / 0.7114 GB, free: 3.469 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/5.674, allocations: 43.98 kB / 0.7115 GB, free: 3.426 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000225/5.674, allocations: 31.98 kB / 0.7115 GB, free: 3.395 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/5.674, allocations: 0 / 0.7115 GB, free: 3.395 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006372/5.675, allocations: 137.5 kB / 0.7116 GB, free: 3.254 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/5.675, allocations: 4 kB / 0.7116 GB, free: 3.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/5.675, allocations: 0 / 0.7116 GB, free: 3.25 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/5.675, allocations: 0 / 0.7116 GB, free: 3.25 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/5.676, allocations: 91.92 kB / 0.7117 GB, free: 3.16 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/5.676, allocations: 4 kB / 0.7117 GB, free: 3.156 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007989/5.677, allocations: 59.94 kB / 0.7118 GB, free: 3.098 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.325e-05/5.677, allocations: 4 kB / 0.7118 GB, free: 3.094 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 (13): * Single equations (assignments): 13 * 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.0001614/5.677, allocations: 112.8 kB / 0.7119 GB, free: 2.977 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.469e-05/5.678, allocations: 4 kB / 0.7119 GB, free: 2.973 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.567e-05/5.678, allocations: 8.062 kB / 0.7119 GB, free: 2.961 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/5.678, allocations: 3.906 kB / 0.7119 GB, free: 2.957 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/5.678, allocations: 0 / 0.7119 GB, free: 2.957 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/5.678, allocations: 3.984 kB / 0.7119 GB, free: 2.953 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00125/5.679, allocations: 399 kB / 0.7123 GB, free: 2.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/5.679, allocations: 4 kB / 0.7123 GB, free: 2.516 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/5.68, allocations: 91.8 kB / 0.7124 GB, free: 2.426 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-05/5.68, allocations: 4 kB / 0.7124 GB, free: 2.422 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.067e-05/5.68, allocations: 8 kB / 0.7124 GB, free: 2.414 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/5.68, allocations: 0 / 0.7124 GB, free: 2.414 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/5.68, allocations: 3.984 kB / 0.7124 GB, free: 2.41 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009729/5.681, allocations: 283.3 kB / 0.7127 GB, free: 2.117 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00143/5.683, allocations: 0.711 MB / 0.7134 GB, free: 1.387 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001878/5.683, allocations: 96.98 kB / 0.7134 GB, free: 1.273 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.444e-05/5.683, allocations: 4 kB / 0.7134 GB, free: 1.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/5.684, allocations: 60 kB / 0.7135 GB, free: 1.211 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.726e-05/5.684, allocations: 15.98 kB / 0.7135 GB, free: 1.195 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.437e-05/5.684, allocations: 4 kB / 0.7135 GB, free: 1.191 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.354e-05/5.684, allocations: 87.45 kB / 0.7136 GB, free: 1.105 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001774/5.686, allocations: 124 kB / 0.7137 GB, free: 0.9844 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0008988/5.687, allocations: 198.5 kB / 0.7139 GB, free: 0.7852 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0005547/5.688, allocations: 104.2 kB / 0.714 GB, free: 0.6836 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/5.688, allocations: 0 / 0.714 GB, free: 0.6836 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002507/5.688, allocations: 55.97 kB / 0.7141 GB, free: 0.6289 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/5.688, allocations: 11.98 kB / 0.7141 GB, free: 0.6172 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004762/5.693, allocations: 0.4958 MB / 0.7146 GB, free: 100 kB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006993/5.694, allocations: 0.7426 MB / 0.7153 GB, free: 15.33 MB / 0.6042 GB Notification: Performance of SimCode: time 1.303e-06/5.694, allocations: 4 kB / 0.7153 GB, free: 15.32 MB / 0.6042 GB