Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",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.161/4.161, allocations: 404 MB / 410.9 MB, free: 4.922 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2657/4.427, allocations: 95.03 MB / 0.4941 GB, free: 7.309 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.537/4.964, allocations: 92.67 MB / 0.5846 GB, free: 3.418 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2367/5.201, allocations: 119 MB / 0.7008 GB, free: 14.76 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000415/5.201, allocations: 91.92 kB / 0.7009 GB, free: 14.67 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0008557/5.202, allocations: 373.3 kB / 0.7012 GB, free: 14.26 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/5.202, allocations: 8 kB / 0.7012 GB, free: 14.25 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.427e-05/5.202, allocations: 0 / 0.7012 GB, free: 14.25 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/5.202, allocations: 171.1 kB / 0.7014 GB, free: 14.05 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/5.203, allocations: 0 / 0.7014 GB, free: 14.05 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.375e-06/5.203, allocations: 0 / 0.7014 GB, free: 14.05 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.516e-05/5.203, allocations: 3.906 kB / 0.7014 GB, free: 14.04 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.735e-05/5.203, allocations: 33.64 kB / 0.7014 GB, free: 14 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/5.203, allocations: 3.938 kB / 0.7014 GB, free: 14 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/5.203, allocations: 0 / 0.7014 GB, free: 14 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/5.203, allocations: 4 kB / 0.7014 GB, free: 14 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000331/5.203, allocations: 360.1 kB / 0.7018 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.26e-05/5.203, allocations: 169.2 kB / 0.7019 GB, free: 13.43 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.448e-05/5.203, allocations: 84.05 kB / 0.702 GB, free: 13.34 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.695e-05/5.203, allocations: 75.28 kB / 0.7021 GB, free: 13.27 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.895e-05/5.203, allocations: 109.8 kB / 0.7022 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 1.573e-06/5.203, allocations: 7.938 kB / 0.7022 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 9.099e-05/5.203, allocations: 29.7 kB / 0.7022 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/5.203, allocations: 51.41 kB / 0.7023 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.462e-05/5.204, allocations: 89 kB / 0.7024 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/5.204, allocations: 25.7 kB / 0.7024 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.175e-05/5.204, allocations: 80.14 kB / 0.7025 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.774e-06/5.204, allocations: 0 / 0.7025 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-07/5.204, allocations: 0 / 0.7025 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001765/5.204, allocations: 319 kB / 0.7028 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.349e-06/5.204, allocations: 0 / 0.7028 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.863e-06/5.204, allocations: 4 kB / 0.7028 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.584e-05/5.204, allocations: 75.28 kB / 0.7028 GB, free: 12.44 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.938e-05/5.204, allocations: 75.28 kB / 0.7029 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001043/5.204, allocations: 33.55 kB / 0.703 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/5.204, allocations: 8 kB / 0.703 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.671e-05/5.204, allocations: 75.28 kB / 0.703 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.545e-05/5.204, allocations: 158.6 kB / 0.7032 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.245e-05/5.204, allocations: 79.22 kB / 0.7033 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-05/5.204, allocations: 158.5 kB / 0.7034 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/5.205, allocations: 79.28 kB / 0.7035 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.879e-05/5.205, allocations: 81.64 kB / 0.7036 GB, free: 11.7 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 0.0001378/5.205, allocations: 259.1 kB / 0.7038 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.122e-05/5.205, allocations: 104.9 kB / 0.7039 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.587e-05/5.205, allocations: 108 kB / 0.704 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.601e-05/5.205, allocations: 184.5 kB / 0.7042 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.02e-05/5.205, allocations: 184.3 kB / 0.7044 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.658e-05/5.205, allocations: 176.3 kB / 0.7045 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000277/5.205, allocations: 385.7 kB / 0.7049 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.577e-05/5.206, allocations: 105 kB / 0.705 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.394e-05/5.206, allocations: 101 kB / 0.7051 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.816e-05/5.206, allocations: 180.2 kB / 0.7053 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.439e-05/5.206, allocations: 184.2 kB / 0.7054 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.408e-05/5.206, allocations: 176.3 kB / 0.7056 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.997e-05/5.206, allocations: 192.1 kB / 0.7058 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001626/5.206, allocations: 303.8 kB / 0.7061 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003522/5.206, allocations: 0.6762 MB / 0.7067 GB, free: 8.254 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.326e-05/5.207, allocations: 186.1 kB / 0.7069 GB, free: 8.047 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.791e-05/5.207, allocations: 180.2 kB / 0.7071 GB, free: 7.863 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/5.207, allocations: 105 kB / 0.7072 GB, free: 7.754 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.681e-05/5.207, allocations: 180.3 kB / 0.7074 GB, free: 7.57 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-05/5.207, allocations: 108.9 kB / 0.7075 GB, free: 7.457 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.111e-05/5.207, allocations: 79.28 kB / 0.7075 GB, free: 7.379 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001416/5.208, allocations: 4 kB / 0.7076 GB, free: 7.375 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.0001913/5.209, allocations: 178.3 kB / 0.7077 GB, free: 7.188 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 4.755e-05/5.209, allocations: 4 kB / 0.7077 GB, free: 7.184 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/5.209, allocations: 0 / 0.7077 GB, free: 7.184 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.094e-06/5.209, allocations: 0 / 0.7077 GB, free: 7.184 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/5.209, allocations: 0.5232 MB / 0.7082 GB, free: 6.656 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002433/5.209, allocations: 127.3 kB / 0.7084 GB, free: 6.508 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003046/5.21, allocations: 0.6802 MB / 0.709 GB, free: 5.801 MB / 0.5886 GB Notification: Performance of SimCode: time 1.032e-06/5.21, allocations: 0 / 0.709 GB, free: 5.801 MB / 0.5886 GB