Running command: "" <> buildModelFMU(Modelica.Math.FastFourierTransform.Examples.RealFFT1,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Math_FastFourierTransform_Examples_RealFFT1",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 3.254/3.254, allocations: 194.9 MB / 202.6 MB, free: 6.902 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3315/3.585, allocations: 46.82 MB / 249.4 MB, free: 5.309 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/3.737, allocations: 44.51 MB / 293.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4315/4.168, allocations: 72.03 MB / 365.9 MB, free: 7.012 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004591/4.169, allocations: 70.89 kB / 366 MB, free: 7.012 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.08977/4.258, allocations: 13.93 MB / 379.9 MB, free: 4.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/4.259, allocations: 11.53 kB / 380 MB, free: 4.59 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000282/4.259, allocations: 70.16 kB / 380 MB, free: 4.547 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02707/4.286, allocations: 3.697 MB / 383.7 MB, free: 3.156 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.851e-05/4.286, allocations: 0 / 383.7 MB, free: 3.156 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.006e-05/4.286, allocations: 7.688 kB / 383.7 MB, free: 3.156 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001545/4.288, allocations: 0.7916 MB / 384.5 MB, free: 3.082 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001649/4.289, allocations: 0.8689 MB / 385.4 MB, free: 2.938 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/4.289, allocations: 0 / 385.4 MB, free: 2.938 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.689e-05/4.29, allocations: 3.938 kB / 385.4 MB, free: 2.938 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/4.29, allocations: 0 / 385.4 MB, free: 2.938 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005676/4.29, allocations: 291.6 kB / 385.7 MB, free: 2.664 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003513/4.294, allocations: 2.09 MB / 387.8 MB, free: 2.57 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002497/4.296, allocations: 2.082 MB / 389.9 MB, free: 2.492 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/4.296, allocations: 4 kB / 389.9 MB, free: 2.488 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00184/4.298, allocations: 1.122 MB / 391 MB, free: 2.254 MB / 298.7 MB Notification: Performance of pre-optimization done (n=246): time 5.26e-06/4.298, allocations: 0 / 391 MB, free: 2.254 MB / 298.7 MB Notification: Performance of matching and sorting (n=246): time 0.01262/4.311, allocations: 7.372 MB / 398.4 MB, free: 1.984 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005329/4.311, allocations: 428.9 kB / 398.8 MB, free: 1.797 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003042/4.312, allocations: 169.1 kB / 398.9 MB, free: 1.684 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006053/4.312, allocations: 172.3 kB / 399.1 MB, free: 1.621 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.863e-05/4.312, allocations: 105.6 kB / 399.2 MB, free: 1.52 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001493/4.314, allocations: 0.9563 MB / 400.2 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003865/4.314, allocations: 0 / 400.2 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0005507/4.315, allocations: 484 kB / 400.6 MB, free: 16.47 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004564/4.32, allocations: 1.057 MB / 401.7 MB, free: 16.3 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006439/4.326, allocations: 2.76 MB / 404.5 MB, free: 13.7 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006198/4.332, allocations: 1.614 MB / 406.1 MB, free: 12.13 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001346/4.333, allocations: 20 kB / 406.1 MB, free: 12.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.01816/4.351, allocations: 3.548 MB / 409.6 MB, free: 8.555 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.542e-05/4.351, allocations: 4 kB / 409.6 MB, free: 8.551 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002307/4.351, allocations: 63.98 kB / 409.7 MB, free: 8.488 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002942/4.351, allocations: 96.75 kB / 409.8 MB, free: 8.395 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00604/4.357, allocations: 0.5612 MB / 410.4 MB, free: 7.832 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002819/4.358, allocations: 131.4 kB / 410.5 MB, free: 7.703 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005204/4.363, allocations: 240.8 kB / 410.7 MB, free: 7.465 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001043/4.364, allocations: 196 kB / 410.9 MB, free: 7.273 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 267 * Number of states: 0 () * Number of discrete variables: 93 ($PRE.Phii[21],Phii[21],$PRE.Phii[20],Phii[20],$PRE.Phii[19],Phii[19],$PRE.Phii[18],Phii[18],$PRE.Phii[17],Phii[17],$PRE.Phii[16],Phii[16],$PRE.Phii[15],Phii[15],$PRE.Phii[14],Phii[14],$PRE.Phii[13],Phii[13],$PRE.Phii[12],Phii[12],$PRE.Phii[11],Phii[11],$PRE.Phii[10],Phii[10],$PRE.Phii[9],Phii[9],$PRE.Phii[8],Phii[8],$PRE.Phii[7],Phii[7],$PRE.Phii[6],Phii[6],$PRE.Phii[5],Phii[5],$PRE.Phii[4],Phii[4],$PRE.Phii[3],Phii[3],$PRE.Phii[2],Phii[2],$PRE.Phii[1],Phii[1],$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 (512): * Single equations (assignments): 511 * 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.002412/4.367, allocations: 0.6365 MB / 411.5 MB, free: 6.625 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005724/4.367, allocations: 118.9 kB / 411.7 MB, free: 6.508 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.057e-05/4.367, allocations: 13.94 kB / 411.7 MB, free: 6.492 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/4.367, allocations: 0 / 411.7 MB, free: 6.492 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/4.367, allocations: 4 kB / 411.7 MB, free: 6.488 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/4.367, allocations: 0 / 411.7 MB, free: 6.488 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001427/4.369, allocations: 465.8 kB / 412.1 MB, free: 5.996 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/4.369, allocations: 3.984 kB / 412.1 MB, free: 5.992 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.515e-06/4.369, allocations: 7.938 kB / 412.1 MB, free: 5.984 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.041e-05/4.369, allocations: 4 kB / 412.2 MB, free: 5.98 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003057/4.369, allocations: 51.98 kB / 412.2 MB, free: 5.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/4.369, allocations: 3.938 kB / 412.2 MB, free: 5.926 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/4.369, allocations: 0 / 412.2 MB, free: 5.926 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02264/4.392, allocations: 8.709 MB / 420.9 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03818/4.43, allocations: 12.91 MB / 433.8 MB, free: 272 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004213/4.431, allocations: 183.5 kB / 434 MB, free: 68 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007649/4.431, allocations: 72 kB / 434.1 MB, free: 15.99 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/4.432, allocations: 40 kB / 434.1 MB, free: 15.95 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003321/4.433, allocations: 23.94 kB / 434.1 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003633/4.433, allocations: 71.94 kB / 434.2 MB, free: 15.86 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0002763/4.434, allocations: 124.3 kB / 434.3 MB, free: 15.74 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00847/4.442, allocations: 463.9 kB / 434.8 MB, free: 15.29 MB / 346.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: 47 ($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],Phii[1],Phii[2],Phii[3],Phii[4],Phii[5],Phii[6],Phii[7],Phii[8],Phii[9],Phii[10],Phii[11],Phii[12],Phii[13],Phii[14],Phii[15],Phii[16],Phii[17],Phii[18],Phii[19],Phii[20],Phii[21],info,iTick,y_buf[200]) * Number of discrete states: 47 (Phii[21],Phii[20],Phii[19],Phii[18],Phii[17],Phii[16],Phii[15],Phii[14],Phii[13],Phii[12],Phii[11],Phii[10],Phii[9],Phii[8],Phii[7],Phii[6],Phii[5],Phii[4],Phii[3],Phii[2],Phii[1],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.002217/4.444, allocations: 387.8 kB / 435.2 MB, free: 14.96 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01258/4.457, allocations: 3.308 MB / 438.5 MB, free: 11.66 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/4.457, allocations: 1.562 kB / 438.5 MB, free: 11.66 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1145/4.572, allocations: 60.62 MB / 499.1 MB, free: 15.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008623/4.573, allocations: 48.02 kB / 499.1 MB, free: 15.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009589/4.582, allocations: 2.104 MB / 0.4895 GB, free: 12.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002562/4.585, allocations: 1.137 MB / 0.4906 GB, free: 11.72 MB / 410.7 MB Notification: Performance of SimCode: time 3.266e-06/4.585, allocations: 0 / 0.4906 GB, free: 11.72 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Math.FastFourierTransform.Examples.RealFFT1_res.mat does not exist to compare? outputFormat=mat