Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_5_0_1_Buildings_Utilities_Math_Examples_RegNonZeroPower",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.581/4.581, allocations: 404 MB / 410.9 MB, free: 4.953 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2797/4.861, allocations: 95.01 MB / 0.4941 GB, free: 7.324 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5871/5.448, allocations: 92.66 MB / 0.5846 GB, free: 3.387 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2541/5.702, allocations: 120 MB / 0.7017 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003005/5.703, allocations: 71.97 kB / 0.7018 GB, free: 13.66 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.02604/5.729, allocations: 4.326 MB / 0.706 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/5.729, allocations: 16 kB / 0.706 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.232e-05/5.729, allocations: 11.91 kB / 0.706 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/5.729, allocations: 159.1 kB / 0.7062 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/5.729, allocations: 4 kB / 0.7062 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/5.729, allocations: 0 / 0.7062 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001047/5.729, allocations: 12 kB / 0.7062 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/5.729, allocations: 33.69 kB / 0.7062 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/5.729, allocations: 0 / 0.7062 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/5.729, allocations: 7.891 kB / 0.7062 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/5.729, allocations: 0 / 0.7062 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006164/5.73, allocations: 261.4 kB / 0.7065 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.72e-05/5.73, allocations: 22.58 kB / 0.7065 GB, free: 8.68 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.64e-05/5.73, allocations: 12.92 kB / 0.7065 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001149/5.731, allocations: 461.5 kB / 0.707 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/5.731, allocations: 34.47 kB / 0.707 GB, free: 8.078 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 3.306e-06/5.731, allocations: 0 / 0.707 GB, free: 8.078 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.00032/5.732, allocations: 41.7 kB / 0.707 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/5.732, allocations: 59.38 kB / 0.7071 GB, free: 7.961 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/5.732, allocations: 96.98 kB / 0.7072 GB, free: 7.859 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/5.732, allocations: 33.58 kB / 0.7072 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.307e-05/5.732, allocations: 88.14 kB / 0.7073 GB, free: 7.73 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/5.732, allocations: 3.906 kB / 0.7073 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-06/5.732, allocations: 0 / 0.7073 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001423/5.732, allocations: 310.8 kB / 0.7076 GB, free: 7.414 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.61e-05/5.732, allocations: 8 kB / 0.7076 GB, free: 7.406 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.315e-05/5.732, allocations: 8 kB / 0.7076 GB, free: 7.398 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.845e-05/5.732, allocations: 0 / 0.7076 GB, free: 7.398 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/5.732, allocations: 4 kB / 0.7076 GB, free: 7.395 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001867/5.733, allocations: 45.59 kB / 0.7077 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/5.733, allocations: 8 kB / 0.7077 GB, free: 7.336 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/5.733, allocations: 0 / 0.7077 GB, free: 7.336 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/5.733, allocations: 0 / 0.7077 GB, free: 7.336 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001981/5.733, allocations: 16.08 kB / 0.7077 GB, free: 7.32 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/5.733, allocations: 0 / 0.7077 GB, free: 7.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/5.733, allocations: 12 kB / 0.7077 GB, free: 7.309 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/5.733, allocations: 7.922 kB / 0.7077 GB, free: 7.301 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 (2): * Single equations (assignments): 2 * 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 8.914e-05/5.733, allocations: 104.9 kB / 0.7078 GB, free: 7.191 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/5.733, allocations: 4 kB / 0.7078 GB, free: 7.188 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002153/5.733, allocations: 49.31 kB / 0.7079 GB, free: 7.129 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/5.733, allocations: 4 kB / 0.7079 GB, free: 7.125 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/5.733, allocations: 0 / 0.7079 GB, free: 7.125 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/5.734, allocations: 3.906 kB / 0.7079 GB, free: 7.121 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002174/5.734, allocations: 134.5 kB / 0.708 GB, free: 6.953 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/5.734, allocations: 4 kB / 0.708 GB, free: 6.949 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/5.734, allocations: 11.98 kB / 0.708 GB, free: 6.938 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/5.734, allocations: 8.031 kB / 0.708 GB, free: 6.93 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/5.734, allocations: 0 / 0.708 GB, free: 6.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/5.734, allocations: 0 / 0.708 GB, free: 6.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/5.734, allocations: 0 / 0.708 GB, free: 6.93 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002284/5.734, allocations: 147.9 kB / 0.7082 GB, free: 6.77 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004001/5.735, allocations: 0.5077 MB / 0.7087 GB, free: 6.242 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.239e-05/5.735, allocations: 81.05 kB / 0.7087 GB, free: 6.145 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.382e-05/5.735, allocations: 4 kB / 0.7087 GB, free: 6.141 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/5.735, allocations: 11.89 kB / 0.7088 GB, free: 6.129 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.575e-05/5.735, allocations: 8 kB / 0.7088 GB, free: 6.121 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-06/5.735, allocations: 3.938 kB / 0.7088 GB, free: 6.117 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.07e-05/5.735, allocations: 83.31 kB / 0.7088 GB, free: 6.035 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001387/5.736, allocations: 16 kB / 0.7089 GB, free: 6.02 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0002705/5.737, allocations: 122.5 kB / 0.709 GB, free: 5.895 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001344/5.737, allocations: 15.94 kB / 0.709 GB, free: 5.879 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/5.737, allocations: 0 / 0.709 GB, free: 5.879 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.639e-05/5.737, allocations: 15.94 kB / 0.709 GB, free: 5.863 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/5.737, allocations: 3.938 kB / 0.709 GB, free: 5.859 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003283/5.738, allocations: 64.98 kB / 0.7091 GB, free: 5.773 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003416/5.738, allocations: 0.6919 MB / 0.7097 GB, free: 5.055 MB / 0.5886 GB Notification: Performance of SimCode: time 1.112e-06/5.738, allocations: 0 / 0.7097 GB, free: 5.055 MB / 0.5886 GB