Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u",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.368/4.368, allocations: 403.9 MB / 410.9 MB, free: 4.938 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2831/4.651, allocations: 95 MB / 0.4941 GB, free: 7.344 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5758/5.227, allocations: 92.68 MB / 0.5846 GB, free: 3.406 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.064/6.291, allocations: 384.4 MB / 0.96 GB, free: 47.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003162/6.292, allocations: 91.08 kB / 0.9601 GB, free: 47.86 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1057 * Number of variables: 1057 Notification: Performance of Generate backend data structure: time 14.46/20.75, allocations: 2.584 GB / 3.544 GB, free: 30.96 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/20.75, allocations: 14.19 kB / 3.544 GB, free: 30.96 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006682/20.76, allocations: 0.7799 MB / 3.545 GB, free: 30.59 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2931/21.05, allocations: 57.56 MB / 3.601 GB, free: 9.227 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003857/21.05, allocations: 132 kB / 3.601 GB, free: 9.098 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001952/21.05, allocations: 260 kB / 3.601 GB, free: 8.844 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01473/21.07, allocations: 2.586 MB / 3.604 GB, free: 6.25 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01869/21.09, allocations: 3.745 MB / 3.608 GB, free: 2.176 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001945/21.09, allocations: 15.88 kB / 3.608 GB, free: 2.16 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007106/21.09, allocations: 8 kB / 3.608 GB, free: 2.152 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002171/21.09, allocations: 128 kB / 3.608 GB, free: 2.027 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6394/21.73, allocations: 25.56 MB / 3.633 GB, free: 113.8 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007645/21.74, allocations: 2.425 MB / 3.635 GB, free: 113.3 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004163/21.74, allocations: 1.19 MB / 3.636 GB, free: 113.3 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004058/21.74, allocations: 3.615 MB / 3.64 GB, free: 109.3 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000114/21.74, allocations: 63.84 kB / 3.64 GB, free: 109.2 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=244): time 1.179e-05/21.74, allocations: 0 / 3.64 GB, free: 109.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=254): time 0.1223/21.87, allocations: 10.15 MB / 3.65 GB, free: 106.9 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.45e-05/21.87, allocations: 133.1 kB / 3.65 GB, free: 106.8 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.014/21.88, allocations: 3.121 MB / 3.653 GB, free: 106.5 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.001001/21.88, allocations: 33.3 kB / 3.653 GB, free: 106.5 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.003614/21.89, allocations: 1.692 MB / 3.655 GB, free: 105.9 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.004032/21.89, allocations: 0.8481 MB / 3.655 GB, free: 105.4 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007611/21.89, allocations: 0 / 3.655 GB, free: 105.4 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0004187/21.89, allocations: 414.9 kB / 3.656 GB, free: 105.1 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004635/21.9, allocations: 0.8412 MB / 3.657 GB, free: 105.1 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00588/21.9, allocations: 1.808 MB / 3.658 GB, free: 104 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01288/21.91, allocations: 1.505 MB / 3.66 GB, free: 103.9 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.734e-05/21.91, allocations: 5.344 kB / 3.66 GB, free: 103.9 MB / 0.9167 GB Notification: Performance of matching and sorting (n=362) (initialization): time 0.06287/21.98, allocations: 4.587 MB / 3.664 GB, free: 103.5 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.003037/21.98, allocations: 10.51 MB / 3.675 GB, free: 92.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001754/21.98, allocations: 25.44 kB / 3.675 GB, free: 92.52 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003403/21.98, allocations: 0.4977 MB / 3.675 GB, free: 92.48 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008305/21.99, allocations: 0.6095 MB / 3.676 GB, free: 92.48 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007079/22, allocations: 2.955 MB / 3.679 GB, free: 90.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0158/22.02, allocations: 421 kB / 3.679 GB, free: 90.38 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001345/22.02, allocations: 144.5 kB / 3.679 GB, free: 90.38 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/22.02, allocations: 3.781 kB / 3.679 GB, free: 90.38 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02186/22.04, allocations: 2.898 MB / 3.682 GB, free: 90.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.019e-05/22.04, allocations: 21.81 kB / 3.682 GB, free: 90.25 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002611/22.04, allocations: 349.8 kB / 3.682 GB, free: 90.21 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007855/22.05, allocations: 0.6101 MB / 3.683 GB, free: 90.21 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01882/22.07, allocations: 6.996 MB / 3.69 GB, free: 85.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.013/22.08, allocations: 361.2 kB / 3.69 GB, free: 85.07 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001245/22.08, allocations: 136.8 kB / 3.69 GB, free: 85.07 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (320): * Single equations (assignments): 316 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 12,1 9,1 12} Notification: Performance of prepare postOptimizeDAE: time 0.002217/22.09, allocations: 188.8 kB / 3.69 GB, free: 84.96 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002914/22.09, allocations: 0.4948 MB / 3.691 GB, free: 84.7 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06032/22.15, allocations: 5.61 MB / 3.696 GB, free: 84.36 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002154/22.15, allocations: 49.77 kB / 3.696 GB, free: 84.36 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.489e-05/22.15, allocations: 1.469 kB / 3.696 GB, free: 84.36 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04612/22.2, allocations: 4.125 MB / 3.701 GB, free: 84.08 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06125/22.26, allocations: 10.31 MB / 3.711 GB, free: 82.19 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-05/22.26, allocations: 9.156 kB / 3.711 GB, free: 82.19 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004611/22.26, allocations: 360.3 kB / 3.711 GB, free: 82.19 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004219/22.27, allocations: 0.7568 MB / 3.712 GB, free: 82.08 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008439/22.27, allocations: 53.27 kB / 3.712 GB, free: 82.08 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06228/22.33, allocations: 13.88 MB / 3.725 GB, free: 71.79 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.001e-05/22.33, allocations: 8.906 kB / 3.725 GB, free: 71.79 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0642/22.39, allocations: 7.3 MB / 3.732 GB, free: 69.97 MB / 0.9167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.06444/22.46, allocations: 9.664 MB / 3.742 GB, free: 67.76 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006323/22.46, allocations: 0.9159 MB / 3.743 GB, free: 67.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003176/22.47, allocations: 12.78 kB / 3.743 GB, free: 67.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01427/22.48, allocations: 465.5 kB / 3.743 GB, free: 67.37 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008642/22.48, allocations: 179.8 kB / 3.743 GB, free: 67.36 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005329/22.48, allocations: 123.5 kB / 3.743 GB, free: 67.36 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.01199/22.5, allocations: 2.31 MB / 3.746 GB, free: 67.18 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.03908/22.53, allocations: 4.282 MB / 3.75 GB, free: 67.18 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (244): * Single equations (assignments): 198 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 14 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 14 {1 3,1 3,1 7,1 3,1 3,1 3,1 9,1 3,1 3,1 7,1 3,1 3,1 3,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.01321/22.55, allocations: 3.362 MB / 3.753 GB, free: 65.98 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.02051/22.57, allocations: 4.652 MB / 3.758 GB, free: 65.47 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.106e-05/22.57, allocations: 6.031 kB / 3.758 GB, free: 65.47 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.009124/22.58, allocations: 2.002 MB / 3.76 GB, free: 65.05 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03566/22.61, allocations: 2.56 MB / 3.762 GB, free: 65.02 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04254/22.66, allocations: 7.866 MB / 3.77 GB, free: 62.98 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0114/22.67, allocations: 3.521 MB / 3.773 GB, free: 62.17 MB / 0.9167 GB Notification: Performance of SimCode: time 1.653e-06/22.67, allocations: 0 / 3.773 GB, free: 62.17 MB / 0.9167 GB