Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) 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.812/1.812, allocations: 194.9 MB / 211.7 MB, free: 2.98 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003728/0.000373, allocations: 12 kB / 263.9 MB, free: 13.57 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07886/0.07926, allocations: 44.51 MB / 308.4 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3297/0.409, allocations: 72.86 MB / 381.3 MB, free: 18.75 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002149/0.4092, allocations: 71.78 kB / 381.4 MB, free: 18.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05185/0.4611, allocations: 13.25 MB / 394.6 MB, free: 17.4 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.159e-06/0.4611, allocations: 0 / 394.6 MB, free: 17.4 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.851e-05/0.4612, allocations: 11.59 kB / 394.6 MB, free: 17.4 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.001026/0.4622, allocations: 0.9875 MB / 395.6 MB, free: 16.8 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.4623, allocations: 15.69 kB / 395.6 MB, free: 16.79 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001131/0.4624, allocations: 66.19 kB / 395.7 MB, free: 16.75 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01341/0.4758, allocations: 3.716 MB / 399.4 MB, free: 16.29 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.4759, allocations: 15.19 kB / 399.4 MB, free: 16.28 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.403e-05/0.4759, allocations: 7.781 kB / 399.4 MB, free: 16.28 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000951/0.4769, allocations: 0.7902 MB / 400.2 MB, free: 16.23 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.4769, allocations: 0 / 400.2 MB, free: 16.23 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.079e-05/0.477, allocations: 3.938 kB / 400.2 MB, free: 16.23 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.477, allocations: 0 / 400.2 MB, free: 16.23 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007998/0.4778, allocations: 0.709 MB / 400.9 MB, free: 16.23 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000427/0.4782, allocations: 406.9 kB / 401.3 MB, free: 15.96 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/0.4797, allocations: 1.814 MB / 403.2 MB, free: 15.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.773e-06/0.4797, allocations: 0 / 403.2 MB, free: 15.93 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001058/0.4808, allocations: 1.023 MB / 404.2 MB, free: 15.84 MB / 314.7 MB Notification: Performance of pre-optimization done (n=225): time 3.757e-06/0.4808, allocations: 3.984 kB / 404.2 MB, free: 15.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=225): time 0.009328/0.4901, allocations: 4.517 MB / 408.7 MB, free: 15.6 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002323/0.4904, allocations: 408.5 kB / 409.1 MB, free: 15.46 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.4906, allocations: 170 kB / 409.3 MB, free: 15.36 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002273/0.4908, allocations: 184.6 kB / 409.4 MB, free: 15.32 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.487e-05/0.4909, allocations: 178.9 kB / 409.6 MB, free: 15.17 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006505/0.4916, allocations: 0.92 MB / 410.5 MB, free: 14.62 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.4917, allocations: 73.16 kB / 410.6 MB, free: 14.62 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.4919, allocations: 467.6 kB / 411.1 MB, free: 14.31 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001734/0.4936, allocations: 1.016 MB / 412.1 MB, free: 14.19 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002376/0.496, allocations: 2.601 MB / 414.7 MB, free: 11.88 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002482/0.4985, allocations: 1.527 MB / 416.2 MB, free: 11.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.764e-05/0.4986, allocations: 19.64 kB / 416.2 MB, free: 11.51 MB / 314.7 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.006866/0.5055, allocations: 3.698 MB / 419.9 MB, free: 10.51 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.55e-05/0.5056, allocations: 57.33 kB / 420 MB, free: 10.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.341e-05/0.5057, allocations: 53.44 kB / 420 MB, free: 10.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.216e-05/0.5058, allocations: 84.16 kB / 420.1 MB, free: 10.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001653/0.5075, allocations: 0.528 MB / 420.6 MB, free: 10.35 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.585e-05/0.5076, allocations: 105.6 kB / 420.7 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/0.5092, allocations: 303.8 kB / 421 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002314/0.5095, allocations: 178.8 kB / 421.2 MB, free: 10.16 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 () * Number of clocked 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.0009801/0.5105, allocations: 0.7677 MB / 422 MB, free: 9.785 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001971/0.5107, allocations: 117.7 kB / 422.1 MB, free: 9.734 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.276e-05/0.5107, allocations: 13.16 kB / 422.1 MB, free: 9.715 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.564e-06/0.5107, allocations: 0 / 422.1 MB, free: 9.715 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.742e-06/0.5108, allocations: 0 / 422.1 MB, free: 9.715 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.5108, allocations: 7.875 kB / 422.1 MB, free: 9.711 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004866/0.5113, allocations: 0.5299 MB / 422.7 MB, free: 9.316 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.345e-06/0.5113, allocations: 0 / 422.7 MB, free: 9.316 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.101e-06/0.5113, allocations: 3.953 kB / 422.7 MB, free: 9.312 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.114e-06/0.5113, allocations: 0 / 422.7 MB, free: 9.312 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001059/0.5114, allocations: 36.56 kB / 422.7 MB, free: 9.312 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.79e-06/0.5114, allocations: 0 / 422.7 MB, free: 9.312 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.5115, allocations: 3.984 kB / 422.7 MB, free: 9.309 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03062/0.5421, allocations: 21.78 MB / 444.5 MB, free: 9.945 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003373/0.5425, allocations: 171.7 kB / 444.6 MB, free: 9.758 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003197/0.5428, allocations: 51.92 kB / 444.7 MB, free: 9.707 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005656/0.5434, allocations: 32 kB / 444.7 MB, free: 9.676 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002074/0.5436, allocations: 23.94 kB / 444.7 MB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002475/0.5439, allocations: 71.98 kB / 444.8 MB, free: 9.582 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002271/0.5441, allocations: 127.2 kB / 444.9 MB, free: 9.457 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.58e-07/0.5441, allocations: 0 / 444.9 MB, free: 9.457 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.004079/0.5482, allocations: 495.9 kB / 445.4 MB, free: 8.973 MB / 330.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) * Number of clocked states: 0 () * 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.001469/0.5497, allocations: 369.3 kB / 445.8 MB, free: 8.66 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.008953/0.5587, allocations: 3.179 MB / 449 MB, free: 5.48 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.369e-06/0.5588, allocations: 7.938 kB / 449 MB, free: 5.473 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.05627/0.6151, allocations: 52.37 MB / 0.4896 GB, free: 1.113 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003984/0.6155, allocations: 40.12 kB / 0.4896 GB, free: 1.074 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004197/0.6197, allocations: 2.298 MB / 0.4919 GB, free: 14.73 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008102/0.6206, allocations: 0.9913 MB / 0.4928 GB, free: 13.71 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002945/0.6209, allocations: 67.44 kB / 0.4929 GB, free: 13.65 MB / 394.7 MB Notification: Performance of SimCode: time 1.863e-06/0.6209, allocations: 4 kB / 0.4929 GB, free: 13.64 MB / 394.7 MB Notification: Performance of Templates: time 0.03089/0.6518, allocations: 15.28 MB / 0.5078 GB, free: 14.34 MB / 410.7 MB make -j1 -f Modelica_3.2.2_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2.makefile b'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\nIn file included from OMCppModelica_3.2.2_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2CalcHelperMain.cpp:28:\n./OMCppModelica_3.2.2_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2Functions.cpp:151:48: error: use of undeclared identifier \'_omcQ_24tmpVar0_\'; did you mean \'_omcQ_24tmpVar1_\'?\n Modelica_SIunits_Conversions_to__deg(_omcQ_24tmpVar0_,tmp10);\n ^~~~~~~~~~~~~~~~\n _omcQ_24tmpVar1_\n./OMCppModelica_3.2.2_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2Functions.cpp:124:14: note: \'_omcQ_24tmpVar1_\' declared here\n double _omcQ_24tmpVar1_;\n ^\nIn file included from OMCppModelica_3.2.2_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2CalcHelperMain.cpp:33:\n./OMCppModelica_3.2.2_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2.cpp:1541:7: warning: expression result unused [-Wunused-value]\n tmp2;\n ^~~~\n1 warning and 1 error generated.\n: recipe for target \'OMCppModelica_3.2.2_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2CalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.2_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2CalcHelperMain.o] Error 1\n'