Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Integers_Validation_Max",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.328/4.328, allocations: 403.9 MB / 410.9 MB, free: 4.938 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2868/4.615, allocations: 95.03 MB / 0.4941 GB, free: 7.312 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5762/5.191, allocations: 92.68 MB / 0.5846 GB, free: 3.371 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2577/5.449, allocations: 120.6 MB / 0.7024 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003609/5.449, allocations: 83.94 kB / 0.7024 GB, free: 13.01 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.008601/5.458, allocations: 1.556 MB / 0.704 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.822e-05/5.458, allocations: 19.98 kB / 0.704 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.015e-05/5.458, allocations: 7.906 kB / 0.704 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/5.458, allocations: 178.8 kB / 0.7042 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.108e-05/5.458, allocations: 4 kB / 0.7042 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.45e-05/5.458, allocations: 0 / 0.7042 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000219/5.459, allocations: 51.98 kB / 0.7042 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/5.459, allocations: 73.66 kB / 0.7043 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/5.459, allocations: 0 / 0.7043 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/5.459, allocations: 3.984 kB / 0.7043 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/5.459, allocations: 4 kB / 0.7043 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007758/5.46, allocations: 317.1 kB / 0.7046 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008451/5.46, allocations: 90.66 kB / 0.7047 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/5.461, allocations: 24.86 kB / 0.7047 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.365e-05/5.461, allocations: 4 kB / 0.7047 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/5.461, allocations: 34.5 kB / 0.7047 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 2.305e-06/5.461, allocations: 4 kB / 0.7047 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0003899/5.461, allocations: 85.58 kB / 0.7048 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/5.461, allocations: 51.41 kB / 0.7049 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/5.461, allocations: 112.9 kB / 0.705 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/5.461, allocations: 25.7 kB / 0.705 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.596e-05/5.461, allocations: 91.98 kB / 0.7051 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.185e-05/5.461, allocations: 27.64 kB / 0.7051 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.268e-05/5.461, allocations: 0 / 0.7051 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001512/5.462, allocations: 314.8 kB / 0.7054 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.719e-05/5.462, allocations: 19.98 kB / 0.7054 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.913e-05/5.462, allocations: 32.06 kB / 0.7055 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.124e-05/5.462, allocations: 20.14 kB / 0.7055 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/5.462, allocations: 0 / 0.7055 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002889/5.462, allocations: 89.52 kB / 0.7056 GB, free: 9.605 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/5.462, allocations: 4.938 kB / 0.7056 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/5.462, allocations: 3.938 kB / 0.7056 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/5.462, allocations: 0 / 0.7056 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003827/5.463, allocations: 35.97 kB / 0.7056 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/5.463, allocations: 0 / 0.7056 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000276/5.463, allocations: 19.97 kB / 0.7056 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.004e-05/5.463, allocations: 8 kB / 0.7056 GB, free: 9.535 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: 3 (max1.u1,max1.u2,max1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001067/5.463, allocations: 108.9 kB / 0.7057 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.324e-05/5.463, allocations: 7.906 kB / 0.7058 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003583/5.464, allocations: 97.95 kB / 0.7058 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/5.464, allocations: 0 / 0.7058 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/5.464, allocations: 0 / 0.7058 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/5.464, allocations: 4 kB / 0.7059 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004596/5.464, allocations: 182 kB / 0.706 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.912e-06/5.464, allocations: 0 / 0.706 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005105/5.465, allocations: 31.97 kB / 0.7061 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/5.465, allocations: 0 / 0.7061 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/5.465, allocations: 7.984 kB / 0.7061 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/5.465, allocations: 4 kB / 0.7061 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/5.465, allocations: 0 / 0.7061 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003497/5.465, allocations: 179.4 kB / 0.7062 GB, free: 8.859 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004663/5.466, allocations: 0.5467 MB / 0.7068 GB, free: 8.293 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.108e-05/5.466, allocations: 89.02 kB / 0.7069 GB, free: 8.188 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.574e-05/5.466, allocations: 0 / 0.7069 GB, free: 8.188 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003235/5.466, allocations: 23.88 kB / 0.7069 GB, free: 8.164 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/5.466, allocations: 23.97 kB / 0.7069 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/5.466, allocations: 7.984 kB / 0.7069 GB, free: 8.133 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.734e-05/5.466, allocations: 91.28 kB / 0.707 GB, free: 8.043 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001551/5.468, allocations: 12 kB / 0.707 GB, free: 8.031 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: 3 (max1.u1,max1.u2,max1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0002214/5.468, allocations: 119.1 kB / 0.7071 GB, free: 7.906 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003147/5.468, allocations: 55.92 kB / 0.7072 GB, free: 7.852 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/5.468, allocations: 4 kB / 0.7072 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001387/5.469, allocations: 28 kB / 0.7072 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/5.469, allocations: 19.89 kB / 0.7072 GB, free: 7.801 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000658/5.47, allocations: 112.2 kB / 0.7073 GB, free: 7.668 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004647/5.47, allocations: 0.7152 MB / 0.708 GB, free: 6.926 MB / 0.5886 GB Notification: Performance of SimCode: time 1.172e-06/5.47, allocations: 0 / 0.708 GB, free: 6.926 MB / 0.5886 GB