Running command: translateModel(Modelica.Math.FastFourierTransform.Examples.RealFFT1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1") Notification: Performance of loadModel(Modelica): time 2.008/2.008, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.427e-05/3.441e-05, allocations: 4 kB / 292.1 MB, free: 8.836 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09228/0.09234, allocations: 50.41 MB / 342.5 MB, free: 6.402 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4036/0.496, allocations: 78.37 MB / 420.9 MB, free: 15.78 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002327/0.4963, allocations: 74.52 kB / 421 MB, free: 15.74 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05945/0.5558, allocations: 13.72 MB / 434.7 MB, free: 4.172 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.043e-06/0.5558, allocations: 0 / 434.7 MB, free: 4.172 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.344e-05/0.5559, allocations: 8 kB / 434.7 MB, free: 4.164 MB / 346.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.001291/0.5572, allocations: 1.031 MB / 435.7 MB, free: 3.133 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.5572, allocations: 8.031 kB / 435.8 MB, free: 3.125 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001477/0.5574, allocations: 74.92 kB / 435.8 MB, free: 3.051 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01533/0.5727, allocations: 3.754 MB / 439.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.5728, allocations: 7.688 kB / 439.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.114e-05/0.5729, allocations: 11.88 kB / 439.6 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/0.5741, allocations: 0.8463 MB / 440.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.5741, allocations: 0 / 440.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.326e-05/0.5742, allocations: 8 kB / 440.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.724e-06/0.5742, allocations: 7.938 kB / 440.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009918/0.5752, allocations: 0.7789 MB / 441.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005569/0.5757, allocations: 416.8 kB / 441.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001792/0.5776, allocations: 2.07 MB / 443.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002355/0.5799, allocations: 2.079 MB / 445.8 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.58, allocations: 0 / 445.8 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001567/0.5815, allocations: 1.115 MB / 446.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=246): time 3.795e-06/0.5816, allocations: 0 / 446.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=246): time 0.008442/0.59, allocations: 2.212 MB / 449.1 MB, free: 8.379 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004154/0.5905, allocations: 436.5 kB / 449.5 MB, free: 7.926 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002394/0.5907, allocations: 165.7 kB / 449.7 MB, free: 7.754 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003062/0.5911, allocations: 201.6 kB / 449.9 MB, free: 7.551 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.5912, allocations: 170.7 kB / 450.1 MB, free: 7.379 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001042/0.5922, allocations: 0.9758 MB / 451.1 MB, free: 6.391 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001773/0.5924, allocations: 80 kB / 451.1 MB, free: 6.312 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003508/0.5928, allocations: 475.4 kB / 451.6 MB, free: 5.836 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002164/0.595, allocations: 1.074 MB / 452.7 MB, free: 4.754 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003846/0.5988, allocations: 2.759 MB / 455.4 MB, free: 1.152 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003408/0.6023, allocations: 1.64 MB / 457.1 MB, free: 15.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.245e-05/0.6024, allocations: 16 kB / 457.1 MB, free: 15.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.009074/0.6115, allocations: 3.772 MB / 460.9 MB, free: 11.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000108/0.6116, allocations: 61.69 kB / 460.9 MB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-05/0.6117, allocations: 60.91 kB / 461 MB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001413/0.6119, allocations: 88 kB / 461.1 MB, free: 11.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002155/0.6141, allocations: 0.5728 MB / 461.6 MB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001546/0.6142, allocations: 119.6 kB / 461.7 MB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001997/0.6163, allocations: 324.8 kB / 462.1 MB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003767/0.6167, allocations: 192 kB / 462.3 MB, free: 10.29 MB / 378.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.001169/0.6178, allocations: 0.7309 MB / 463 MB, free: 9.547 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002405/0.6181, allocations: 115 kB / 463.1 MB, free: 9.434 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.642e-05/0.6181, allocations: 21.92 kB / 463.1 MB, free: 9.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.892e-06/0.6182, allocations: 0 / 463.1 MB, free: 9.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.6182, allocations: 3.938 kB / 463.1 MB, free: 9.406 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.6182, allocations: 0 / 463.1 MB, free: 9.406 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007512/0.6189, allocations: 0.5718 MB / 463.7 MB, free: 8.781 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.705e-06/0.619, allocations: 8 kB / 463.7 MB, free: 8.773 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.801e-06/0.619, allocations: 0 / 463.7 MB, free: 8.773 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/0.619, allocations: 0 / 463.7 MB, free: 8.773 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001296/0.6191, allocations: 47.98 kB / 463.7 MB, free: 8.727 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.846e-06/0.6192, allocations: 3.984 kB / 463.8 MB, free: 8.723 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.012e-06/0.6192, allocations: 0 / 463.8 MB, free: 8.723 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03127/0.6504, allocations: 22.22 MB / 486 MB, free: 2.465 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002293/0.6507, allocations: 179.6 kB / 486.1 MB, free: 2.27 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000241/0.651, allocations: 71.98 kB / 486.2 MB, free: 2.199 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003854/0.6514, allocations: 36 kB / 486.3 MB, free: 2.164 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001582/0.6516, allocations: 27.98 kB / 486.3 MB, free: 2.137 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001737/0.6517, allocations: 71.98 kB / 486.3 MB, free: 2.066 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001655/0.6519, allocations: 132.3 kB / 486.5 MB, free: 1.938 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.78e-07/0.6519, allocations: 0 / 486.5 MB, free: 1.938 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00266/0.6546, allocations: 0.5195 MB / 487 MB, free: 1.418 MB / 394.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.001179/0.6558, allocations: 429.8 kB / 487.4 MB, free: 1.051 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006269/0.6621, allocations: 3.319 MB / 490.7 MB, free: 13.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.074e-06/0.6622, allocations: 4.062 kB / 490.7 MB, free: 13.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.3638/1.026, allocations: 59.46 MB / 0.5373 GB, free: 154.6 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003764/1.026, allocations: 40.59 kB / 0.5373 GB, free: 154.6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002888/1.029, allocations: 1.989 MB / 0.5393 GB, free: 154.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000488/1.03, allocations: 1.018 MB / 0.5403 GB, free: 153.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003058/1.03, allocations: 78.25 kB / 0.5404 GB, free: 153.5 MB / 442.7 MB Notification: Performance of SimCode: time 1.966e-06/1.03, allocations: 0 / 0.5404 GB, free: 153.5 MB / 442.7 MB Notification: Performance of Templates: time 0.02609/1.056, allocations: 16.27 MB / 0.5562 GB, free: 140.7 MB / 442.7 MB make -j1 -f Modelica_trunk_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/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_trunk_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1CalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1CalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1CalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1Functions.cpp:202:46: error: use of undeclared identifier '_omcQuot_24746D7056617230_'; did you mean '_omcQuot_24746D7056617231_'? Modelica_Units_Conversions_to__deg(_omcQuot_24746D7056617230_,tmp9); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D7056617231_ ./OMCppModelica_trunk_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1Functions.cpp:175:14: note: '_omcQuot_24746D7056617231_' declared here double _omcQuot_24746D7056617231_; ^ ./OMCppModelica_trunk_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1Functions.cpp:412:15: error: no matching function for call to 'ModelicaFFT_kiss_fftr' info__ext = ModelicaFFT_kiss_fftr(ConstArray(u_).getData(), u_.getDim(1), work_.getData(), work_.getDim(1), amplitudes_.getData(), phases_.getData()); ^~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources/ModelicaFFT.h:72:21: note: candidate function not viable: 1st argument ('const double *') would lose const qualifier MODELICA_EXPORT int ModelicaFFT_kiss_fftr(_In_ double* u, size_t nu, _In_ double* work, size_t nwork, ^ In file included from OMCppModelica_trunk_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1CalcHelperMain.cpp:33: ./OMCppModelica_trunk_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1.cpp:1665:7: warning: expression result unused [-Wunused-value] tmp1; ^~~~ 1 warning and 2 errors generated. : recipe for target 'OMCppModelica_trunk_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1CalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1CalcHelperMain.o] Error 1