Running command: "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness",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.062/4.062, allocations: 404 MB / 410.9 MB, free: 4.949 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2855/4.347, allocations: 95 MB / 0.4941 GB, free: 7.359 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.524/4.871, allocations: 92.69 MB / 0.5846 GB, free: 3.395 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.796/10.67, allocations: 2.18 GB / 2.765 GB, free: 35.63 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003755/10.67, allocations: 79.89 kB / 2.765 GB, free: 35.59 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: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 5.68/16.35, allocations: 0.9691 GB / 3.734 GB, free: 120.6 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/16.35, allocations: 7.594 kB / 3.734 GB, free: 120.6 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007111/16.36, allocations: 0.5814 MB / 3.734 GB, free: 120.6 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004937/16.36, allocations: 1.105 MB / 3.735 GB, free: 120.3 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001643/16.36, allocations: 190 kB / 3.736 GB, free: 120.3 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006373/16.36, allocations: 63.34 kB / 3.736 GB, free: 120.3 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004789/16.37, allocations: 1.277 MB / 3.737 GB, free: 120.3 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004767/16.37, allocations: 1.275 MB / 3.738 GB, free: 120.1 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.128e-05/16.37, allocations: 0 / 3.738 GB, free: 120.1 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002728/16.37, allocations: 0 / 3.738 GB, free: 120.1 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.115e-05/16.37, allocations: 55.52 kB / 3.738 GB, free: 120.1 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01652/16.39, allocations: 5.214 MB / 3.743 GB, free: 117.9 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003802/16.39, allocations: 0.913 MB / 3.744 GB, free: 117.8 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001977/16.39, allocations: 0.5757 MB / 3.745 GB, free: 117.7 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001286/16.4, allocations: 262.2 kB / 3.745 GB, free: 117.5 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.718e-05/16.4, allocations: 49.72 kB / 3.745 GB, free: 117.5 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=88): time 3.987e-06/16.4, allocations: 0 / 3.745 GB, free: 117.5 MB / 0.8073 GB Notification: Performance of matching and sorting (n=88): time 0.006782/16.4, allocations: 1.282 MB / 3.746 GB, free: 117.4 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.404e-05/16.4, allocations: 165.5 kB / 3.746 GB, free: 117.2 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001498/16.4, allocations: 0.626 MB / 3.747 GB, free: 117.1 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0003986/16.41, allocations: 36.05 kB / 3.747 GB, free: 117.1 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003321/16.41, allocations: 424.1 kB / 3.748 GB, free: 116.9 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004616/16.41, allocations: 292.5 kB / 3.748 GB, free: 116.7 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001436/16.41, allocations: 6.688 kB / 3.748 GB, free: 116.7 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001305/16.41, allocations: 338.9 kB / 3.748 GB, free: 116.4 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001495/16.41, allocations: 478 kB / 3.749 GB, free: 116.4 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00181/16.41, allocations: 0.65 MB / 3.749 GB, free: 116.2 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002771/16.41, allocations: 0.6896 MB / 3.75 GB, free: 116.2 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.265e-05/16.41, allocations: 0 / 3.75 GB, free: 116.2 MB / 0.8073 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.005961/16.42, allocations: 1.409 MB / 3.751 GB, free: 116.1 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003568/16.42, allocations: 1.404 MB / 3.753 GB, free: 114.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.403e-05/16.42, allocations: 3.062 kB / 3.753 GB, free: 114.7 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.538e-05/16.42, allocations: 7.562 kB / 3.753 GB, free: 114.7 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008373/16.43, allocations: 0.5119 MB / 3.753 GB, free: 114.7 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003696/16.43, allocations: 1.36 MB / 3.754 GB, free: 113.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004222/16.44, allocations: 219.8 kB / 3.755 GB, free: 113.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007151/16.44, allocations: 50.12 kB / 3.755 GB, free: 113.5 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/16.44, allocations: 8.938 kB / 3.755 GB, free: 113.5 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007981/16.44, allocations: 1.246 MB / 3.756 GB, free: 113.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.222e-05/16.44, allocations: 3.75 kB / 3.756 GB, free: 113.4 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.543e-05/16.44, allocations: 7.219 kB / 3.756 GB, free: 113.4 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004309/16.45, allocations: 339.8 kB / 3.756 GB, free: 113.4 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.512e-05/16.45, allocations: 13.78 kB / 3.756 GB, free: 113.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00446/16.45, allocations: 188.3 kB / 3.757 GB, free: 113.4 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006428/16.45, allocations: 55.56 kB / 3.757 GB, free: 113.4 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009235/16.46, allocations: 121.7 kB / 3.757 GB, free: 113.3 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00124/16.46, allocations: 105 kB / 3.757 GB, free: 113.3 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009151/16.47, allocations: 1.349 MB / 3.758 GB, free: 113.2 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.465e-05/16.47, allocations: 11.52 kB / 3.758 GB, free: 113.2 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.736e-05/16.47, allocations: 3.625 kB / 3.758 GB, free: 113.2 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.44e-05/16.47, allocations: 3.891 kB / 3.758 GB, free: 113.2 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01435/16.48, allocations: 3.411 MB / 3.761 GB, free: 112.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.437e-05/16.48, allocations: 9.281 kB / 3.761 GB, free: 112.4 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007564/16.49, allocations: 0.5087 MB / 3.762 GB, free: 112.4 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-05/16.49, allocations: 15.62 kB / 3.762 GB, free: 112.4 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002534/16.49, allocations: 18.48 kB / 3.762 GB, free: 112.4 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008435/16.5, allocations: 2.926 MB / 3.765 GB, free: 109.9 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.22e-05/16.5, allocations: 3.938 kB / 3.765 GB, free: 109.9 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005988/16.5, allocations: 1.747 MB / 3.767 GB, free: 109.2 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00656/16.51, allocations: 2.266 MB / 3.769 GB, free: 108.1 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001532/16.51, allocations: 335.4 kB / 3.769 GB, free: 108 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004358/16.51, allocations: 7.375 kB / 3.769 GB, free: 108 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004094/16.52, allocations: 182.8 kB / 3.769 GB, free: 108 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003054/16.52, allocations: 63.42 kB / 3.769 GB, free: 108 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002378/16.52, allocations: 48.27 kB / 3.769 GB, free: 108 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.00115/16.52, allocations: 483.5 kB / 3.77 GB, free: 107.9 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.009073/16.53, allocations: 1.421 MB / 3.771 GB, free: 107.8 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005598/16.53, allocations: 2.642 MB / 3.774 GB, free: 107 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01178/16.54, allocations: 2.083 MB / 3.776 GB, free: 106.9 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.757e-05/16.54, allocations: 3.875 kB / 3.776 GB, free: 106.9 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.007362/16.55, allocations: 0.8798 MB / 3.777 GB, free: 106.9 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005645/16.56, allocations: 448 kB / 3.777 GB, free: 106.9 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03824/16.6, allocations: 2.673 MB / 3.78 GB, free: 106.3 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002297/16.6, allocations: 1.322 MB / 3.781 GB, free: 105.6 MB / 0.8073 GB Notification: Performance of SimCode: time 1.332e-06/16.6, allocations: 0 / 3.781 GB, free: 105.6 MB / 0.8073 GB