Running command: "" <> buildModelFMU(Modelica.Math.FastFourierTransform.Examples.RealFFT2,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Math_FastFourierTransform_Examples_RealFFT2",fmuType="cs",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(Modelica): time 2.857/2.857, allocations: 194.9 MB / 202.6 MB, free: 6.898 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2337/3.091, allocations: 46.83 MB / 249.4 MB, free: 5.328 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/3.196, allocations: 44.51 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4256/3.622, allocations: 72.03 MB / 365.9 MB, free: 7.113 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004436/3.622, allocations: 66.7 kB / 366 MB, free: 7.113 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.09581/3.718, allocations: 13.74 MB / 379.7 MB, free: 4.789 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.56e-05/3.718, allocations: 7.469 kB / 379.7 MB, free: 4.789 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003483/3.719, allocations: 73.5 kB / 379.8 MB, free: 4.746 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03763/3.756, allocations: 3.667 MB / 383.5 MB, free: 3.379 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.16e-05/3.756, allocations: 0 / 383.5 MB, free: 3.379 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/3.757, allocations: 7.75 kB / 383.5 MB, free: 3.379 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001911/3.759, allocations: 0.7179 MB / 384.2 MB, free: 3.312 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002161/3.761, allocations: 0.7934 MB / 385 MB, free: 3.18 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/3.761, allocations: 0 / 385 MB, free: 3.18 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.313e-05/3.761, allocations: 4 kB / 385 MB, free: 3.176 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/3.761, allocations: 0 / 385 MB, free: 3.176 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007024/3.762, allocations: 279.3 kB / 385.3 MB, free: 2.914 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003126/3.765, allocations: 1.816 MB / 387.1 MB, free: 2.828 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00309/3.768, allocations: 1.813 MB / 388.9 MB, free: 2.754 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.826e-05/3.768, allocations: 0 / 388.9 MB, free: 2.754 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002395/3.771, allocations: 1.04 MB / 389.9 MB, free: 2.523 MB / 298.7 MB Notification: Performance of pre-optimization done (n=225): time 8.316e-06/3.771, allocations: 4 kB / 390 MB, free: 2.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=225): time 0.01339/3.784, allocations: 6.314 MB / 396.3 MB, free: 2.266 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004458/3.785, allocations: 397.9 kB / 396.7 MB, free: 2.086 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003206/3.785, allocations: 171.2 kB / 396.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005076/3.786, allocations: 165.5 kB / 397 MB, free: 1.906 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.096e-05/3.786, allocations: 99.45 kB / 397.1 MB, free: 1.812 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001179/3.787, allocations: 0.904 MB / 398 MB, free: 1.172 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002309/3.787, allocations: 0 / 398 MB, free: 1.172 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002998/3.787, allocations: 467.4 kB / 398.4 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003625/3.791, allocations: 0.9881 MB / 399.4 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005685/3.797, allocations: 2.551 MB / 402 MB, free: 14.42 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005531/3.802, allocations: 1.5 MB / 403.5 MB, free: 14 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001518/3.803, allocations: 16 kB / 403.5 MB, free: 14 MB / 314.7 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.01315/3.816, allocations: 3.292 MB / 406.8 MB, free: 11.55 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.229e-05/3.816, allocations: 12 kB / 406.8 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00014/3.816, allocations: 52 kB / 406.9 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001977/3.816, allocations: 91.84 kB / 406.9 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004171/3.82, allocations: 0.5183 MB / 407.5 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001644/3.821, allocations: 111.6 kB / 407.6 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003068/3.824, allocations: 225.1 kB / 407.8 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000578/3.824, allocations: 176 kB / 408 MB, free: 10.37 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.001415/3.826, allocations: 0.5803 MB / 408.5 MB, free: 9.781 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003532/3.826, allocations: 111 kB / 408.6 MB, free: 9.672 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.832e-05/3.826, allocations: 21.16 kB / 408.7 MB, free: 9.645 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/3.826, allocations: 3.984 kB / 408.7 MB, free: 9.641 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/3.826, allocations: 0 / 408.7 MB, free: 9.641 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/3.826, allocations: 4 kB / 408.7 MB, free: 9.637 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008567/3.827, allocations: 434.3 kB / 409.1 MB, free: 9.176 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/3.827, allocations: 0 / 409.1 MB, free: 9.176 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.064e-06/3.827, allocations: 0 / 409.1 MB, free: 9.176 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/3.827, allocations: 0 / 409.1 MB, free: 9.176 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001803/3.827, allocations: 44 kB / 409.1 MB, free: 9.133 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/3.827, allocations: 3.984 kB / 409.1 MB, free: 9.129 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/3.827, allocations: 0 / 409.1 MB, free: 9.129 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01686/3.844, allocations: 7.567 MB / 416.7 MB, free: 1.543 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03412/3.878, allocations: 11.48 MB / 428.2 MB, free: 6.031 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000398/3.879, allocations: 171.7 kB / 428.4 MB, free: 5.844 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006107/3.88, allocations: 47.98 kB / 428.4 MB, free: 5.797 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009795/3.881, allocations: 44.05 kB / 428.5 MB, free: 5.754 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002869/3.881, allocations: 20 kB / 428.5 MB, free: 5.734 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003587/3.881, allocations: 67.98 kB / 428.5 MB, free: 5.668 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0002972/3.882, allocations: 124.3 kB / 428.7 MB, free: 5.547 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.007603/3.889, allocations: 431.8 kB / 429.1 MB, free: 5.125 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.002309/3.892, allocations: 363.9 kB / 429.4 MB, free: 4.82 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.01276/3.904, allocations: 3.065 MB / 432.5 MB, free: 1.762 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.788e-06/3.905, allocations: 0 / 432.5 MB, free: 1.762 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1179/4.022, allocations: 53.52 MB / 486 MB, free: 12.27 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007739/4.023, allocations: 32.19 kB / 486.1 MB, free: 12.24 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00892/4.032, allocations: 1.933 MB / 488 MB, free: 10.28 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002337/4.035, allocations: 1.084 MB / 489.1 MB, free: 9.168 MB / 394.7 MB Notification: Performance of SimCode: time 3.176e-06/4.035, allocations: 0 / 489.1 MB, free: 9.168 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Math.FastFourierTransform.Examples.RealFFT2_res.mat does not exist to compare? outputFormat=mat