Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_5_0_1_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",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.427/4.427, allocations: 403.9 MB / 410.9 MB, free: 4.93 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2924/4.72, allocations: 95.01 MB / 0.4941 GB, free: 7.324 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.571/5.291, allocations: 92.68 MB / 0.5846 GB, free: 3.387 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2494/5.54, allocations: 119.7 MB / 0.7015 GB, free: 14 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003465/5.541, allocations: 75.94 kB / 0.7016 GB, free: 13.93 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.004262/5.545, allocations: 0.9464 MB / 0.7025 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/5.545, allocations: 12 kB / 0.7025 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.91e-05/5.545, allocations: 7.906 kB / 0.7025 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002703/5.545, allocations: 182.9 kB / 0.7027 GB, free: 12.7 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/5.545, allocations: 4 kB / 0.7027 GB, free: 12.7 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/5.545, allocations: 7.906 kB / 0.7027 GB, free: 12.69 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001658/5.546, allocations: 35.98 kB / 0.7027 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002237/5.546, allocations: 91.28 kB / 0.7028 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/5.546, allocations: 4 kB / 0.7028 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/5.546, allocations: 4 kB / 0.7028 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/5.546, allocations: 0 / 0.7028 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008408/5.547, allocations: 0.6094 MB / 0.7034 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001878/5.547, allocations: 165.1 kB / 0.7036 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.622e-05/5.547, allocations: 84.14 kB / 0.7036 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.192e-05/5.547, allocations: 75.28 kB / 0.7037 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.1e-05/5.547, allocations: 109.8 kB / 0.7038 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 4.899e-06/5.547, allocations: 4 kB / 0.7038 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 0.0001131/5.547, allocations: 41.53 kB / 0.7039 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/5.547, allocations: 55.41 kB / 0.7039 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/5.547, allocations: 108.9 kB / 0.704 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/5.548, allocations: 25.7 kB / 0.704 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.634e-05/5.548, allocations: 107.8 kB / 0.7041 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.829e-06/5.548, allocations: 4 kB / 0.7042 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/5.548, allocations: 0 / 0.7042 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001433/5.548, allocations: 318.8 kB / 0.7045 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.295e-05/5.548, allocations: 7.938 kB / 0.7045 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.312e-05/5.548, allocations: 18.58 kB / 0.7045 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.249e-05/5.548, allocations: 8 kB / 0.7045 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/5.548, allocations: 0 / 0.7045 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001751/5.548, allocations: 53.69 kB / 0.7045 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/5.548, allocations: 11.03 kB / 0.7045 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/5.548, allocations: 0 / 0.7045 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/5.548, allocations: 0 / 0.7045 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/5.548, allocations: 7.938 kB / 0.7046 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/5.548, allocations: 4 kB / 0.7046 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.611e-05/5.548, allocations: 0 / 0.7046 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/5.548, allocations: 7.984 kB / 0.7046 GB, free: 10.61 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 0.0001092/5.549, allocations: 180.3 kB / 0.7047 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.128e-05/5.549, allocations: 112.9 kB / 0.7048 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.874e-05/5.549, allocations: 108.5 kB / 0.705 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.455e-05/5.549, allocations: 180.2 kB / 0.7051 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.864e-05/5.549, allocations: 176.3 kB / 0.7053 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.047e-05/5.549, allocations: 180.4 kB / 0.7055 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003298/5.549, allocations: 413.6 kB / 0.7059 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.693e-05/5.549, allocations: 103.4 kB / 0.706 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.145e-05/5.549, allocations: 105.4 kB / 0.7061 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.309e-05/5.55, allocations: 184.2 kB / 0.7062 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.032e-05/5.55, allocations: 180.3 kB / 0.7064 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.297e-05/5.55, allocations: 184.2 kB / 0.7066 GB, free: 8.422 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.992e-05/5.55, allocations: 180.3 kB / 0.7068 GB, free: 8.238 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001822/5.55, allocations: 315.6 kB / 0.7071 GB, free: 7.906 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003718/5.55, allocations: 0.672 MB / 0.7077 GB, free: 7.207 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/5.551, allocations: 182 kB / 0.7079 GB, free: 7.004 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.842e-05/5.551, allocations: 184.2 kB / 0.7081 GB, free: 6.816 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/5.551, allocations: 105 kB / 0.7082 GB, free: 6.707 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.727e-05/5.551, allocations: 180.2 kB / 0.7083 GB, free: 6.523 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.415e-05/5.551, allocations: 109.3 kB / 0.7084 GB, free: 6.41 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.0001042/5.551, allocations: 91.28 kB / 0.7085 GB, free: 6.32 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001468/5.553, allocations: 19.84 kB / 0.7085 GB, free: 6.301 MB / 0.5886 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 (0): * Single equations (assignments): 0 * 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.0001988/5.553, allocations: 182.3 kB / 0.7087 GB, free: 6.113 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 9.675e-05/5.553, allocations: 4 kB / 0.7087 GB, free: 6.109 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.279e-06/5.553, allocations: 0 / 0.7087 GB, free: 6.109 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.434e-06/5.553, allocations: 3.938 kB / 0.7087 GB, free: 6.105 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004376/5.553, allocations: 0.5304 MB / 0.7092 GB, free: 5.57 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004068/5.554, allocations: 151.1 kB / 0.7094 GB, free: 5.395 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003996/5.554, allocations: 0.7036 MB / 0.7101 GB, free: 4.664 MB / 0.5886 GB Notification: Performance of SimCode: time 1.322e-06/5.554, allocations: 3.938 kB / 0.7101 GB, free: 4.66 MB / 0.5886 GB