Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_5_0_1_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_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.617/4.617, allocations: 404 MB / 410.9 MB, free: 4.91 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2949/4.912, allocations: 95.02 MB / 0.4941 GB, free: 7.301 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5548/5.467, allocations: 92.68 MB / 0.5846 GB, free: 3.387 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.282/5.749, allocations: 119.6 MB / 0.7014 GB, free: 14.09 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003407/5.749, allocations: 75.94 kB / 0.7014 GB, free: 14.02 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0317/5.781, allocations: 5.046 MB / 0.7064 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/5.781, allocations: 15.94 kB / 0.7064 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.591e-05/5.781, allocations: 11.91 kB / 0.7064 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/5.781, allocations: 167 kB / 0.7066 GB, free: 8.695 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/5.781, allocations: 0 / 0.7066 GB, free: 8.695 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.188e-05/5.781, allocations: 7.984 kB / 0.7066 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001044/5.782, allocations: 15.98 kB / 0.7066 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/5.782, allocations: 53.53 kB / 0.7066 GB, free: 8.613 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/5.782, allocations: 0 / 0.7066 GB, free: 8.613 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/5.782, allocations: 4 kB / 0.7066 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/5.782, allocations: 0 / 0.7066 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002295/5.782, allocations: 138.2 kB / 0.7068 GB, free: 8.438 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/5.782, allocations: 38.08 kB / 0.7068 GB, free: 8.395 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.266e-05/5.782, allocations: 20.86 kB / 0.7068 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001232/5.783, allocations: 469.5 kB / 0.7073 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/5.783, allocations: 34.47 kB / 0.7073 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 2.094e-06/5.784, allocations: 0 / 0.7073 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.001994/5.786, allocations: 0.5169 MB / 0.7078 GB, free: 7.168 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/5.786, allocations: 51.41 kB / 0.7079 GB, free: 7.105 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.437e-05/5.786, allocations: 101 kB / 0.7079 GB, free: 7 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/5.786, allocations: 25.7 kB / 0.708 GB, free: 6.969 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.785e-05/5.786, allocations: 80.14 kB / 0.7081 GB, free: 6.887 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.996e-05/5.786, allocations: 39.36 kB / 0.7081 GB, free: 6.848 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.724e-06/5.786, allocations: 0 / 0.7081 GB, free: 6.848 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001582/5.786, allocations: 318.9 kB / 0.7084 GB, free: 6.527 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.679e-05/5.786, allocations: 15.94 kB / 0.7084 GB, free: 6.512 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.833e-05/5.786, allocations: 16 kB / 0.7084 GB, free: 6.496 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/5.786, allocations: 27.98 kB / 0.7084 GB, free: 6.469 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/5.786, allocations: 4 kB / 0.7085 GB, free: 6.465 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003528/5.787, allocations: 89.59 kB / 0.7085 GB, free: 6.371 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/5.787, allocations: 8 kB / 0.7085 GB, free: 6.363 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/5.787, allocations: 0 / 0.7085 GB, free: 6.363 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/5.787, allocations: 0 / 0.7085 GB, free: 6.363 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002343/5.787, allocations: 23.92 kB / 0.7086 GB, free: 6.34 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/5.787, allocations: 4 kB / 0.7086 GB, free: 6.336 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.769e-05/5.787, allocations: 0 / 0.7086 GB, free: 6.336 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/5.787, allocations: 0 / 0.7086 GB, free: 6.336 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.0001038/5.787, allocations: 109 kB / 0.7087 GB, free: 6.223 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.168e-05/5.787, allocations: 7.906 kB / 0.7087 GB, free: 6.215 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004069/5.788, allocations: 101.6 kB / 0.7088 GB, free: 6.105 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/5.788, allocations: 0 / 0.7088 GB, free: 6.105 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/5.788, allocations: 0 / 0.7088 GB, free: 6.105 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/5.788, allocations: 0 / 0.7088 GB, free: 6.105 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006598/5.789, allocations: 319.1 kB / 0.7091 GB, free: 5.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/5.789, allocations: 0 / 0.7091 GB, free: 5.75 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000271/5.789, allocations: 27.92 kB / 0.7091 GB, free: 5.723 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/5.789, allocations: 4 kB / 0.7091 GB, free: 5.719 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/5.789, allocations: 3.938 kB / 0.7091 GB, free: 5.715 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/5.789, allocations: 0 / 0.7091 GB, free: 5.715 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.668e-06/5.789, allocations: 7.906 kB / 0.7091 GB, free: 5.707 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004852/5.789, allocations: 211.4 kB / 0.7093 GB, free: 5.484 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007216/5.79, allocations: 0.6059 MB / 0.7099 GB, free: 4.859 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.86e-05/5.79, allocations: 93.19 kB / 0.71 GB, free: 4.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/5.79, allocations: 0 / 0.71 GB, free: 4.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/5.79, allocations: 4 kB / 0.71 GB, free: 4.746 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/5.791, allocations: 7.969 kB / 0.71 GB, free: 4.738 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/5.791, allocations: 4 kB / 0.71 GB, free: 4.734 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.691e-05/5.791, allocations: 79.28 kB / 0.7101 GB, free: 4.656 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001625/5.792, allocations: 51.94 kB / 0.7101 GB, free: 4.605 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.0004212/5.793, allocations: 162.5 kB / 0.7103 GB, free: 4.441 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002164/5.793, allocations: 59.88 kB / 0.7104 GB, free: 4.383 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/5.793, allocations: 0 / 0.7104 GB, free: 4.383 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.041e-05/5.793, allocations: 32.16 kB / 0.7104 GB, free: 4.352 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/5.793, allocations: 7.906 kB / 0.7104 GB, free: 4.344 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004645/5.794, allocations: 116.4 kB / 0.7105 GB, free: 4.203 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004671/5.794, allocations: 0.7114 MB / 0.7112 GB, free: 3.465 MB / 0.5886 GB Notification: Performance of SimCode: time 9.62e-07/5.794, allocations: 0 / 0.7112 GB, free: 3.465 MB / 0.5886 GB