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.902/1.902, allocations: 194.9 MB / 208.5 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.052e-05/3.059e-05, allocations: 8 kB / 255.4 MB, free: 3.184 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07549/0.07554, allocations: 44.51 MB / 299.9 MB, free: 6.617 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.317/0.3926, allocations: 72.75 MB / 372.6 MB, free: 22.3 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/0.3928, allocations: 72.22 kB / 372.7 MB, free: 22.3 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0539/0.4468, allocations: 13.19 MB / 385.9 MB, free: 20.97 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.52e-06/0.4468, allocations: 0 / 385.9 MB, free: 20.97 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.451e-05/0.4468, allocations: 14.91 kB / 385.9 MB, free: 20.96 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.001066/0.4479, allocations: 0.9666 MB / 386.9 MB, free: 20.38 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.448, allocations: 17.41 kB / 386.9 MB, free: 20.38 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/0.4481, allocations: 74.22 kB / 387 MB, free: 20.33 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01444/0.4626, allocations: 3.703 MB / 390.7 MB, free: 19.76 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.4626, allocations: 7.531 kB / 390.7 MB, free: 19.76 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.558e-05/0.4627, allocations: 7.812 kB / 390.7 MB, free: 19.76 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009961/0.4637, allocations: 0.7855 MB / 391.5 MB, free: 19.72 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.353e-06/0.4637, allocations: 0 / 391.5 MB, free: 19.72 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.302e-05/0.4638, allocations: 0 / 391.5 MB, free: 19.72 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.825e-06/0.4638, allocations: 7.844 kB / 391.5 MB, free: 19.71 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007854/0.4646, allocations: 0.6976 MB / 392.2 MB, free: 19.71 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004171/0.465, allocations: 404.7 kB / 392.6 MB, free: 19.45 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001408/0.4665, allocations: 1.808 MB / 394.4 MB, free: 19.42 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001419/0.4679, allocations: 1.792 MB / 396.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.4679, allocations: 0 / 396.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001085/0.469, allocations: 1.025 MB / 397.2 MB, free: 19.32 MB / 314.7 MB Notification: Performance of pre-optimization done (n=225): time 4.581e-06/0.4691, allocations: 0 / 397.2 MB, free: 19.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=225): time 0.007319/0.4764, allocations: 2.045 MB / 399.2 MB, free: 19.17 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000222/0.4766, allocations: 405.7 kB / 399.6 MB, free: 19.02 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.4769, allocations: 170.8 kB / 399.8 MB, free: 18.91 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000212/0.4771, allocations: 184.9 kB / 400 MB, free: 18.88 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.482e-05/0.4772, allocations: 175.7 kB / 400.1 MB, free: 18.73 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006601/0.4778, allocations: 0.918 MB / 401.1 MB, free: 18.16 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/0.478, allocations: 75.28 kB / 401.1 MB, free: 18.16 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.4782, allocations: 465.1 kB / 401.6 MB, free: 17.85 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001772/0.48, allocations: 0.9909 MB / 402.6 MB, free: 17.84 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00246/0.4824, allocations: 2.557 MB / 405.1 MB, free: 15.82 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002604/0.4851, allocations: 1.521 MB / 406.7 MB, free: 15.65 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.06e-05/0.4851, allocations: 19.28 kB / 406.7 MB, free: 15.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.007371/0.4925, allocations: 3.501 MB / 410.2 MB, free: 15.21 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.863e-05/0.4927, allocations: 60.33 kB / 410.2 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.961e-05/0.4927, allocations: 59.55 kB / 410.3 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001065/0.4929, allocations: 82.22 kB / 410.4 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001908/0.4948, allocations: 0.5284 MB / 410.9 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001137/0.4949, allocations: 109.1 kB / 411 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001878/0.4968, allocations: 297.4 kB / 411.3 MB, free: 14.94 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003232/0.4972, allocations: 178.7 kB / 411.5 MB, free: 14.94 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.0008628/0.498, allocations: 0.6568 MB / 412.1 MB, free: 14.69 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002197/0.4983, allocations: 109.1 kB / 412.2 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.64e-05/0.4983, allocations: 13.16 kB / 412.2 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.903e-06/0.4983, allocations: 0 / 412.2 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.862e-06/0.4983, allocations: 0 / 412.2 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.4984, allocations: 3.906 kB / 412.3 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004882/0.4989, allocations: 0.5321 MB / 412.8 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.895e-06/0.4989, allocations: 7.797 kB / 412.8 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.935e-06/0.4989, allocations: 0 / 412.8 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.728e-06/0.4989, allocations: 0 / 412.8 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001081/0.499, allocations: 46.3 kB / 412.8 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.499, allocations: 0 / 412.8 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.499, allocations: 0 / 412.8 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0218/0.5209, allocations: 21.74 MB / 434.6 MB, free: 5.117 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/0.5211, allocations: 179.7 kB / 434.7 MB, free: 4.922 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001835/0.5213, allocations: 47.97 kB / 434.8 MB, free: 4.875 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003599/0.5216, allocations: 32 kB / 434.8 MB, free: 4.844 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.5218, allocations: 24 kB / 434.8 MB, free: 4.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001305/0.5219, allocations: 63.98 kB / 434.9 MB, free: 4.758 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001187/0.5221, allocations: 128.3 kB / 435 MB, free: 4.633 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.81e-07/0.5221, allocations: 3.938 kB / 435 MB, free: 4.629 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002324/0.5244, allocations: 0.4921 MB / 435.5 MB, free: 4.137 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.000901/0.5253, allocations: 366.6 kB / 435.9 MB, free: 3.812 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004687/0.53, allocations: 3.071 MB / 439 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.821e-06/0.5301, allocations: 0 / 439 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.05226/0.5824, allocations: 52.35 MB / 491.3 MB, free: 12.36 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004012/0.5828, allocations: 32.19 kB / 491.3 MB, free: 12.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003561/0.5864, allocations: 1.867 MB / 493.2 MB, free: 10.42 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000831/0.5873, allocations: 0.9991 MB / 494.2 MB, free: 9.391 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003279/0.5876, allocations: 67.44 kB / 494.3 MB, free: 9.328 MB / 378.7 MB Notification: Performance of SimCode: time 1.829e-06/0.5876, allocations: 4 kB / 494.3 MB, free: 9.324 MB / 378.7 MB Notification: Performance of Templates: time 0.03133/0.6189, allocations: 15.13 MB / 0.4975 GB, free: 10.17 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/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 '_omcQuot_24746D7056617230_'; did you mean '_omcQuot_24746D7056617231_'? Modelica_SIunits_Conversions_to__deg(_omcQuot_24746D7056617230_,tmp10); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D7056617231_ ./OMCppModelica_3.2.2_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2Functions.cpp:124:14: note: '_omcQuot_24746D7056617231_' declared here double _omcQuot_24746D7056617231_; ^ 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