Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2",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.325/4.325, allocations: 403.9 MB / 410.9 MB, free: 4.918 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2947/4.62, allocations: 95.03 MB / 0.4941 GB, free: 7.297 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5633/5.183, allocations: 92.68 MB / 0.5846 GB, free: 3.402 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2567/5.44, allocations: 119.9 MB / 0.7016 GB, free: 13.84 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003674/5.44, allocations: 79.94 kB / 0.7017 GB, free: 13.77 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.00534/5.445, allocations: 1.009 MB / 0.7027 GB, free: 12.71 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/5.446, allocations: 16 kB / 0.7027 GB, free: 12.7 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.816e-05/5.446, allocations: 3.906 kB / 0.7027 GB, free: 12.7 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/5.446, allocations: 167.1 kB / 0.7029 GB, free: 12.49 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/5.446, allocations: 3.906 kB / 0.7029 GB, free: 12.49 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/5.446, allocations: 4 kB / 0.7029 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001434/5.446, allocations: 23.92 kB / 0.7029 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/5.446, allocations: 45.62 kB / 0.703 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/5.446, allocations: 0 / 0.703 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/5.446, allocations: 0 / 0.703 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/5.446, allocations: 0 / 0.703 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008584/5.447, allocations: 289.4 kB / 0.7032 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/5.447, allocations: 30.58 kB / 0.7033 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.468e-05/5.447, allocations: 16.94 kB / 0.7033 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/5.447, allocations: 0 / 0.7033 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/5.447, allocations: 34.5 kB / 0.7033 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 3.827e-06/5.447, allocations: 0 / 0.7033 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0002557/5.448, allocations: 61.55 kB / 0.7034 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/5.448, allocations: 51.41 kB / 0.7034 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/5.448, allocations: 105 kB / 0.7035 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/5.448, allocations: 25.7 kB / 0.7035 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.042e-05/5.448, allocations: 80.14 kB / 0.7036 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.906e-05/5.448, allocations: 11.84 kB / 0.7036 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.083e-06/5.448, allocations: 0 / 0.7036 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001483/5.448, allocations: 322.7 kB / 0.7039 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.657e-05/5.448, allocations: 12 kB / 0.704 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.668e-05/5.448, allocations: 8 kB / 0.704 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.479e-05/5.448, allocations: 4 kB / 0.704 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/5.448, allocations: 0 / 0.704 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001671/5.448, allocations: 57.62 kB / 0.704 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/5.449, allocations: 4.938 kB / 0.704 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/5.449, allocations: 0 / 0.704 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/5.449, allocations: 3.906 kB / 0.704 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003372/5.449, allocations: 27.98 kB / 0.7041 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/5.449, allocations: 0 / 0.7041 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002132/5.449, allocations: 23.97 kB / 0.7041 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/5.449, allocations: 0 / 0.7041 GB, free: 11.16 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.228e-05/5.449, allocations: 108.5 kB / 0.7042 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.622e-05/5.449, allocations: 3.906 kB / 0.7042 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002112/5.45, allocations: 53.69 kB / 0.7042 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/5.45, allocations: 0 / 0.7042 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/5.45, allocations: 7.938 kB / 0.7042 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/5.45, allocations: 3.984 kB / 0.7042 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/5.45, allocations: 150.1 kB / 0.7044 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/5.45, allocations: 4 kB / 0.7044 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002429/5.45, allocations: 27.98 kB / 0.7044 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/5.45, allocations: 0 / 0.7044 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/5.45, allocations: 0 / 0.7044 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/5.45, allocations: 3.938 kB / 0.7044 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/5.45, allocations: 4 kB / 0.7044 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000259/5.45, allocations: 151.7 kB / 0.7046 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003306/5.451, allocations: 0.5154 MB / 0.7051 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.651e-05/5.451, allocations: 77.11 kB / 0.7052 GB, free: 9.949 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.856e-05/5.451, allocations: 7.922 kB / 0.7052 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002783/5.451, allocations: 31.89 kB / 0.7052 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/5.451, allocations: 0 / 0.7052 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/5.451, allocations: 0 / 0.7052 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.095e-05/5.451, allocations: 91.27 kB / 0.7053 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001381/5.453, allocations: 8 kB / 0.7053 GB, free: 9.812 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.0002143/5.453, allocations: 107 kB / 0.7054 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001708/5.453, allocations: 16 kB / 0.7054 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/5.453, allocations: 4 kB / 0.7054 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.86e-05/5.453, allocations: 15.94 kB / 0.7054 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/5.454, allocations: 7.984 kB / 0.7054 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003929/5.454, allocations: 71.78 kB / 0.7055 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003912/5.454, allocations: 0.6915 MB / 0.7062 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of SimCode: time 1.313e-06/5.454, allocations: 0 / 0.7062 GB, free: 8.848 MB / 0.5886 GB