Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger",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.312/4.312, allocations: 403.9 MB / 410.9 MB, free: 4.914 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2481/4.56, allocations: 95 MB / 0.4941 GB, free: 7.328 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5582/5.118, allocations: 92.69 MB / 0.5846 GB, free: 3.398 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.858/10.98, allocations: 2.185 GB / 2.77 GB, free: 30.35 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004409/10.98, allocations: 86.95 kB / 2.77 GB, free: 30.3 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: 570 * Number of variables: 570 Notification: Performance of Generate backend data structure: time 16.43/27.4, allocations: 2.712 GB / 5.482 GB, free: 52.28 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/27.4, allocations: 9.25 kB / 5.482 GB, free: 52.28 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02346/27.43, allocations: 1.536 MB / 5.484 GB, free: 52.11 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01034/27.44, allocations: 2.218 MB / 5.486 GB, free: 51.55 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0032/27.44, allocations: 389.7 kB / 5.486 GB, free: 51.54 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001486/27.44, allocations: 142.4 kB / 5.486 GB, free: 51.54 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01116/27.45, allocations: 2.669 MB / 5.489 GB, free: 51.53 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01024/27.46, allocations: 2.494 MB / 5.491 GB, free: 51.14 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-05/27.46, allocations: 7.312 kB / 5.491 GB, free: 51.13 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006368/27.47, allocations: 6.266 kB / 5.491 GB, free: 51.13 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001317/27.47, allocations: 101.9 kB / 5.491 GB, free: 51.12 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04462/27.51, allocations: 14.15 MB / 5.505 GB, free: 43.07 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004318/27.51, allocations: 1.205 MB / 5.506 GB, free: 43.03 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001658/27.52, allocations: 0.5603 MB / 5.507 GB, free: 43.02 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009072/27.52, allocations: 445.8 kB / 5.507 GB, free: 42.55 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.797e-05/27.52, allocations: 54.75 kB / 5.507 GB, free: 42.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=104): time 5.24e-06/27.52, allocations: 0 / 5.507 GB, free: 42.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=104): time 0.008732/27.53, allocations: 1.619 MB / 5.509 GB, free: 42.34 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/27.53, allocations: 63.58 kB / 5.509 GB, free: 42.27 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005258/27.53, allocations: 1.647 MB / 5.511 GB, free: 42.02 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005122/27.53, allocations: 36.64 kB / 5.511 GB, free: 41.99 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00117/27.53, allocations: 1.119 MB / 5.512 GB, free: 41.31 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006657/27.53, allocations: 369.5 kB / 5.512 GB, free: 41.08 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003371/27.53, allocations: 3.969 kB / 5.512 GB, free: 41.08 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001855/27.53, allocations: 391 kB / 5.513 GB, free: 40.77 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002482/27.54, allocations: 0.7042 MB / 5.513 GB, free: 40.76 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003373/27.54, allocations: 1.713 MB / 5.515 GB, free: 39.48 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005367/27.55, allocations: 1.304 MB / 5.516 GB, free: 39.43 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-05/27.55, allocations: 11.66 kB / 5.516 GB, free: 39.43 MB / 0.8698 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.01115/27.56, allocations: 2.724 MB / 5.519 GB, free: 39.11 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.003015/27.56, allocations: 12.74 MB / 5.531 GB, free: 25.74 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001216/27.56, allocations: 35.02 kB / 5.531 GB, free: 25.74 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.504e-05/27.56, allocations: 50 kB / 5.531 GB, free: 25.74 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01696/27.58, allocations: 1.293 MB / 5.533 GB, free: 25.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008474/27.59, allocations: 2.896 MB / 5.536 GB, free: 23.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009681/27.6, allocations: 0.5967 MB / 5.536 GB, free: 23.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007678/27.6, allocations: 131.9 kB / 5.536 GB, free: 23.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/27.6, allocations: 8 kB / 5.536 GB, free: 23.2 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009966/27.61, allocations: 2.41 MB / 5.539 GB, free: 23.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001002/27.61, allocations: 29.97 kB / 5.539 GB, free: 23.02 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.094e-05/27.61, allocations: 50.97 kB / 5.539 GB, free: 23.02 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006439/27.61, allocations: 0.6426 MB / 5.539 GB, free: 22.98 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.021e-05/27.61, allocations: 73.34 kB / 5.539 GB, free: 22.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007594/27.62, allocations: 416 kB / 5.54 GB, free: 22.88 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008475/27.62, allocations: 124.1 kB / 5.54 GB, free: 22.88 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 141 * Number of states: 0 () * Number of discrete variables: 8 (masExcFor.i1_w,masExcFor.i2_w,masExcRev.i1_w,masExcRev.i2_w,senMas3.i_x,senMas4.i_x,senMas1.i_x,senMas2.i_x) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (282): * Single equations (assignments): 272 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00107/27.62, allocations: 200.6 kB / 5.54 GB, free: 22.71 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001043/27.62, allocations: 231.3 kB / 5.54 GB, free: 22.59 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00725/27.63, allocations: 1.528 MB / 5.542 GB, free: 22.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.357e-05/27.63, allocations: 12.72 kB / 5.542 GB, free: 22.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.755e-05/27.63, allocations: 0 / 5.542 GB, free: 22.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.67e-05/27.63, allocations: 10.27 kB / 5.542 GB, free: 22.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01949/27.65, allocations: 3.961 MB / 5.546 GB, free: 21.97 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/27.65, allocations: 4.25 kB / 5.546 GB, free: 21.97 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01464/27.67, allocations: 0.99 MB / 5.547 GB, free: 21.96 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.981e-05/27.67, allocations: 8.312 kB / 5.547 GB, free: 21.96 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002776/27.67, allocations: 17.84 kB / 5.547 GB, free: 21.96 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02529/27.69, allocations: 6.215 MB / 5.553 GB, free: 32.92 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.104e-05/27.69, allocations: 7.125 kB / 5.553 GB, free: 32.92 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005433/27.7, allocations: 2.003 MB / 5.555 GB, free: 32.04 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007689/27.7, allocations: 2.854 MB / 5.557 GB, free: 30.79 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002308/27.71, allocations: 484.8 kB / 5.558 GB, free: 30.56 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001134/27.71, allocations: 11.31 kB / 5.558 GB, free: 30.56 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006394/27.71, allocations: 257.3 kB / 5.558 GB, free: 30.55 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004094/27.72, allocations: 69.69 kB / 5.558 GB, free: 30.55 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003022/27.72, allocations: 45.83 kB / 5.558 GB, free: 30.55 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.003755/27.72, allocations: 1.167 MB / 5.559 GB, free: 30.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0215/27.74, allocations: 3.633 MB / 5.563 GB, free: 28.29 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.019/27.76, allocations: 8.267 MB / 5.571 GB, free: 23.59 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.02985/27.79, allocations: 4.147 MB / 5.575 GB, free: 19.88 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.006e-05/27.79, allocations: 0 / 5.575 GB, free: 19.88 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.01852/27.81, allocations: 1.601 MB / 5.577 GB, free: 18.59 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007983/27.82, allocations: 0.7211 MB / 5.577 GB, free: 18.04 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01298/27.83, allocations: 3.198 MB / 5.581 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006525/27.84, allocations: 1.968 MB / 5.582 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of SimCode: time 2.244e-06/27.84, allocations: 3.938 kB / 5.582 GB, free: 13.48 MB / 0.8855 GB