Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox",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.969/4.969, allocations: 403.9 MB / 410.9 MB, free: 4.957 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2941/5.264, allocations: 95.01 MB / 0.4941 GB, free: 7.367 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5787/5.842, allocations: 92.68 MB / 0.5846 GB, free: 3.383 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.543/12.38, allocations: 2.173 GB / 2.758 GB, free: 41.82 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003318/12.39, allocations: 83.95 kB / 2.758 GB, free: 41.77 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 3.282/15.67, allocations: 0.5889 GB / 3.347 GB, free: 27.25 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/15.67, allocations: 8 kB / 3.347 GB, free: 27.24 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008122/15.68, allocations: 394.1 kB / 3.347 GB, free: 26.86 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005822/15.68, allocations: 0.9766 MB / 3.348 GB, free: 25.84 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.938e-05/15.68, allocations: 20 kB / 3.348 GB, free: 25.82 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000506/15.68, allocations: 51.91 kB / 3.348 GB, free: 25.77 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004027/15.69, allocations: 0.6873 MB / 3.349 GB, free: 25.08 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004155/15.69, allocations: 0.7818 MB / 3.35 GB, free: 24.26 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.286e-05/15.69, allocations: 3.938 kB / 3.35 GB, free: 24.26 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000236/15.69, allocations: 0 / 3.35 GB, free: 24.26 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.908e-05/15.69, allocations: 20 kB / 3.35 GB, free: 24.24 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01054/15.7, allocations: 3.287 MB / 3.353 GB, free: 20.76 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/15.7, allocations: 0.5895 MB / 3.354 GB, free: 20.14 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009563/15.7, allocations: 352.6 kB / 3.354 GB, free: 19.78 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 7.214e-05/15.7, allocations: 12.42 kB / 3.354 GB, free: 19.77 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.192e-05/15.7, allocations: 50.94 kB / 3.354 GB, free: 19.71 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=53): time 3.918e-06/15.7, allocations: 0 / 3.354 GB, free: 19.71 MB / 0.7605 GB Notification: Performance of matching and sorting (n=53): time 0.005275/15.71, allocations: 0.8452 MB / 3.355 GB, free: 18.86 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.836e-05/15.71, allocations: 218.1 kB / 3.355 GB, free: 18.6 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00228/15.71, allocations: 0.807 MB / 3.356 GB, free: 17.77 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0003675/15.71, allocations: 33.64 kB / 3.356 GB, free: 17.73 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004813/15.71, allocations: 336.2 kB / 3.356 GB, free: 17.39 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005005/15.71, allocations: 173.4 kB / 3.356 GB, free: 17.22 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001989/15.71, allocations: 0 / 3.356 GB, free: 17.22 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001544/15.71, allocations: 334 kB / 3.357 GB, free: 16.89 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001722/15.72, allocations: 321.2 kB / 3.357 GB, free: 16.58 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00226/15.72, allocations: 0.5284 MB / 3.357 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00235/15.72, allocations: 394 kB / 3.358 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.61e-05/15.72, allocations: 0 / 3.358 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.005419/15.73, allocations: 0.9047 MB / 3.359 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002634/15.73, allocations: 0.7849 MB / 3.359 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.033e-05/15.73, allocations: 7.984 kB / 3.359 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.753e-05/15.73, allocations: 7.906 kB / 3.359 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003648/15.73, allocations: 203.7 kB / 3.36 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.423e-05/15.73, allocations: 7.984 kB / 3.36 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003285/15.73, allocations: 131.4 kB / 3.36 GB, free: 13.48 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003161/15.73, allocations: 39.95 kB / 3.36 GB, free: 13.44 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/15.73, allocations: 4 kB / 3.36 GB, free: 13.43 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002532/15.74, allocations: 0.7325 MB / 3.361 GB, free: 12.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.085e-05/15.74, allocations: 4.031 kB / 3.361 GB, free: 12.7 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/15.74, allocations: 11.91 kB / 3.361 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002275/15.74, allocations: 171.7 kB / 3.361 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/15.74, allocations: 8 kB / 3.361 GB, free: 12.51 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002926/15.74, allocations: 99.45 kB / 3.361 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002515/15.74, allocations: 39.97 kB / 3.361 GB, free: 12.37 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 72 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0004481/15.74, allocations: 120.9 kB / 3.361 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006739/15.74, allocations: 102.8 kB / 3.361 GB, free: 12.14 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004109/15.75, allocations: 0.8299 MB / 3.362 GB, free: 11.31 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.587e-05/15.75, allocations: 8 kB / 3.362 GB, free: 11.3 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.765e-05/15.75, allocations: 4 kB / 3.362 GB, free: 11.3 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-05/15.75, allocations: 7.922 kB / 3.362 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01164/15.76, allocations: 2.349 MB / 3.364 GB, free: 8.84 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.505e-05/15.76, allocations: 4 kB / 3.364 GB, free: 8.836 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003154/15.76, allocations: 171.8 kB / 3.364 GB, free: 8.668 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-05/15.76, allocations: 4 kB / 3.364 GB, free: 8.664 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002085/15.76, allocations: 15.98 kB / 3.364 GB, free: 8.648 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-05/15.76, allocations: 8 kB / 3.364 GB, free: 8.641 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.307e-05/15.76, allocations: 7.938 kB / 3.364 GB, free: 8.633 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005424/15.77, allocations: 1.521 MB / 3.366 GB, free: 6.965 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006475/15.77, allocations: 2.431 MB / 3.368 GB, free: 4.375 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/15.78, allocations: 299.6 kB / 3.369 GB, free: 4.062 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003712/15.78, allocations: 4 kB / 3.369 GB, free: 4.059 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002757/15.78, allocations: 91.88 kB / 3.369 GB, free: 3.969 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002072/15.78, allocations: 52.22 kB / 3.369 GB, free: 3.918 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001433/15.78, allocations: 39.97 kB / 3.369 GB, free: 3.879 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.00148/15.78, allocations: 0.6209 MB / 3.369 GB, free: 3.246 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.006589/15.79, allocations: 1.026 MB / 3.37 GB, free: 2.219 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 2 (mixBox.filter.x[1],mixBox.filter.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 62 * 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.00332/15.79, allocations: 1.881 MB / 3.372 GB, free: 268 kB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.004025/15.79, allocations: 1.192 MB / 3.373 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.279e-05/15.79, allocations: 8.062 kB / 3.373 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001237/15.8, allocations: 365.3 kB / 3.374 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005021/15.8, allocations: 396.2 kB / 3.374 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01292/15.81, allocations: 1.912 MB / 3.376 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00235/15.82, allocations: 1.232 MB / 3.377 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of SimCode: time 2.144e-06/15.82, allocations: 0 / 3.377 GB, free: 11.06 MB / 0.7761 GB