Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 2.125/2.125, allocations: 194.8 MB / 212.3 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005566/0.0005567, allocations: 12 kB / 264.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09669/0.09728, allocations: 44.5 MB / 309 MB, free: 1.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4838/0.5811, allocations: 72.85 MB / 381.8 MB, free: 14.89 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003613/0.5815, allocations: 78.64 kB / 381.9 MB, free: 14.89 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08714/0.6687, allocations: 13.25 MB / 395.1 MB, free: 13.55 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.6687, allocations: 0 / 395.1 MB, free: 13.55 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.605e-05/0.6688, allocations: 11.69 kB / 395.1 MB, free: 13.55 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.001731/0.6705, allocations: 0.9918 MB / 396.1 MB, free: 12.95 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.6706, allocations: 11.66 kB / 396.2 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001997/0.6708, allocations: 70.28 kB / 396.2 MB, free: 12.9 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02237/0.6932, allocations: 3.724 MB / 399.9 MB, free: 12.43 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.6933, allocations: 6.531 kB / 399.9 MB, free: 12.43 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.234e-05/0.6934, allocations: 10.97 kB / 400 MB, free: 12.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001778/0.6952, allocations: 0.7867 MB / 400.7 MB, free: 12.39 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.6953, allocations: 7.875 kB / 400.8 MB, free: 12.38 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.257e-05/0.6953, allocations: 1.5 kB / 400.8 MB, free: 12.38 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.6954, allocations: 5.5 kB / 400.8 MB, free: 12.38 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001474/0.6968, allocations: 0.7059 MB / 401.5 MB, free: 12.37 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007777/0.6977, allocations: 402.9 kB / 401.9 MB, free: 12.1 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002454/0.7002, allocations: 1.808 MB / 403.7 MB, free: 12.08 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.7003, allocations: 0 / 403.7 MB, free: 12.08 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002148/0.7024, allocations: 1.037 MB / 404.7 MB, free: 11.98 MB / 314.7 MB Notification: Performance of pre-optimization done (n=225): time 4.879e-06/0.7025, allocations: 4 kB / 404.7 MB, free: 11.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=225): time 0.01336/0.7159, allocations: 4.526 MB / 409.2 MB, free: 11.56 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002703/0.7162, allocations: 406.4 kB / 409.6 MB, free: 11.38 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000265/0.7165, allocations: 185.5 kB / 409.8 MB, free: 11.25 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003185/0.7168, allocations: 183.1 kB / 410 MB, free: 11.19 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.671e-05/0.7169, allocations: 176.1 kB / 410.2 MB, free: 11.03 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009738/0.7179, allocations: 0.9198 MB / 411.1 MB, free: 10.39 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002165/0.7181, allocations: 75.5 kB / 411.2 MB, free: 10.39 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002746/0.7184, allocations: 466.8 kB / 411.6 MB, free: 10.03 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002446/0.7209, allocations: 1.013 MB / 412.6 MB, free: 9.801 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003617/0.7245, allocations: 2.616 MB / 415.2 MB, free: 7.484 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003517/0.7281, allocations: 1.542 MB / 416.8 MB, free: 7.102 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.578e-05/0.7282, allocations: 15.53 kB / 416.8 MB, free: 7.102 MB / 314.7 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.009181/0.7374, allocations: 3.692 MB / 420.5 MB, free: 6.102 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.683e-05/0.7376, allocations: 64.33 kB / 420.6 MB, free: 6.066 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-05/0.7377, allocations: 50.62 kB / 420.6 MB, free: 6.066 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00011/0.7378, allocations: 89.33 kB / 420.7 MB, free: 6.062 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002787/0.7406, allocations: 0.5181 MB / 421.2 MB, free: 5.941 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001202/0.7407, allocations: 110.6 kB / 421.3 MB, free: 5.906 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00225/0.743, allocations: 301.7 kB / 421.6 MB, free: 5.758 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000491/0.7436, allocations: 179 kB / 421.8 MB, free: 5.758 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.00136/0.7449, allocations: 0.7745 MB / 422.6 MB, free: 5.375 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002536/0.7452, allocations: 108.9 kB / 422.7 MB, free: 5.332 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.25e-05/0.7452, allocations: 17.16 kB / 422.7 MB, free: 5.312 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.7453, allocations: 0 / 422.7 MB, free: 5.312 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.7453, allocations: 3.844 kB / 422.7 MB, free: 5.312 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.7453, allocations: 0 / 422.7 MB, free: 5.312 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006085/0.7459, allocations: 0.5266 MB / 423.2 MB, free: 4.914 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.7459, allocations: 3.953 kB / 423.2 MB, free: 4.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.234e-06/0.7459, allocations: 3.875 kB / 423.2 MB, free: 4.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.746, allocations: 3.938 kB / 423.2 MB, free: 4.906 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/0.7461, allocations: 42.34 kB / 423.3 MB, free: 4.906 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.7461, allocations: 0 / 423.3 MB, free: 4.906 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.7461, allocations: 0 / 423.3 MB, free: 4.906 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03152/0.7776, allocations: 21.79 MB / 445.1 MB, free: 4.809 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002777/0.778, allocations: 171.7 kB / 445.2 MB, free: 4.621 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003706/0.7783, allocations: 47.97 kB / 445.3 MB, free: 4.574 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004748/0.7788, allocations: 32 kB / 445.3 MB, free: 4.543 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001794/0.779, allocations: 24 kB / 445.3 MB, free: 4.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001688/0.7792, allocations: 63.98 kB / 445.4 MB, free: 4.457 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001846/0.7794, allocations: 127.2 kB / 445.5 MB, free: 4.332 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.7794, allocations: 4.031 kB / 445.5 MB, free: 4.328 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002943/0.7824, allocations: 499.9 kB / 446 MB, free: 3.84 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.001192/0.7836, allocations: 374.1 kB / 446.4 MB, free: 3.523 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00764/0.7913, allocations: 3.182 MB / 449.6 MB, free: 344 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/0.7913, allocations: 2 kB / 449.6 MB, free: 344 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.06596/0.8573, allocations: 52.37 MB / 0.4902 GB, free: 11.97 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005744/0.858, allocations: 39.28 kB / 0.4902 GB, free: 11.94 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00642/0.8644, allocations: 2.328 MB / 0.4925 GB, free: 9.566 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001121/0.8656, allocations: 0.9952 MB / 0.4934 GB, free: 8.547 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004933/0.8661, allocations: 67.44 kB / 0.4935 GB, free: 8.484 MB / 394.7 MB Notification: Performance of SimCode: time 1.623e-06/0.8661, allocations: 4 kB / 0.4935 GB, free: 8.48 MB / 394.7 MB Notification: Performance of Templates: time 0.0522/0.9183, allocations: 15.29 MB / 0.5084 GB, free: 9.164 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=5 -DSUNDIALS_MINOR_VERSION=4 -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\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'