Running command: "" <> buildModelFMU(Modelica.Math.FastFourierTransform.Examples.RealFFT2,fileNamePrefix="Modelica_3_2_2_Modelica_Math_FastFourierTransform_Examples_RealFFT2",fmuType="me",version="2.0",platforms={"static"}) [: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(Modelica): time 1.717/1.717, allocations: 194.9 MB / 202.5 MB, free: 6.91 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2543/1.971, allocations: 46.81 MB / 249.3 MB, free: 5.34 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08961/2.061, allocations: 44.5 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2731/2.334, allocations: 72.03 MB / 365.9 MB, free: 7.215 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/2.334, allocations: 71.59 kB / 365.9 MB, free: 7.215 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.05904/2.393, allocations: 13.73 MB / 379.7 MB, free: 4.887 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/2.393, allocations: 7.531 kB / 379.7 MB, free: 4.887 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001619/2.394, allocations: 73.81 kB / 379.7 MB, free: 4.844 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01746/2.411, allocations: 3.666 MB / 383.4 MB, free: 3.473 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/2.411, allocations: 7.875 kB / 383.4 MB, free: 3.469 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.758e-05/2.411, allocations: 3.844 kB / 383.4 MB, free: 3.469 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009729/2.412, allocations: 0.7194 MB / 384.1 MB, free: 3.406 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/2.413, allocations: 0.798 MB / 384.9 MB, free: 3.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/2.413, allocations: 0 / 384.9 MB, free: 3.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.75e-05/2.413, allocations: 0 / 384.9 MB, free: 3.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/2.413, allocations: 0 / 384.9 MB, free: 3.27 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003629/2.414, allocations: 283.3 kB / 385.2 MB, free: 3.008 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001544/2.415, allocations: 1.817 MB / 387 MB, free: 2.918 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001647/2.417, allocations: 1.812 MB / 388.8 MB, free: 2.848 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.241e-05/2.417, allocations: 0 / 388.8 MB, free: 2.848 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001143/2.418, allocations: 1.032 MB / 389.9 MB, free: 2.621 MB / 298.7 MB Notification: Performance of pre-optimization done (n=225): time 2.625e-06/2.418, allocations: 0 / 389.9 MB, free: 2.621 MB / 298.7 MB Notification: Performance of matching and sorting (n=225): time 0.007133/2.425, allocations: 6.314 MB / 396.2 MB, free: 2.367 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003415/2.426, allocations: 402.6 kB / 396.6 MB, free: 2.188 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002487/2.426, allocations: 172.2 kB / 396.8 MB, free: 2.066 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003737/2.426, allocations: 163.6 kB / 396.9 MB, free: 2.004 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.012e-05/2.426, allocations: 100.1 kB / 397 MB, free: 1.91 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000874/2.427, allocations: 0.9077 MB / 397.9 MB, free: 1.262 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/2.427, allocations: 0 / 397.9 MB, free: 1.262 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002438/2.428, allocations: 464.1 kB / 398.4 MB, free: 16.9 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002479/2.43, allocations: 0.9904 MB / 399.4 MB, free: 16.74 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003694/2.434, allocations: 2.551 MB / 401.9 MB, free: 14.51 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003894/2.438, allocations: 1.498 MB / 403.4 MB, free: 14.09 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.488e-05/2.438, allocations: 16.06 kB / 403.4 MB, free: 14.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.009419/2.447, allocations: 3.294 MB / 406.7 MB, free: 11.59 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/2.447, allocations: 4 kB / 406.7 MB, free: 11.58 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001165/2.448, allocations: 56.84 kB / 406.8 MB, free: 11.53 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001459/2.448, allocations: 87.91 kB / 406.9 MB, free: 11.44 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003149/2.451, allocations: 0.5222 MB / 407.4 MB, free: 10.92 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001263/2.451, allocations: 111.6 kB / 407.5 MB, free: 10.81 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002251/2.453, allocations: 221.1 kB / 407.7 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003293/2.454, allocations: 180 kB / 407.9 MB, free: 10.41 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 246 * Number of states: 0 () * Number of discrete variables: 51 ($PRE.Ai[21],Ai[21],$PRE.Ai[20],Ai[20],$PRE.Ai[19],Ai[19],$PRE.Ai[18],Ai[18],$PRE.Ai[17],Ai[17],$PRE.Ai[16],Ai[16],$PRE.Ai[15],Ai[15],$PRE.Ai[14],Ai[14],$PRE.Ai[13],Ai[13],$PRE.Ai[12],Ai[12],$PRE.Ai[11],Ai[11],$PRE.Ai[10],Ai[10],$PRE.Ai[9],Ai[9],$PRE.Ai[8],Ai[8],$PRE.Ai[7],Ai[7],$PRE.Ai[6],Ai[6],$PRE.Ai[5],Ai[5],$PRE.Ai[4],Ai[4],$PRE.Ai[3],Ai[3],$PRE.Ai[2],Ai[2],$PRE.Ai[1],Ai[1],$PRE.info,info,$PRE.y_buf[200],y_buf[200],$PRE.y,y,$PRE.iTick,iTick,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (470): * Single equations (assignments): 469 * Array equations: 0 * Algorithm blocks: 1 * 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.001106/2.455, allocations: 0.5766 MB / 408.5 MB, free: 9.824 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000292/2.455, allocations: 111.1 kB / 408.6 MB, free: 9.715 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.364e-05/2.455, allocations: 21.14 kB / 408.6 MB, free: 9.688 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/2.455, allocations: 0 / 408.6 MB, free: 9.688 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/2.455, allocations: 0 / 408.6 MB, free: 9.688 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/2.455, allocations: 0 / 408.6 MB, free: 9.688 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006633/2.456, allocations: 442.3 kB / 409 MB, free: 9.219 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/2.456, allocations: 0 / 409 MB, free: 9.219 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.372e-06/2.456, allocations: 3.938 kB / 409 MB, free: 9.215 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/2.456, allocations: 3.938 kB / 409 MB, free: 9.211 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001264/2.456, allocations: 39.98 kB / 409.1 MB, free: 9.172 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/2.456, allocations: 0 / 409.1 MB, free: 9.172 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/2.456, allocations: 4 kB / 409.1 MB, free: 9.168 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01115/2.467, allocations: 7.563 MB / 416.6 MB, free: 1.586 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01883/2.486, allocations: 11.5 MB / 428.1 MB, free: 6.074 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002414/2.486, allocations: 175.6 kB / 428.3 MB, free: 5.883 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002938/2.487, allocations: 55.91 kB / 428.4 MB, free: 5.828 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000483/2.487, allocations: 32 kB / 428.4 MB, free: 5.797 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/2.487, allocations: 20 kB / 428.4 MB, free: 5.777 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001648/2.488, allocations: 63.98 kB / 428.5 MB, free: 5.715 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001568/2.488, allocations: 132.3 kB / 428.6 MB, free: 5.586 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003777/2.492, allocations: 427.8 kB / 429 MB, free: 5.168 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition1,y,Ai[1],Ai[2],Ai[3],Ai[4],Ai[5],Ai[6],Ai[7],Ai[8],Ai[9],Ai[10],Ai[11],Ai[12],Ai[13],Ai[14],Ai[15],Ai[16],Ai[17],Ai[18],Ai[19],Ai[20],Ai[21],info,iTick,y_buf[200]) * Number of discrete states: 26 (Ai[21],Ai[20],Ai[19],Ai[18],Ai[17],Ai[16],Ai[15],Ai[14],Ai[13],Ai[12],Ai[11],Ai[10],Ai[9],Ai[8],Ai[7],Ai[6],Ai[5],Ai[4],Ai[3],Ai[2],Ai[1],info,y_buf[200],y,iTick,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.001077/2.493, allocations: 349.4 kB / 429.4 MB, free: 4.867 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.006855/2.5, allocations: 3.065 MB / 432.4 MB, free: 1.809 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/2.5, allocations: 4.625 kB / 432.4 MB, free: 1.805 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.06334/2.563, allocations: 53.51 MB / 486 MB, free: 12.3 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/2.563, allocations: 36.19 kB / 486 MB, free: 12.27 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004316/2.568, allocations: 1.928 MB / 487.9 MB, free: 10.31 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001101/2.569, allocations: 1.084 MB / 489 MB, free: 9.191 MB / 394.7 MB Notification: Performance of SimCode: time 1.253e-06/2.569, allocations: 0 / 489 MB, free: 9.191 MB / 394.7 MB