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.RealFFT1.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.RealFFT1,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.|Phii.1.|Phii.2.|Phii.3.|Phii.4.|Phii.5.|Phii.6.|Phii.7.|Phii.8.|Phii.9.|Phii.10.|Phii.11.|Phii.12.|Phii.13.|Phii.14.|Phii.15.|Phii.16.|Phii.17.|Phii.18.|Phii.19.|Phii.20.|Phii.21.|info|y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1") Notification: Performance of loadModel(Modelica): time 1.783/1.783, allocations: 194.9 MB / 211.7 MB, free: 2.98 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003575/0.0003576, allocations: 8 kB / 263.9 MB, free: 13.56 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07954/0.07993, allocations: 44.51 MB / 308.4 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.327/0.407, allocations: 72.86 MB / 381.3 MB, free: 18.67 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002327/0.4072, allocations: 71.48 kB / 381.4 MB, free: 18.67 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05299/0.4603, allocations: 13.4 MB / 394.8 MB, free: 17.29 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.58e-06/0.4603, allocations: 0 / 394.8 MB, free: 17.29 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.044e-05/0.4603, allocations: 11.62 kB / 394.8 MB, free: 17.29 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.001086/0.4614, allocations: 1.043 MB / 395.8 MB, free: 16.68 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.4615, allocations: 15.69 kB / 395.8 MB, free: 16.67 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000124/0.4616, allocations: 74 kB / 395.9 MB, free: 16.62 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01375/0.4754, allocations: 3.735 MB / 399.6 MB, free: 16.14 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.4754, allocations: 3.781 kB / 399.7 MB, free: 16.14 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.827e-05/0.4755, allocations: 14.47 kB / 399.7 MB, free: 16.14 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.4766, allocations: 0.8568 MB / 400.5 MB, free: 16.1 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.4766, allocations: 0 / 400.5 MB, free: 16.1 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.394e-05/0.4766, allocations: 7.844 kB / 400.5 MB, free: 16.09 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.624e-06/0.4767, allocations: 0 / 400.5 MB, free: 16.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008403/0.4775, allocations: 0.7827 MB / 401.3 MB, free: 16.09 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000404/0.4779, allocations: 423.2 kB / 401.7 MB, free: 15.82 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001648/0.4796, allocations: 2.074 MB / 403.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.4796, allocations: 4 kB / 403.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001197/0.4808, allocations: 1.129 MB / 404.9 MB, free: 15.69 MB / 314.7 MB Notification: Performance of pre-optimization done (n=246): time 2.961e-06/0.4809, allocations: 0 / 404.9 MB, free: 15.69 MB / 314.7 MB Notification: Performance of matching and sorting (n=246): time 0.01003/0.4909, allocations: 5.075 MB / 410 MB, free: 15.45 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002406/0.4912, allocations: 428 kB / 410.4 MB, free: 15.32 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.4914, allocations: 173.2 kB / 410.6 MB, free: 15.21 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002249/0.4916, allocations: 200.2 kB / 410.8 MB, free: 15.18 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.455e-05/0.4917, allocations: 176.8 kB / 411 MB, free: 15.02 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006543/0.4923, allocations: 0.9758 MB / 411.9 MB, free: 14.45 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/0.4925, allocations: 76.5 kB / 412 MB, free: 14.45 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001905/0.4927, allocations: 480.3 kB / 412.5 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001854/0.4946, allocations: 1.089 MB / 413.6 MB, free: 13.87 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00256/0.4971, allocations: 2.82 MB / 416.4 MB, free: 11.32 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003116/0.5003, allocations: 1.651 MB / 418 MB, free: 10.92 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.091e-05/0.5004, allocations: 19.58 kB / 418.1 MB, free: 10.92 MB / 314.7 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.006964/0.5073, allocations: 3.988 MB / 422.1 MB, free: 9.844 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.381e-05/0.5074, allocations: 61.52 kB / 422.1 MB, free: 9.812 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.855e-05/0.5075, allocations: 58.75 kB / 422.2 MB, free: 9.812 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001015/0.5076, allocations: 89.69 kB / 422.3 MB, free: 9.812 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001784/0.5094, allocations: 0.5685 MB / 422.8 MB, free: 9.676 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.801e-05/0.5096, allocations: 124 kB / 422.9 MB, free: 9.637 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0018/0.5114, allocations: 323.1 kB / 423.3 MB, free: 9.477 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002566/0.5116, allocations: 197.5 kB / 423.5 MB, free: 9.477 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 267 * Number of states: 0 () * Number of discrete variables: 93 ($PRE.Phii[21],Phii[21],$PRE.Phii[20],Phii[20],$PRE.Phii[19],Phii[19],$PRE.Phii[18],Phii[18],$PRE.Phii[17],Phii[17],$PRE.Phii[16],Phii[16],$PRE.Phii[15],Phii[15],$PRE.Phii[14],Phii[14],$PRE.Phii[13],Phii[13],$PRE.Phii[12],Phii[12],$PRE.Phii[11],Phii[11],$PRE.Phii[10],Phii[10],$PRE.Phii[9],Phii[9],$PRE.Phii[8],Phii[8],$PRE.Phii[7],Phii[7],$PRE.Phii[6],Phii[6],$PRE.Phii[5],Phii[5],$PRE.Phii[4],Phii[4],$PRE.Phii[3],Phii[3],$PRE.Phii[2],Phii[2],$PRE.Phii[1],Phii[1],$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 (512): * Single equations (assignments): 511 * 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.001063/0.5127, allocations: 0.8453 MB / 424.3 MB, free: 9.074 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002031/0.5129, allocations: 124.4 kB / 424.4 MB, free: 9.023 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.225e-05/0.513, allocations: 13.94 kB / 424.4 MB, free: 9.008 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.803e-06/0.513, allocations: 0 / 424.4 MB, free: 9.008 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.425e-06/0.513, allocations: 3.984 kB / 424.4 MB, free: 9.004 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.802e-06/0.513, allocations: 3.875 kB / 424.4 MB, free: 9.004 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000511/0.5135, allocations: 0.565 MB / 425 MB, free: 8.586 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.5135, allocations: 3.875 kB / 425 MB, free: 8.586 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.34e-06/0.5136, allocations: 3.953 kB / 425 MB, free: 8.582 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.869e-06/0.5136, allocations: 0 / 425 MB, free: 8.582 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001143/0.5137, allocations: 49.7 kB / 425.1 MB, free: 8.578 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.54e-06/0.5137, allocations: 0 / 425.1 MB, free: 8.578 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.908e-06/0.5137, allocations: 3.938 kB / 425.1 MB, free: 8.574 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04175/0.5555, allocations: 22.25 MB / 447.3 MB, free: 6.977 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002505/0.5558, allocations: 183.5 kB / 447.5 MB, free: 6.777 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002531/0.556, allocations: 75.94 kB / 447.6 MB, free: 6.703 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003737/0.5564, allocations: 32 kB / 447.6 MB, free: 6.672 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/0.5566, allocations: 27.98 kB / 447.6 MB, free: 6.645 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001677/0.5568, allocations: 72 kB / 447.7 MB, free: 6.574 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001612/0.557, allocations: 127.2 kB / 447.8 MB, free: 6.449 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.92e-07/0.557, allocations: 0 / 447.8 MB, free: 6.449 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002735/0.5597, allocations: 0.5195 MB / 448.3 MB, free: 5.93 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: 47 ($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],Phii[1],Phii[2],Phii[3],Phii[4],Phii[5],Phii[6],Phii[7],Phii[8],Phii[9],Phii[10],Phii[11],Phii[12],Phii[13],Phii[14],Phii[15],Phii[16],Phii[17],Phii[18],Phii[19],Phii[20],Phii[21],info,iTick,y_buf[200]) * Number of discrete states: 47 (Phii[21],Phii[20],Phii[19],Phii[18],Phii[17],Phii[16],Phii[15],Phii[14],Phii[13],Phii[12],Phii[11],Phii[10],Phii[9],Phii[8],Phii[7],Phii[6],Phii[5],Phii[4],Phii[3],Phii[2],Phii[1],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.00108/0.5608, allocations: 412.1 kB / 448.7 MB, free: 5.578 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.006386/0.5672, allocations: 3.442 MB / 452.2 MB, free: 2.133 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.5673, allocations: 0 / 452.2 MB, free: 2.133 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.05996/0.6272, allocations: 59.48 MB / 0.4997 GB, free: 6.691 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004259/0.6277, allocations: 44.12 kB / 0.4997 GB, free: 6.648 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004266/0.632, allocations: 2.439 MB / 0.5021 GB, free: 4.164 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008654/0.6329, allocations: 1.015 MB / 0.5031 GB, free: 3.121 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003454/0.6333, allocations: 75.44 kB / 0.5032 GB, free: 3.051 MB / 394.7 MB Notification: Performance of SimCode: time 1.638e-06/0.6333, allocations: 0 / 0.5032 GB, free: 3.051 MB / 394.7 MB Notification: Performance of Templates: time 0.0329/0.6662, allocations: 16.38 MB / 0.5192 GB, free: 2.641 MB / 410.7 MB make -j1 -f Modelica_3.2.2_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1.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.RealFFT1CalcHelperMain.o OMCppModelica_3.2.2_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1CalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.2_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1CalcHelperMain.cpp:28:\n./OMCppModelica_3.2.2_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1Functions.cpp:151:48: error: use of undeclared identifier \'_omcQ_24tmpVar0_\'; did you mean \'_omcQ_24tmpVar1_\'?\n Modelica_SIunits_Conversions_to__deg(_omcQ_24tmpVar0_,tmp9);\n ^~~~~~~~~~~~~~~~\n _omcQ_24tmpVar1_\n./OMCppModelica_3.2.2_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1Functions.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.RealFFT1CalcHelperMain.cpp:33:\n./OMCppModelica_3.2.2_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1.cpp:1665:7: warning: expression result unused [-Wunused-value]\n tmp1;\n ^~~~\n1 warning and 1 error generated.\n: recipe for target \'OMCppModelica_3.2.2_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1CalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.2_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1CalcHelperMain.o] Error 1\n'