Running command: translateModel(Modelica.Math.FastFourierTransform.Examples.RealFFT2,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.|info|y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2") Notification: Performance of loadModel(Modelica): time 1.866/1.866, allocations: 194.9 MB / 208.4 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.89e-05/2.907e-05, allocations: 3.375 kB / 255.3 MB, free: 3.18 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07711/0.07716, allocations: 44.5 MB / 299.8 MB, free: 6.625 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3188/0.396, allocations: 72.75 MB / 372.6 MB, free: 22.13 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/0.3963, allocations: 73.47 kB / 372.7 MB, free: 22.13 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05424/0.4505, allocations: 13.18 MB / 385.9 MB, free: 20.8 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.88e-06/0.4506, allocations: 3.938 kB / 385.9 MB, free: 20.8 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.627e-05/0.4506, allocations: 13 kB / 385.9 MB, free: 20.8 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.001038/0.4517, allocations: 0.9719 MB / 386.8 MB, free: 20.21 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.4517, allocations: 9.531 kB / 386.8 MB, free: 20.21 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/0.4518, allocations: 66.5 kB / 386.9 MB, free: 20.17 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01399/0.4658, allocations: 3.714 MB / 390.6 MB, free: 19.6 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.4659, allocations: 7.281 kB / 390.6 MB, free: 19.6 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.96e-05/0.466, allocations: 11.38 kB / 390.6 MB, free: 19.6 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009846/0.467, allocations: 0.7806 MB / 391.4 MB, free: 19.56 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.079e-06/0.467, allocations: 0 / 391.4 MB, free: 19.56 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.188e-05/0.467, allocations: 0 / 391.4 MB, free: 19.56 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.302e-06/0.4671, allocations: 3.906 kB / 391.4 MB, free: 19.56 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007672/0.4678, allocations: 0.7044 MB / 392.1 MB, free: 19.55 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004182/0.4683, allocations: 401.7 kB / 392.5 MB, free: 19.29 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001374/0.4697, allocations: 1.811 MB / 394.3 MB, free: 19.26 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001382/0.4711, allocations: 1.791 MB / 396.1 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.4711, allocations: 0 / 396.1 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001051/0.4722, allocations: 1.03 MB / 397.2 MB, free: 19.16 MB / 314.7 MB Notification: Performance of pre-optimization done (n=225): time 2.757e-06/0.4722, allocations: 4 kB / 397.2 MB, free: 19.15 MB / 314.7 MB Notification: Performance of matching and sorting (n=225): time 0.007434/0.4796, allocations: 2.041 MB / 399.2 MB, free: 19.01 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000219/0.4799, allocations: 400.2 kB / 399.6 MB, free: 18.86 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.4801, allocations: 167.9 kB / 399.8 MB, free: 18.76 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002229/0.4803, allocations: 186.5 kB / 399.9 MB, free: 18.73 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.411e-05/0.4804, allocations: 176.3 kB / 400.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006517/0.4811, allocations: 0.9202 MB / 401 MB, free: 18.01 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.4812, allocations: 68.66 kB / 401.1 MB, free: 18.01 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.4814, allocations: 473 kB / 401.6 MB, free: 17.69 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001704/0.4831, allocations: 0.9915 MB / 402.6 MB, free: 17.68 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002384/0.4855, allocations: 2.574 MB / 405.1 MB, free: 15.65 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002585/0.4881, allocations: 1.526 MB / 406.7 MB, free: 15.48 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.793e-05/0.4882, allocations: 15.5 kB / 406.7 MB, free: 15.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.007235/0.4955, allocations: 3.651 MB / 410.3 MB, free: 14.98 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.329e-05/0.4956, allocations: 57.08 kB / 410.4 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-05/0.4957, allocations: 54.88 kB / 410.4 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001029/0.4958, allocations: 86.22 kB / 410.5 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001902/0.4977, allocations: 0.5209 MB / 411 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.751e-05/0.4978, allocations: 110.5 kB / 411.1 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001802/0.4997, allocations: 298.2 kB / 411.4 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002656/0.4999, allocations: 182.4 kB / 411.6 MB, free: 14.71 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.0008372/0.5008, allocations: 0.6546 MB / 412.3 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002126/0.501, allocations: 113.2 kB / 412.4 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.687e-05/0.5011, allocations: 13.16 kB / 412.4 MB, free: 14.4 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.386e-06/0.5011, allocations: 0 / 412.4 MB, free: 14.4 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.5011, allocations: 7.656 kB / 412.4 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.087e-06/0.5011, allocations: 0 / 412.4 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000495/0.5016, allocations: 0.5255 MB / 412.9 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.261e-06/0.5016, allocations: 7.938 kB / 412.9 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.83e-06/0.5016, allocations: 0 / 412.9 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.5017, allocations: 0 / 412.9 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001101/0.5018, allocations: 46.86 kB / 413 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.963e-06/0.5018, allocations: 0 / 413 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.061e-06/0.5018, allocations: 0 / 413 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02215/0.524, allocations: 21.74 MB / 434.7 MB, free: 4.961 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001778/0.5242, allocations: 179.6 kB / 434.9 MB, free: 4.766 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001904/0.5244, allocations: 43.98 kB / 434.9 MB, free: 4.723 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003529/0.5248, allocations: 32 kB / 435 MB, free: 4.691 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/0.5249, allocations: 27.98 kB / 435 MB, free: 4.664 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001317/0.5251, allocations: 64 kB / 435.1 MB, free: 4.602 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001158/0.5252, allocations: 128.3 kB / 435.2 MB, free: 4.477 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.662e-06/0.5252, allocations: 0 / 435.2 MB, free: 4.477 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002437/0.5276, allocations: 499.9 kB / 435.7 MB, free: 3.988 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: 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.0008729/0.5285, allocations: 368.1 kB / 436 MB, free: 3.664 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00472/0.5333, allocations: 3.151 MB / 439.2 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.129e-06/0.5333, allocations: 1.875 kB / 439.2 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.05252/0.5858, allocations: 52.35 MB / 491.5 MB, free: 12.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004112/0.5863, allocations: 36.19 kB / 491.6 MB, free: 12.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003628/0.59, allocations: 1.867 MB / 493.4 MB, free: 10.19 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008198/0.5908, allocations: 0.9991 MB / 494.4 MB, free: 9.156 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003044/0.5911, allocations: 67.44 kB / 494.5 MB, free: 9.094 MB / 378.7 MB Notification: Performance of SimCode: time 1.947e-06/0.5911, allocations: 0 / 494.5 MB, free: 9.094 MB / 378.7 MB Notification: Performance of Templates: time 0.03199/0.6231, allocations: 15.25 MB / 0.4978 GB, free: 9.816 MB / 394.7 MB make -j1 -f Modelica_3.2.2_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@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.RealFFT2CalcHelperMain.o OMCppModelica_3.2.2_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2CalcHelperMain.cpp In file included from OMCppModelica_3.2.2_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2CalcHelperMain.cpp:28: ./OMCppModelica_3.2.2_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2Functions.cpp:151:48: error: use of undeclared identifier 'D_24tmpVar0_'; did you mean 'D_24tmpVar1_'? Modelica_SIunits_Conversions_to__deg(D_24tmpVar0_,tmp10); ^~~~~~~~~~~~ D_24tmpVar1_ ./OMCppModelica_3.2.2_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2Functions.cpp:124:14: note: 'D_24tmpVar1_' declared here double D_24tmpVar1_; ^ In file included from OMCppModelica_3.2.2_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2CalcHelperMain.cpp:33: ./OMCppModelica_3.2.2_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2.cpp:1541:7: warning: expression result unused [-Wunused-value] tmp2; ^~~~ 1 warning and 1 error generated. : recipe for target 'OMCppModelica_3.2.2_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2CalcHelperMain.o' failed make: *** [OMCppModelica_3.2.2_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2CalcHelperMain.o] Error 1