Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Continuous_Validation_Add",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.178/4.178, allocations: 404 MB / 410.9 MB, free: 4.914 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2868/4.465, allocations: 95.03 MB / 0.4941 GB, free: 7.301 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5096/4.975, allocations: 92.68 MB / 0.5846 GB, free: 3.367 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2583/5.233, allocations: 119.8 MB / 0.7016 GB, free: 13.91 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003807/5.234, allocations: 83.94 kB / 0.7017 GB, free: 13.83 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0051/5.239, allocations: 0.9503 MB / 0.7026 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/5.239, allocations: 12 kB / 0.7026 GB, free: 12.82 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.866e-05/5.239, allocations: 7.906 kB / 0.7026 GB, free: 12.82 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/5.239, allocations: 178.9 kB / 0.7028 GB, free: 12.6 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/5.239, allocations: 4 kB / 0.7028 GB, free: 12.6 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/5.239, allocations: 0 / 0.7028 GB, free: 12.6 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001344/5.239, allocations: 16 kB / 0.7028 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/5.24, allocations: 49.62 kB / 0.7028 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/5.24, allocations: 0 / 0.7028 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/5.24, allocations: 0 / 0.7028 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/5.24, allocations: 0 / 0.7028 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008139/5.24, allocations: 285.4 kB / 0.7031 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/5.241, allocations: 30.58 kB / 0.7031 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.384e-05/5.241, allocations: 16.86 kB / 0.7032 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/5.241, allocations: 0 / 0.7032 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/5.241, allocations: 34.5 kB / 0.7032 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.693e-06/5.241, allocations: 0 / 0.7032 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0002384/5.241, allocations: 61.69 kB / 0.7032 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/5.241, allocations: 55.34 kB / 0.7033 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/5.241, allocations: 105.1 kB / 0.7034 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/5.241, allocations: 25.7 kB / 0.7034 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.131e-05/5.241, allocations: 88.14 kB / 0.7035 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/5.241, allocations: 11.75 kB / 0.7035 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-06/5.241, allocations: 0 / 0.7035 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001432/5.241, allocations: 318.8 kB / 0.7038 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.75e-05/5.242, allocations: 12 kB / 0.7038 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.42e-05/5.242, allocations: 12.03 kB / 0.7038 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.417e-05/5.242, allocations: 8 kB / 0.7039 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/5.242, allocations: 0 / 0.7039 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001681/5.242, allocations: 61.53 kB / 0.7039 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/5.242, allocations: 4 kB / 0.7039 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/5.242, allocations: 0 / 0.7039 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/5.242, allocations: 0 / 0.7039 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002924/5.242, allocations: 27.98 kB / 0.7039 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/5.242, allocations: 0 / 0.7039 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/5.242, allocations: 19.98 kB / 0.704 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/5.243, allocations: 0 / 0.704 GB, free: 11.26 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 (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 9.45e-05/5.243, allocations: 108.4 kB / 0.7041 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.654e-05/5.243, allocations: 7.984 kB / 0.7041 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.485e-05/5.243, allocations: 8 kB / 0.7041 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/5.243, allocations: 0 / 0.7041 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/5.243, allocations: 7.906 kB / 0.7041 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/5.243, allocations: 0 / 0.7041 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002447/5.243, allocations: 142.2 kB / 0.7042 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/5.243, allocations: 0 / 0.7042 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002487/5.243, allocations: 27.97 kB / 0.7042 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/5.243, allocations: 4 kB / 0.7043 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/5.243, allocations: 0 / 0.7043 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/5.243, allocations: 3.938 kB / 0.7043 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/5.243, allocations: 0 / 0.7043 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002274/5.244, allocations: 155.5 kB / 0.7044 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004195/5.244, allocations: 0.5116 MB / 0.7049 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.841e-05/5.244, allocations: 85.02 kB / 0.705 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/5.244, allocations: 3.938 kB / 0.705 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002614/5.244, allocations: 19.98 kB / 0.705 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.582e-05/5.245, allocations: 7.984 kB / 0.705 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/5.245, allocations: 0 / 0.705 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.981e-05/5.245, allocations: 95.53 kB / 0.7051 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001292/5.246, allocations: 7.906 kB / 0.7051 GB, free: 9.977 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 (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 Backend phase and start with SimCode phase: time 0.0001833/5.246, allocations: 111 kB / 0.7052 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001618/5.246, allocations: 24 kB / 0.7052 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/5.246, allocations: 0 / 0.7052 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.573e-05/5.246, allocations: 12 kB / 0.7053 GB, free: 9.824 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/5.247, allocations: 8 kB / 0.7053 GB, free: 9.816 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003939/5.247, allocations: 79.7 kB / 0.7053 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003991/5.248, allocations: 0.6954 MB / 0.706 GB, free: 8.996 MB / 0.5886 GB Notification: Performance of SimCode: time 8.71e-07/5.248, allocations: 0 / 0.706 GB, free: 8.996 MB / 0.5886 GB