Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow",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 5.068/5.068, allocations: 404 MB / 410.9 MB, free: 4.945 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2594/5.328, allocations: 95.01 MB / 0.4941 GB, free: 7.344 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.666/5.994, allocations: 92.67 MB / 0.5846 GB, free: 3.418 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.474/12.47, allocations: 2.174 GB / 2.759 GB, free: 41.28 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003797/12.47, allocations: 86.08 kB / 2.759 GB, free: 41.23 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 4.361/16.83, allocations: 0.7223 GB / 3.481 GB, free: 144 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/16.83, allocations: 10.97 kB / 3.481 GB, free: 144 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009645/16.84, allocations: 463 kB / 3.482 GB, free: 144 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008189/16.85, allocations: 1.249 MB / 3.483 GB, free: 143.7 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001507/16.85, allocations: 26.66 kB / 3.483 GB, free: 143.7 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000736/16.85, allocations: 57.03 kB / 3.483 GB, free: 143.7 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00513/16.85, allocations: 0.8948 MB / 3.484 GB, free: 143.7 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005415/16.86, allocations: 0.9831 MB / 3.485 GB, free: 143.5 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.494e-05/16.86, allocations: 3.938 kB / 3.485 GB, free: 143.5 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003678/16.86, allocations: 0 / 3.485 GB, free: 143.5 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.475e-05/16.86, allocations: 27.09 kB / 3.485 GB, free: 143.5 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02122/16.88, allocations: 4.029 MB / 3.489 GB, free: 142.1 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003547/16.89, allocations: 0.7339 MB / 3.49 GB, free: 142 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002082/16.89, allocations: 452.9 kB / 3.49 GB, free: 141.9 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001369/16.89, allocations: 11.28 kB / 3.49 GB, free: 141.9 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.116e-05/16.89, allocations: 47.47 kB / 3.49 GB, free: 141.9 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=62): time 6.612e-06/16.89, allocations: 0 / 3.49 GB, free: 141.9 MB / 0.7761 GB Notification: Performance of matching and sorting (n=62): time 0.009638/16.9, allocations: 1.094 MB / 3.491 GB, free: 141.8 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001685/16.9, allocations: 291.7 kB / 3.491 GB, free: 141.4 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00521/16.9, allocations: 1.037 MB / 3.492 GB, free: 141.3 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0006013/16.9, allocations: 31.14 kB / 3.493 GB, free: 141.3 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006383/16.9, allocations: 390.6 kB / 3.493 GB, free: 141.1 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005763/16.9, allocations: 215.8 kB / 3.493 GB, free: 141 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002137/16.9, allocations: 3.969 kB / 3.493 GB, free: 141 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001562/16.91, allocations: 334.4 kB / 3.493 GB, free: 140.7 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002235/16.91, allocations: 429.3 kB / 3.494 GB, free: 140.7 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002865/16.91, allocations: 0.6979 MB / 3.495 GB, free: 140.4 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002164/16.91, allocations: 0.5056 MB / 3.495 GB, free: 140.4 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.795e-05/16.91, allocations: 3.125 kB / 3.495 GB, free: 140.4 MB / 0.7761 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.008253/16.92, allocations: 1.185 MB / 3.496 GB, free: 140.3 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003556/16.92, allocations: 0.7983 MB / 3.497 GB, free: 139.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.066e-05/16.92, allocations: 5.688 kB / 3.497 GB, free: 139.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.091e-05/16.92, allocations: 7.438 kB / 3.497 GB, free: 139.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005157/16.93, allocations: 256 kB / 3.497 GB, free: 139.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.713e-05/16.93, allocations: 3.781 kB / 3.497 GB, free: 139.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006195/16.93, allocations: 166.9 kB / 3.497 GB, free: 139.4 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006786/16.93, allocations: 57.75 kB / 3.497 GB, free: 139.4 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/16.93, allocations: 7.094 kB / 3.497 GB, free: 139.4 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006295/16.94, allocations: 0.9573 MB / 3.498 GB, free: 139.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.212e-05/16.94, allocations: 6.469 kB / 3.498 GB, free: 139.4 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/16.94, allocations: 7.469 kB / 3.498 GB, free: 139.4 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002839/16.94, allocations: 215.8 kB / 3.499 GB, free: 139.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.489e-05/16.94, allocations: 10.81 kB / 3.499 GB, free: 139.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003994/16.95, allocations: 125.6 kB / 3.499 GB, free: 139.4 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004577/16.95, allocations: 53.42 kB / 3.499 GB, free: 139.4 MB / 0.7761 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 (90): * Single equations (assignments): 86 * Array equations: 2 * 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.0005252/16.95, allocations: 121.2 kB / 3.499 GB, free: 139.3 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008238/16.95, allocations: 122.7 kB / 3.499 GB, free: 139.2 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004971/16.95, allocations: 1.073 MB / 3.5 GB, free: 139.2 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.261e-05/16.95, allocations: 6.781 kB / 3.5 GB, free: 139.2 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/16.95, allocations: 3.938 kB / 3.5 GB, free: 139.2 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.015e-05/16.95, allocations: 5.484 kB / 3.5 GB, free: 139.2 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01149/16.97, allocations: 2.779 MB / 3.503 GB, free: 138.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.568e-05/16.97, allocations: 3.094 kB / 3.503 GB, free: 138.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003395/16.97, allocations: 194.9 kB / 3.503 GB, free: 138.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-05/16.97, allocations: 7.531 kB / 3.503 GB, free: 138.5 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003145/16.97, allocations: 19.81 kB / 3.503 GB, free: 138.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.771e-05/16.97, allocations: 10.44 kB / 3.503 GB, free: 138.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-05/16.97, allocations: 7.75 kB / 3.503 GB, free: 138.5 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007809/16.98, allocations: 1.857 MB / 3.505 GB, free: 137.9 MB / 0.7761 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01085/16.99, allocations: 2.904 MB / 3.508 GB, free: 137 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001527/16.99, allocations: 349.7 kB / 3.508 GB, free: 136.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007721/16.99, allocations: 7.031 kB / 3.508 GB, free: 136.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003946/16.99, allocations: 114.9 kB / 3.508 GB, free: 136.8 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000435/17, allocations: 62.53 kB / 3.508 GB, free: 136.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002297/17, allocations: 43.11 kB / 3.508 GB, free: 136.8 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.002484/17, allocations: 0.7839 MB / 3.509 GB, free: 136.7 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.009041/17.01, allocations: 1.221 MB / 3.51 GB, free: 136.6 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (mixBox.filter.x[1],mixBox.filter.x[2],mixBox.filterOutMin.x[1],mixBox.filterOutMin.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 73 * 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.004681/17.01, allocations: 2.144 MB / 3.512 GB, free: 136 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.005725/17.02, allocations: 1.607 MB / 3.514 GB, free: 135.9 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.504e-05/17.02, allocations: 7.656 kB / 3.514 GB, free: 135.9 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001553/17.02, allocations: 447.4 kB / 3.514 GB, free: 135.9 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006475/17.03, allocations: 499.1 kB / 3.515 GB, free: 135.9 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01834/17.04, allocations: 2.446 MB / 3.517 GB, free: 135.3 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003048/17.05, allocations: 1.387 MB / 3.518 GB, free: 134.6 MB / 0.7761 GB Notification: Performance of SimCode: time 1.894e-06/17.05, allocations: 0 / 3.518 GB, free: 134.6 MB / 0.7761 GB