Running command: translateModel(Modelica.Math.FastFourierTransform.Examples.RealFFT2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2") Notification: Performance of loadModel(Modelica): time 2.018/2.018, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.85e-05/2.864e-05, allocations: 4 kB / 292.1 MB, free: 8.875 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09159/0.09164, allocations: 50.42 MB / 342.5 MB, free: 6.43 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3643/0.4559, allocations: 78.36 MB / 420.9 MB, free: 15.75 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/0.4562, allocations: 74.7 kB / 421 MB, free: 15.71 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05916/0.5154, allocations: 13.57 MB / 434.6 MB, free: 4.281 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.271e-06/0.5155, allocations: 0 / 434.6 MB, free: 4.281 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.35e-05/0.5155, allocations: 11.56 kB / 434.6 MB, free: 4.273 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.001262/0.5168, allocations: 0.9607 MB / 435.5 MB, free: 3.305 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.5168, allocations: 12.03 kB / 435.5 MB, free: 3.293 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001321/0.517, allocations: 67.02 kB / 435.6 MB, free: 3.227 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01522/0.5322, allocations: 3.743 MB / 439.3 MB, free: 84 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.5323, allocations: 11.94 kB / 439.4 MB, free: 76 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.005e-05/0.5323, allocations: 8 kB / 439.4 MB, free: 68 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/0.5335, allocations: 0.7784 MB / 440.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.68e-06/0.5335, allocations: 0 / 440.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.215e-05/0.5336, allocations: 4 kB / 440.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.5336, allocations: 3.953 kB / 440.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009094/0.5345, allocations: 0.7039 MB / 440.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005397/0.5351, allocations: 398.2 kB / 441.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/0.5367, allocations: 1.812 MB / 443.1 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001931/0.5386, allocations: 1.8 MB / 444.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.84e-06/0.5386, allocations: 7.984 kB / 444.9 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001892/0.5406, allocations: 1.021 MB / 445.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of pre-optimization done (n=225): time 5.89e-06/0.5406, allocations: 0 / 445.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=225): time 0.0166/0.5572, allocations: 2.041 MB / 447.9 MB, free: 9.598 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007191/0.558, allocations: 400.5 kB / 448.3 MB, free: 9.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004385/0.5585, allocations: 173.8 kB / 448.5 MB, free: 9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005894/0.5591, allocations: 189.6 kB / 448.7 MB, free: 8.809 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.5593, allocations: 170.3 kB / 448.8 MB, free: 8.641 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001893/0.5612, allocations: 0.9216 MB / 449.8 MB, free: 7.707 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003411/0.5616, allocations: 72 kB / 449.8 MB, free: 7.637 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0005714/0.5622, allocations: 462.7 kB / 450.3 MB, free: 7.176 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004314/0.5665, allocations: 0.9948 MB / 451.3 MB, free: 6.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006894/0.5735, allocations: 2.562 MB / 453.8 MB, free: 2.867 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006199/0.5797, allocations: 1.511 MB / 455.3 MB, free: 1.348 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.928e-05/0.5799, allocations: 16 kB / 455.4 MB, free: 1.332 MB / 362.7 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.01616/0.596, allocations: 3.502 MB / 458.9 MB, free: 13.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001734/0.5963, allocations: 57.7 kB / 458.9 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000164/0.5965, allocations: 52 kB / 459 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002611/0.5968, allocations: 87.94 kB / 459.1 MB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003959/0.6007, allocations: 0.519 MB / 459.6 MB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002738/0.6011, allocations: 115.6 kB / 459.7 MB, free: 12.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004135/0.6052, allocations: 305.1 kB / 460 MB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008133/0.6061, allocations: 176 kB / 460.2 MB, free: 12.51 MB / 378.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.001988/0.6081, allocations: 0.6513 MB / 460.8 MB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004775/0.6086, allocations: 111 kB / 460.9 MB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.873e-05/0.6087, allocations: 13.16 kB / 460.9 MB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/0.6087, allocations: 0 / 460.9 MB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.279e-06/0.6087, allocations: 3.938 kB / 460.9 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.846e-06/0.6088, allocations: 4 kB / 460.9 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/0.6103, allocations: 0.5329 MB / 461.5 MB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.429e-06/0.6103, allocations: 4 kB / 461.5 MB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.768e-06/0.6104, allocations: 4 kB / 461.5 MB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.96e-06/0.6104, allocations: 0 / 461.5 MB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002724/0.6107, allocations: 40 kB / 461.5 MB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.01e-05/0.6107, allocations: 3.984 kB / 461.5 MB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.763e-06/0.6107, allocations: 0 / 461.5 MB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06041/0.6712, allocations: 21.75 MB / 483.3 MB, free: 5.293 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003891/0.6716, allocations: 171.7 kB / 483.4 MB, free: 5.105 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003752/0.672, allocations: 56 kB / 483.5 MB, free: 5.051 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006721/0.6727, allocations: 28 kB / 483.5 MB, free: 5.023 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000212/0.6729, allocations: 24 kB / 483.5 MB, free: 5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002802/0.6732, allocations: 63.98 kB / 483.6 MB, free: 4.938 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00026/0.6735, allocations: 132.3 kB / 483.7 MB, free: 4.809 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.132e-06/0.6736, allocations: 0 / 483.7 MB, free: 4.809 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004482/0.6781, allocations: 500 kB / 484.2 MB, free: 4.32 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: 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.001752/0.6798, allocations: 398.3 kB / 484.6 MB, free: 3.988 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01013/0.69, allocations: 3.075 MB / 487.7 MB, free: 0.9102 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.056e-06/0.6901, allocations: 3.938 kB / 487.7 MB, free: 0.9062 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.307/0.9971, allocations: 52.35 MB / 0.5274 GB, free: 155.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003729/0.9975, allocations: 35.23 kB / 0.5274 GB, free: 155.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003376/1.001, allocations: 1.868 MB / 0.5292 GB, free: 155.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005946/1.002, allocations: 0.9955 MB / 0.5302 GB, free: 154.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003014/1.002, allocations: 68.38 kB / 0.5303 GB, free: 154.5 MB / 442.7 MB Notification: Performance of SimCode: time 1.723e-06/1.002, allocations: 0 / 0.5303 GB, free: 154.5 MB / 442.7 MB Notification: Performance of Templates: time 0.02889/1.031, allocations: 15.19 MB / 0.5451 GB, free: 150.2 MB / 442.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2.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.RealFFT2CalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2CalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2CalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2Functions.cpp:202:46: error: use of undeclared identifier '_omcQuot_24746D7056617230_'; did you mean '_omcQuot_24746D7056617231_'? Modelica_Units_Conversions_to__deg(_omcQuot_24746D7056617230_,tmp10); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D7056617231_ ./OMCppModelica_trunk_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2Functions.cpp:175:14: note: '_omcQuot_24746D7056617231_' declared here double _omcQuot_24746D7056617231_; ^ ./OMCppModelica_trunk_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2Functions.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.RealFFT2CalcHelperMain.cpp:33: ./OMCppModelica_trunk_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2.cpp:1541:7: warning: expression result unused [-Wunused-value] tmp2; ^~~~ 1 warning and 2 errors generated. : recipe for target 'OMCppModelica_trunk_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2CalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2CalcHelperMain.o] Error 1