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.RealFFT1.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.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.986/1.986, allocations: 194.8 MB / 212.3 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003792/0.0003792, allocations: 8 kB / 264.5 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09677/0.09717, allocations: 44.5 MB / 309 MB, free: 1.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.445/0.5423, allocations: 72.85 MB / 381.8 MB, free: 14.87 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003995/0.5427, allocations: 78.27 kB / 381.9 MB, free: 14.87 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1273/0.6701, allocations: 13.41 MB / 395.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.6701, allocations: 0 / 395.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.113e-05/0.6702, allocations: 11.66 kB / 395.3 MB, free: 13.49 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.001491/0.6717, allocations: 1.051 MB / 396.4 MB, free: 12.86 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.6717, allocations: 7.5 kB / 396.4 MB, free: 12.86 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001929/0.6719, allocations: 77.28 kB / 396.4 MB, free: 12.82 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01539/0.6873, allocations: 3.73 MB / 400.2 MB, free: 12.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.6874, allocations: 7.125 kB / 400.2 MB, free: 12.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.928e-05/0.6875, allocations: 11.09 kB / 400.2 MB, free: 12.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/0.6888, allocations: 0.86 MB / 401.1 MB, free: 12.3 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.6888, allocations: 7.938 kB / 401.1 MB, free: 12.29 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.611e-05/0.6888, allocations: 3.812 kB / 401.1 MB, free: 12.29 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.6888, allocations: 0 / 401.1 MB, free: 12.29 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009733/0.6898, allocations: 0.7751 MB / 401.8 MB, free: 12.29 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005213/0.6904, allocations: 419.9 kB / 402.3 MB, free: 12.01 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001932/0.6923, allocations: 2.086 MB / 404.3 MB, free: 11.98 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.6924, allocations: 0 / 404.3 MB, free: 11.98 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001411/0.6938, allocations: 1.122 MB / 405.5 MB, free: 11.89 MB / 314.7 MB Notification: Performance of pre-optimization done (n=246): time 4.669e-06/0.6938, allocations: 0 / 405.5 MB, free: 11.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=246): time 0.01174/0.7056, allocations: 5.09 MB / 410.5 MB, free: 11.37 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002936/0.7059, allocations: 431.7 kB / 411 MB, free: 11.18 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002488/0.7062, allocations: 194.2 kB / 411.2 MB, free: 11.05 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003515/0.7066, allocations: 196.3 kB / 411.3 MB, free: 10.99 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.406e-05/0.7066, allocations: 177.3 kB / 411.5 MB, free: 10.82 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001024/0.7077, allocations: 0.9731 MB / 412.5 MB, free: 10.16 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002517/0.7079, allocations: 80.72 kB / 412.6 MB, free: 10.16 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002462/0.7082, allocations: 477 kB / 413 MB, free: 9.797 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002722/0.7109, allocations: 1.094 MB / 414.1 MB, free: 9.539 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003806/0.7148, allocations: 2.832 MB / 417 MB, free: 7 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003491/0.7183, allocations: 1.653 MB / 418.6 MB, free: 6.598 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.093e-05/0.7184, allocations: 15.38 kB / 418.6 MB, free: 6.598 MB / 314.7 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.0097/0.7281, allocations: 3.988 MB / 422.6 MB, free: 5.523 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.289e-05/0.7283, allocations: 60.58 kB / 422.7 MB, free: 5.488 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.875e-05/0.7284, allocations: 57.72 kB / 422.7 MB, free: 5.488 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000118/0.7285, allocations: 97.52 kB / 422.8 MB, free: 5.484 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002922/0.7314, allocations: 0.5696 MB / 423.4 MB, free: 5.348 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001061/0.7315, allocations: 120.5 kB / 423.5 MB, free: 5.312 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001976/0.7335, allocations: 322.3 kB / 423.8 MB, free: 5.152 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000306/0.7339, allocations: 197.5 kB / 424 MB, free: 5.152 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.001343/0.7352, allocations: 0.8497 MB / 424.9 MB, free: 4.742 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002571/0.7355, allocations: 125.2 kB / 425 MB, free: 4.691 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.684e-05/0.7355, allocations: 19.53 kB / 425 MB, free: 4.672 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.7355, allocations: 0 / 425 MB, free: 4.672 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.7356, allocations: 4 kB / 425 MB, free: 4.668 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.7356, allocations: 0 / 425 MB, free: 4.668 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006148/0.7362, allocations: 0.5611 MB / 425.6 MB, free: 4.258 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.7362, allocations: 3.953 kB / 425.6 MB, free: 4.254 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.482e-06/0.7362, allocations: 3.75 kB / 425.6 MB, free: 4.254 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.7362, allocations: 3.984 kB / 425.6 MB, free: 4.25 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001129/0.7363, allocations: 44.41 kB / 425.6 MB, free: 4.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.7364, allocations: 0 / 425.6 MB, free: 4.25 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.7364, allocations: 0 / 425.6 MB, free: 4.25 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03485/0.7712, allocations: 22.27 MB / 447.9 MB, free: 1.844 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002911/0.7716, allocations: 187.5 kB / 448.1 MB, free: 1.641 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003746/0.772, allocations: 63.95 kB / 448.2 MB, free: 1.578 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004655/0.7724, allocations: 35.98 kB / 448.2 MB, free: 1.543 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001752/0.7726, allocations: 28 kB / 448.2 MB, free: 1.516 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001887/0.7728, allocations: 71.98 kB / 448.3 MB, free: 1.445 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001847/0.773, allocations: 127.2 kB / 448.4 MB, free: 1.32 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.773, allocations: 0 / 448.4 MB, free: 1.32 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003004/0.776, allocations: 0.5234 MB / 448.9 MB, free: 0.7969 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.001188/0.7773, allocations: 415.3 kB / 449.3 MB, free: 448 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.007944/0.7852, allocations: 3.434 MB / 452.8 MB, free: 13 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/0.7853, allocations: 0 / 452.8 MB, free: 13 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1265/0.9119, allocations: 59.47 MB / 0.5002 GB, free: 1.547 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004713/0.9124, allocations: 41.62 kB / 0.5003 GB, free: 1.508 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005086/0.9175, allocations: 2.474 MB / 0.5027 GB, free: 14.99 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008892/0.9185, allocations: 1.019 MB / 0.5037 GB, free: 13.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003614/0.9188, allocations: 71.44 kB / 0.5038 GB, free: 13.87 MB / 410.7 MB Notification: Performance of SimCode: time 1.343e-06/0.9189, allocations: 0 / 0.5038 GB, free: 13.87 MB / 410.7 MB Notification: Performance of Templates: time 0.3697/1.289, allocations: 16.38 MB / 0.5198 GB, free: 144.7 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=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.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'