Running command: translateModel(Modelica.Math.FastFourierTransform.Examples.RealFFT1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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|y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1") Notification: Performance of loadModel(Modelica): time 1.894/1.894, allocations: 194.9 MB / 208.4 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.072e-05/3.094e-05, allocations: 4 kB / 255.3 MB, free: 3.219 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07961/0.07967, allocations: 44.51 MB / 299.8 MB, free: 6.652 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3208/0.4005, allocations: 72.76 MB / 372.6 MB, free: 22.11 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/0.4008, allocations: 71.17 kB / 372.7 MB, free: 22.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05865/0.4595, allocations: 13.35 MB / 386 MB, free: 20.74 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.821e-06/0.4596, allocations: 0 / 386 MB, free: 20.74 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.164e-05/0.4596, allocations: 14.19 kB / 386 MB, free: 20.74 MB / 314.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.001908/0.4615, allocations: 1.013 MB / 387 MB, free: 20.14 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.686e-05/0.4616, allocations: 12.66 kB / 387.1 MB, free: 20.14 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002895/0.4619, allocations: 72.91 kB / 387.1 MB, free: 20.1 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0238/0.4858, allocations: 3.725 MB / 390.9 MB, free: 19.52 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/0.4858, allocations: 7.719 kB / 390.9 MB, free: 19.52 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.471e-05/0.486, allocations: 11.12 kB / 390.9 MB, free: 19.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001902/0.4879, allocations: 0.8598 MB / 391.7 MB, free: 19.47 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.4879, allocations: 0 / 391.7 MB, free: 19.47 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.954e-05/0.488, allocations: 3.906 kB / 391.7 MB, free: 19.47 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.165e-06/0.488, allocations: 0 / 391.7 MB, free: 19.47 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001518/0.4896, allocations: 0.7704 MB / 392.5 MB, free: 19.47 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007471/0.4903, allocations: 426.8 kB / 392.9 MB, free: 19.19 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002699/0.4931, allocations: 2.073 MB / 395 MB, free: 19.17 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0028/0.4959, allocations: 2.072 MB / 397.1 MB, free: 19.16 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.496, allocations: 0 / 397.1 MB, free: 19.16 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002103/0.4981, allocations: 1.12 MB / 398.2 MB, free: 19.06 MB / 314.7 MB Notification: Performance of pre-optimization done (n=246): time 5.585e-06/0.4982, allocations: 0 / 398.2 MB, free: 19.06 MB / 314.7 MB Notification: Performance of matching and sorting (n=246): time 0.01419/0.5124, allocations: 2.211 MB / 400.4 MB, free: 18.92 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004133/0.5129, allocations: 430.1 kB / 400.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002902/0.5132, allocations: 165.5 kB / 401 MB, free: 18.67 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004211/0.5136, allocations: 203.7 kB / 401.2 MB, free: 18.64 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.683e-05/0.5137, allocations: 169.3 kB / 401.3 MB, free: 18.48 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00118/0.5149, allocations: 0.9815 MB / 402.3 MB, free: 17.89 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002784/0.5152, allocations: 84.06 kB / 402.4 MB, free: 17.89 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002968/0.5156, allocations: 474 kB / 402.9 MB, free: 17.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002222/0.5178, allocations: 1.073 MB / 403.9 MB, free: 17.54 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004007/0.5218, allocations: 2.783 MB / 406.7 MB, free: 15.3 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004945/0.5268, allocations: 1.638 MB / 408.4 MB, free: 15.12 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.98e-05/0.527, allocations: 15.72 kB / 408.4 MB, free: 15.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.01327/0.5403, allocations: 3.949 MB / 412.3 MB, free: 14.59 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001266/0.5405, allocations: 57.14 kB / 412.4 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001448/0.5406, allocations: 58.69 kB / 412.4 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002153/0.5409, allocations: 89.84 kB / 412.5 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003541/0.5444, allocations: 0.5638 MB / 413.1 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001634/0.5446, allocations: 121.2 kB / 413.2 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002256/0.5469, allocations: 323.5 kB / 413.5 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000517/0.5475, allocations: 202.4 kB / 413.7 MB, free: 14.3 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.001582/0.5491, allocations: 0.7251 MB / 414.5 MB, free: 14.03 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004744/0.5496, allocations: 121.4 kB / 414.6 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.255e-05/0.5496, allocations: 17.84 kB / 414.6 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.793e-06/0.5497, allocations: 0 / 414.6 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.339e-06/0.5497, allocations: 3.938 kB / 414.6 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.5497, allocations: 3.797 kB / 414.6 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009404/0.5507, allocations: 0.5626 MB / 415.2 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.796e-06/0.5507, allocations: 7.75 kB / 415.2 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.357e-06/0.5507, allocations: 0 / 415.2 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.48e-06/0.5508, allocations: 0 / 415.2 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002202/0.551, allocations: 46.25 kB / 415.2 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.935e-06/0.551, allocations: 7.656 kB / 415.2 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.273e-06/0.551, allocations: 0 / 415.2 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0448/0.5959, allocations: 22.21 MB / 437.4 MB, free: 2.148 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003514/0.5963, allocations: 183.5 kB / 437.6 MB, free: 1.949 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005011/0.5968, allocations: 67.95 kB / 437.7 MB, free: 1.883 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007722/0.5976, allocations: 35.98 kB / 437.7 MB, free: 1.848 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002196/0.5979, allocations: 31.98 kB / 437.7 MB, free: 1.816 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002373/0.5981, allocations: 76.02 kB / 437.8 MB, free: 1.742 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001754/0.5983, allocations: 128.3 kB / 437.9 MB, free: 1.617 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.413e-06/0.5983, allocations: 3.938 kB / 437.9 MB, free: 1.613 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.004514/0.6029, allocations: 0.5311 MB / 438.5 MB, free: 1.082 MB / 314.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.001524/0.6044, allocations: 393.5 kB / 438.9 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.01191/0.6164, allocations: 3.396 MB / 442.3 MB, free: 13.33 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.71e-06/0.6164, allocations: 128 / 442.3 MB, free: 13.33 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.07742/0.6939, allocations: 59.45 MB / 0.49 GB, free: 1.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004308/0.6944, allocations: 40.19 kB / 0.49 GB, free: 1.801 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003766/0.6981, allocations: 1.989 MB / 0.4919 GB, free: 15.77 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000862/0.699, allocations: 1.011 MB / 0.4929 GB, free: 14.73 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003101/0.6994, allocations: 79.36 kB / 0.493 GB, free: 14.66 MB / 394.7 MB Notification: Performance of SimCode: time 2.133e-06/0.6994, allocations: 4 kB / 0.493 GB, free: 14.66 MB / 394.7 MB Notification: Performance of Templates: time 0.2346/0.934, allocations: 16.34 MB / 0.509 GB, free: 132.4 MB / 394.7 MB make -j1 -f Modelica_3.2.2_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1.makefile clang++ -fopenmp=libomp -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.2_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1CalcHelperMain.o OMCppModelica_3.2.2_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1CalcHelperMain.cpp In file included from OMCppModelica_3.2.2_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1CalcHelperMain.cpp:28: ./OMCppModelica_3.2.2_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1Functions.cpp:151:48: error: use of undeclared identifier 'D_24tmpVar0_'; did you mean 'D_24tmpVar1_'? Modelica_SIunits_Conversions_to__deg(D_24tmpVar0_,tmp9); ^~~~~~~~~~~~ D_24tmpVar1_ ./OMCppModelica_3.2.2_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1Functions.cpp:124:14: note: 'D_24tmpVar1_' declared here double D_24tmpVar1_; ^ In file included from OMCppModelica_3.2.2_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1CalcHelperMain.cpp:33: ./OMCppModelica_3.2.2_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1.cpp:1665:7: warning: expression result unused [-Wunused-value] tmp1; ^~~~ 1 warning and 1 error generated. : recipe for target 'OMCppModelica_3.2.2_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1CalcHelperMain.o' failed make: *** [OMCppModelica_3.2.2_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1CalcHelperMain.o] Error 1