Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,fileNamePrefix="Buildings_5_0_1_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection",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.354/4.354, allocations: 403.9 MB / 410.9 MB, free: 4.961 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2502/4.604, allocations: 95.02 MB / 0.4941 GB, free: 7.324 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5458/5.15, allocations: 92.68 MB / 0.5846 GB, free: 3.387 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2621/5.412, allocations: 127.3 MB / 0.7089 GB, free: 6.363 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004126/5.412, allocations: 91.92 kB / 0.709 GB, free: 6.273 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.08908/5.501, allocations: 16.11 MB / 0.7247 GB, free: 6.039 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/5.502, allocations: 8 kB / 0.7248 GB, free: 6.031 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06782/5.569, allocations: 2.669 MB / 0.7274 GB, free: 3.359 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002157/5.572, allocations: 0.6082 MB / 0.728 GB, free: 2.711 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/5.572, allocations: 12 kB / 0.728 GB, free: 2.699 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004171/5.572, allocations: 19.91 kB / 0.728 GB, free: 2.68 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001614/5.574, allocations: 493 kB / 0.7285 GB, free: 2.199 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001629/5.575, allocations: 0.5075 MB / 0.729 GB, free: 1.688 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/5.575, allocations: 3.938 kB / 0.729 GB, free: 1.684 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/5.575, allocations: 0 / 0.729 GB, free: 1.684 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/5.576, allocations: 4 kB / 0.729 GB, free: 1.68 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007594/5.583, allocations: 2.962 MB / 0.7319 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001354/5.585, allocations: 470.6 kB / 0.7323 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001102/5.586, allocations: 325 kB / 0.7326 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001872/5.586, allocations: 51.91 kB / 0.7327 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/5.586, allocations: 30.56 kB / 0.7327 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 3.507e-06/5.586, allocations: 0 / 0.7327 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22): time 0.0132/5.599, allocations: 1.385 MB / 0.734 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/5.599, allocations: 55.31 kB / 0.7341 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004732/5.6, allocations: 235.6 kB / 0.7343 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.00032/5.6, allocations: 29.7 kB / 0.7343 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003445/5.6, allocations: 176.2 kB / 0.7345 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/5.601, allocations: 67 kB / 0.7346 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004446/5.601, allocations: 4 kB / 0.7346 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001947/5.601, allocations: 342.7 kB / 0.7349 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002982/5.604, allocations: 0.8438 MB / 0.7357 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003301/5.608, allocations: 0.9155 MB / 0.7366 GB, free: 9.375 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02583/5.633, allocations: 2.225 MB / 0.7388 GB, free: 7.148 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.317e-06/5.634, allocations: 0 / 0.7388 GB, free: 7.148 MB / 0.6198 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.03098/5.665, allocations: 3.3 MB / 0.742 GB, free: 3.832 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001034/5.665, allocations: 99.48 kB / 0.7421 GB, free: 3.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02774/5.692, allocations: 2.886 MB / 0.7449 GB, free: 0.8359 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.344e-05/5.692, allocations: 4 kB / 0.7449 GB, free: 0.832 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0143/5.707, allocations: 0.5892 MB / 0.7455 GB, free: 248 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/5.707, allocations: 0 / 0.7455 GB, free: 248 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01349/5.72, allocations: 0.4915 MB / 0.746 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004805/5.721, allocations: 59.77 kB / 0.7461 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/5.721, allocations: 4 kB / 0.7461 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02997/5.751, allocations: 3.236 MB / 0.7492 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02655/5.778, allocations: 2.878 MB / 0.752 GB, free: 9.566 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/5.778, allocations: 4 kB / 0.752 GB, free: 9.562 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01352/5.791, allocations: 0.6009 MB / 0.7526 GB, free: 8.961 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/5.791, allocations: 0 / 0.7526 GB, free: 8.961 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01275/5.804, allocations: 495.4 kB / 0.7531 GB, free: 8.477 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000431/5.804, allocations: 55.86 kB / 0.7531 GB, free: 8.422 MB / 0.6355 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 (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.000409/5.805, allocations: 116.8 kB / 0.7533 GB, free: 8.301 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002509/5.805, allocations: 31.62 kB / 0.7533 GB, free: 8.27 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01012/5.815, allocations: 1.402 MB / 0.7547 GB, free: 6.855 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/5.815, allocations: 4 kB / 0.7547 GB, free: 6.852 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/5.815, allocations: 4 kB / 0.7547 GB, free: 6.848 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/5.815, allocations: 3.984 kB / 0.7547 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001744/5.817, allocations: 0.8672 MB / 0.7555 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.008649/5.826, allocations: 1.079 MB / 0.7566 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00514/5.831, allocations: 247.8 kB / 0.7568 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.286e-05/5.831, allocations: 4 kB / 0.7568 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001142/5.831, allocations: 11.98 kB / 0.7568 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.636e-06/5.831, allocations: 4 kB / 0.7568 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/5.831, allocations: 7.938 kB / 0.7568 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008088/5.839, allocations: 1.209 MB / 0.758 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00846/5.848, allocations: 1.588 MB / 0.7596 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001583/5.848, allocations: 120.6 kB / 0.7597 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001861/5.848, allocations: 0 / 0.7597 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004818/5.853, allocations: 171.8 kB / 0.7598 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/5.853, allocations: 19.97 kB / 0.7599 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001452/5.853, allocations: 27.97 kB / 0.7599 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0003286/5.854, allocations: 183.1 kB / 0.7601 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.004265/5.858, allocations: 383.2 kB / 0.7604 GB, free: 0.7695 MB / 0.6355 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 (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0008997/5.859, allocations: 277 kB / 0.7607 GB, free: 500 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.006667/5.866, allocations: 1.973 MB / 0.7626 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/5.866, allocations: 11.94 kB / 0.7626 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001169/5.867, allocations: 407.2 kB / 0.763 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007138/5.868, allocations: 45.19 kB / 0.7631 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003344/5.871, allocations: 0.7182 MB / 0.7638 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001829/5.873, allocations: 0.9361 MB / 0.7647 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of SimCode: time 1.463e-06/5.873, allocations: 0 / 0.7647 GB, free: 12.32 MB / 0.6511 GB