Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange",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.694/4.694, allocations: 404 MB / 410.9 MB, free: 4.934 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2607/4.955, allocations: 95 MB / 0.4941 GB, free: 7.34 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5307/5.486, allocations: 92.69 MB / 0.5846 GB, free: 3.375 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.565/11.05, allocations: 2.149 GB / 2.734 GB, free: 67.71 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003137/11.05, allocations: 87.73 kB / 2.734 GB, free: 67.66 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.1543/11.21, allocations: 40.38 MB / 2.773 GB, free: 32.1 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/11.21, allocations: 8 kB / 2.773 GB, free: 32.09 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004408/11.21, allocations: 35.78 kB / 2.773 GB, free: 32.06 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/11.21, allocations: 202.8 kB / 2.773 GB, free: 31.82 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/11.21, allocations: 4 kB / 2.773 GB, free: 31.82 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.092e-05/11.21, allocations: 8 kB / 2.773 GB, free: 31.81 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002574/11.21, allocations: 63.92 kB / 2.774 GB, free: 31.75 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000252/11.21, allocations: 81.67 kB / 2.774 GB, free: 31.66 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/11.21, allocations: 4 kB / 2.774 GB, free: 31.66 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/11.21, allocations: 0 / 2.774 GB, free: 31.66 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/11.21, allocations: 4 kB / 2.774 GB, free: 31.65 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009434/11.21, allocations: 420.7 kB / 2.774 GB, free: 31.2 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002161/11.21, allocations: 70.94 kB / 2.774 GB, free: 31.12 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.891e-05/11.21, allocations: 32.83 kB / 2.774 GB, free: 31.09 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.049e-05/11.21, allocations: 0 / 2.774 GB, free: 31.09 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/11.21, allocations: 34.56 kB / 2.774 GB, free: 31.05 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=7): time 1.934e-06/11.21, allocations: 4 kB / 2.774 GB, free: 31.04 MB / 0.7605 GB Notification: Performance of matching and sorting (n=7): time 0.0003476/11.21, allocations: 77.58 kB / 2.774 GB, free: 30.96 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.398e-05/11.21, allocations: 55.41 kB / 2.774 GB, free: 30.89 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/11.21, allocations: 128.7 kB / 2.774 GB, free: 30.76 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/11.21, allocations: 29.7 kB / 2.774 GB, free: 30.73 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 5.122e-05/11.21, allocations: 115.8 kB / 2.775 GB, free: 30.61 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.503e-05/11.21, allocations: 19.66 kB / 2.775 GB, free: 30.59 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.028e-05/11.21, allocations: 0 / 2.775 GB, free: 30.59 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 6.898e-05/11.21, allocations: 322.8 kB / 2.775 GB, free: 30.27 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.614e-05/11.21, allocations: 24.09 kB / 2.775 GB, free: 30.24 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.631e-05/11.21, allocations: 23.98 kB / 2.775 GB, free: 30.22 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.517e-05/11.21, allocations: 19.98 kB / 2.775 GB, free: 30.2 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/11.21, allocations: 0 / 2.775 GB, free: 30.2 MB / 0.7605 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002436/11.21, allocations: 81.84 kB / 2.775 GB, free: 30.11 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/11.21, allocations: 11.98 kB / 2.775 GB, free: 30.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/11.21, allocations: 80 / 2.775 GB, free: 30.1 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/11.21, allocations: 0 / 2.775 GB, free: 30.1 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002989/11.21, allocations: 27.92 kB / 2.775 GB, free: 30.07 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/11.21, allocations: 3.984 kB / 2.775 GB, free: 30.07 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002226/11.21, allocations: 11.91 kB / 2.775 GB, free: 30.06 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/11.21, allocations: 4 kB / 2.775 GB, free: 30.05 MB / 0.7605 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 (8): * Single equations (assignments): 8 * 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 7.183e-05/11.21, allocations: 108.5 kB / 2.775 GB, free: 29.95 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.899e-05/11.21, allocations: 27.72 kB / 2.775 GB, free: 29.92 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003193/11.21, allocations: 86.17 kB / 2.775 GB, free: 29.83 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/11.21, allocations: 0 / 2.775 GB, free: 29.83 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/11.21, allocations: 0 / 2.775 GB, free: 29.83 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/11.21, allocations: 4 kB / 2.775 GB, free: 29.83 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002729/11.21, allocations: 190.1 kB / 2.775 GB, free: 29.61 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/11.21, allocations: 0 / 2.775 GB, free: 29.61 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002552/11.21, allocations: 31.92 kB / 2.775 GB, free: 29.57 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/11.21, allocations: 0 / 2.775 GB, free: 29.57 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/11.21, allocations: 0 / 2.775 GB, free: 29.57 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/11.21, allocations: 8 kB / 2.775 GB, free: 29.57 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/11.21, allocations: 0 / 2.775 GB, free: 29.57 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002433/11.21, allocations: 171.4 kB / 2.776 GB, free: 29.38 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003802/11.21, allocations: 0.57 MB / 2.776 GB, free: 28.79 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.038e-05/11.21, allocations: 88.95 kB / 2.776 GB, free: 28.69 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.103e-05/11.21, allocations: 0 / 2.776 GB, free: 28.69 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002769/11.21, allocations: 11.89 kB / 2.776 GB, free: 28.68 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/11.21, allocations: 4 kB / 2.776 GB, free: 28.67 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/11.21, allocations: 3.984 kB / 2.776 GB, free: 28.67 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0001123/11.21, allocations: 111.8 kB / 2.776 GB, free: 28.56 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001671/11.21, allocations: 99.89 kB / 2.777 GB, free: 28.46 MB / 0.7605 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 (7): * Single equations (assignments): 7 * 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.0009851/11.22, allocations: 0.6637 MB / 2.777 GB, free: 27.79 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002509/11.22, allocations: 56.16 kB / 2.777 GB, free: 27.73 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/11.22, allocations: 0 / 2.777 GB, free: 27.73 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 9.312e-05/11.22, allocations: 24 kB / 2.777 GB, free: 27.71 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005614/11.22, allocations: 34.41 kB / 2.777 GB, free: 27.68 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007026/11.22, allocations: 151.5 kB / 2.777 GB, free: 27.51 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002867/11.22, allocations: 0.7348 MB / 2.778 GB, free: 26.75 MB / 0.7605 GB Notification: Performance of SimCode: time 1.443e-06/11.22, allocations: 0 / 2.778 GB, free: 26.75 MB / 0.7605 GB