Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent",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.429/4.429, allocations: 403.9 MB / 410.9 MB, free: 4.918 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3487/4.778, allocations: 95.01 MB / 0.4941 GB, free: 7.312 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5752/5.353, allocations: 92.69 MB / 0.5846 GB, free: 3.352 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.395/11.75, allocations: 2.427 GB / 3.012 GB, free: 131.4 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003594/11.75, allocations: 95.25 kB / 3.012 GB, free: 131.4 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 5.991/17.74, allocations: 1.076 GB / 4.088 GB, free: 87.56 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/17.74, allocations: 6.656 kB / 4.088 GB, free: 87.56 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00396/17.74, allocations: 386.2 kB / 4.088 GB, free: 87.44 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03395/17.78, allocations: 8.059 MB / 4.096 GB, free: 86.89 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/17.78, allocations: 51.62 kB / 4.096 GB, free: 86.89 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004343/17.78, allocations: 95.06 kB / 4.096 GB, free: 86.89 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004675/17.78, allocations: 1.087 MB / 4.097 GB, free: 86.88 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005144/17.79, allocations: 1.47 MB / 4.099 GB, free: 86.59 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.875e-05/17.79, allocations: 3.375 kB / 4.099 GB, free: 86.59 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002722/17.79, allocations: 7.141 kB / 4.099 GB, free: 86.59 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001018/17.79, allocations: 66.7 kB / 4.099 GB, free: 86.59 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01786/17.81, allocations: 8.499 MB / 4.107 GB, free: 81.56 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002687/17.81, allocations: 0.8717 MB / 4.108 GB, free: 81.33 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001081/17.81, allocations: 417.9 kB / 4.108 GB, free: 81.29 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007623/17.81, allocations: 218.3 kB / 4.108 GB, free: 81.1 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.059e-05/17.81, allocations: 55.48 kB / 4.108 GB, free: 81.06 MB / 0.823 GB Notification: Performance of pre-optimization done (n=76): time 4.228e-06/17.81, allocations: 0 / 4.108 GB, free: 81.06 MB / 0.823 GB Notification: Performance of matching and sorting (n=76): time 0.01362/17.83, allocations: 1.423 MB / 4.11 GB, free: 80.91 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.633e-05/17.83, allocations: 166.1 kB / 4.11 GB, free: 80.73 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002701/17.83, allocations: 0.9894 MB / 4.111 GB, free: 80.57 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003269/17.83, allocations: 25.7 kB / 4.111 GB, free: 80.54 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00056/17.83, allocations: 0.6879 MB / 4.112 GB, free: 80.24 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004265/17.83, allocations: 259.2 kB / 4.112 GB, free: 80.11 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.625e-05/17.83, allocations: 3.594 kB / 4.112 GB, free: 80.11 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001109/17.83, allocations: 341.2 kB / 4.112 GB, free: 79.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/17.83, allocations: 314.9 kB / 4.113 GB, free: 79.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001335/17.83, allocations: 0.6784 MB / 4.113 GB, free: 79.37 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001845/17.83, allocations: 0.4901 MB / 4.114 GB, free: 79.36 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-05/17.83, allocations: 3.344 kB / 4.114 GB, free: 79.36 MB / 0.823 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.01348/17.85, allocations: 1.578 MB / 4.115 GB, free: 79.21 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009355/17.85, allocations: 3.548 MB / 4.119 GB, free: 75.58 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.229e-05/17.85, allocations: 10.06 kB / 4.119 GB, free: 75.58 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003725/17.85, allocations: 413 kB / 4.119 GB, free: 75.55 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001893/17.85, allocations: 201.6 kB / 4.119 GB, free: 75.55 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003168/17.86, allocations: 2.168 MB / 4.121 GB, free: 73.99 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003571/17.86, allocations: 187 kB / 4.122 GB, free: 73.95 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002161/17.86, allocations: 46.09 kB / 4.122 GB, free: 73.95 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/17.86, allocations: 6.844 kB / 4.122 GB, free: 73.95 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005645/17.87, allocations: 1.154 MB / 4.123 GB, free: 73.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.541e-05/17.87, allocations: 11.25 kB / 4.123 GB, free: 73.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003408/17.87, allocations: 383.1 kB / 4.123 GB, free: 73.88 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001898/17.87, allocations: 196.6 kB / 4.123 GB, free: 73.88 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005195/17.88, allocations: 3.752 MB / 4.127 GB, free: 70.81 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003088/17.88, allocations: 144.3 kB / 4.127 GB, free: 70.78 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000251/17.88, allocations: 52.56 kB / 4.127 GB, free: 70.78 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 92 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {3 21,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004906/17.88, allocations: 136.3 kB / 4.127 GB, free: 70.66 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007456/17.88, allocations: 151.6 kB / 4.127 GB, free: 70.59 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01054/17.89, allocations: 1.329 MB / 4.129 GB, free: 70.48 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.828e-05/17.89, allocations: 9.734 kB / 4.129 GB, free: 70.48 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/17.89, allocations: 6.812 kB / 4.129 GB, free: 70.48 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009847/17.9, allocations: 1.437 MB / 4.13 GB, free: 69.99 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01387/17.92, allocations: 3.027 MB / 4.133 GB, free: 69.26 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.498e-05/17.92, allocations: 3.688 kB / 4.133 GB, free: 69.26 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001249/17.92, allocations: 110.3 kB / 4.133 GB, free: 69.26 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003623/17.92, allocations: 408.8 kB / 4.134 GB, free: 69.23 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001908/17.92, allocations: 6.922 kB / 4.134 GB, free: 69.23 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01136/17.93, allocations: 4.081 MB / 4.138 GB, free: 66.17 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.32e-05/17.93, allocations: 11.5 kB / 4.138 GB, free: 66.17 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008601/17.94, allocations: 1.503 MB / 4.139 GB, free: 65.63 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009256/17.95, allocations: 2.044 MB / 4.141 GB, free: 64.71 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001545/17.95, allocations: 337.6 kB / 4.141 GB, free: 64.54 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005738/17.95, allocations: 0 / 4.141 GB, free: 64.54 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003327/17.96, allocations: 129 kB / 4.142 GB, free: 64.53 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002641/17.96, allocations: 44.78 kB / 4.142 GB, free: 64.52 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001747/17.96, allocations: 37 kB / 4.142 GB, free: 64.52 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.001873/17.96, allocations: 0.7354 MB / 4.142 GB, free: 64.41 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0116/17.97, allocations: 1.742 MB / 4.144 GB, free: 64.25 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 44 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {3 21,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005134/17.98, allocations: 2.494 MB / 4.146 GB, free: 63.48 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.005311/17.98, allocations: 1.607 MB / 4.148 GB, free: 63.25 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.166e-05/17.98, allocations: 0 / 4.148 GB, free: 63.25 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001781/17.98, allocations: 0.6022 MB / 4.149 GB, free: 63.04 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007733/17.99, allocations: 0.6752 MB / 4.149 GB, free: 63.03 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00875/18, allocations: 2.121 MB / 4.151 GB, free: 62.38 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002617/18, allocations: 1.541 MB / 4.153 GB, free: 61.65 MB / 0.823 GB Notification: Performance of SimCode: time 2.234e-06/18, allocations: 0 / 4.153 GB, free: 61.65 MB / 0.823 GB