Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2") 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.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001547/0.001547, allocations: 180.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.03/2.03, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001637/0.001637, allocations: 86.64 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.178e-05/3.196e-05, allocations: 4 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09397/0.09403, allocations: 47.58 MB / 369.1 MB, free: 2.199 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3985/0.4926, allocations: 77.25 MB / 446.3 MB, free: 15.92 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/0.4929, allocations: 71.84 kB / 446.4 MB, free: 15.88 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07025/0.5632, allocations: 13.46 MB / 459.9 MB, free: 4.438 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5632, allocations: 0 / 459.9 MB, free: 4.438 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.53e-05/0.5633, allocations: 11.94 kB / 459.9 MB, free: 4.426 MB / 330.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.001454/0.5647, allocations: 0.9714 MB / 460.9 MB, free: 3.398 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.5648, allocations: 8.031 kB / 460.9 MB, free: 3.391 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001598/0.565, allocations: 74.97 kB / 460.9 MB, free: 3.316 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01749/0.5825, allocations: 3.7 MB / 464.6 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.5826, allocations: 12 kB / 464.6 MB, free: 15.56 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.595e-05/0.5826, allocations: 7.953 kB / 464.7 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/0.584, allocations: 0.7826 MB / 465.4 MB, free: 14.76 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.5841, allocations: 0 / 465.4 MB, free: 14.76 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.748e-05/0.5841, allocations: 4 kB / 465.4 MB, free: 14.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.5841, allocations: 0 / 465.4 MB, free: 14.75 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001144/0.5853, allocations: 0.7009 MB / 466.1 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006075/0.5859, allocations: 400.1 kB / 466.5 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002307/0.5883, allocations: 1.817 MB / 468.4 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002309/0.5906, allocations: 1.794 MB / 470.1 MB, free: 9.996 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.5907, allocations: 7.953 kB / 470.2 MB, free: 9.988 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001668/0.5924, allocations: 1.021 MB / 471.2 MB, free: 8.945 MB / 346.7 MB Notification: Performance of pre-optimization done (n=225): time 3.647e-06/0.5924, allocations: 0 / 471.2 MB, free: 8.945 MB / 346.7 MB Notification: Performance of matching and sorting (n=225): time 0.009069/0.6015, allocations: 2.041 MB / 473.2 MB, free: 6.895 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003894/0.602, allocations: 404.5 kB / 473.6 MB, free: 6.473 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002695/0.6022, allocations: 173.8 kB / 473.8 MB, free: 6.293 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003625/0.6026, allocations: 189.6 kB / 474 MB, free: 6.102 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.433e-05/0.6027, allocations: 170.4 kB / 474.1 MB, free: 5.934 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001106/0.6039, allocations: 0.9215 MB / 475.1 MB, free: 5 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000187/0.6041, allocations: 76 kB / 475.1 MB, free: 4.926 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003106/0.6044, allocations: 462.7 kB / 475.6 MB, free: 4.465 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002845/0.6072, allocations: 0.9949 MB / 476.6 MB, free: 3.469 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004913/0.6122, allocations: 2.577 MB / 479.2 MB, free: 144 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004027/0.6163, allocations: 1.516 MB / 480.7 MB, free: 14.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.707e-05/0.6164, allocations: 19.94 kB / 480.7 MB, free: 14.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.009757/0.6262, allocations: 3.65 MB / 484.3 MB, free: 10.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.769e-05/0.6263, allocations: 57.66 kB / 484.4 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.522e-05/0.6264, allocations: 56 kB / 484.4 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001363/0.6266, allocations: 84 kB / 484.5 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002944/0.6295, allocations: 0.5189 MB / 485 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000149/0.6297, allocations: 111.6 kB / 485.2 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002199/0.6319, allocations: 301.1 kB / 485.4 MB, free: 9.805 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003539/0.6323, allocations: 180 kB / 485.6 MB, free: 9.629 MB / 362.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.001084/0.6334, allocations: 0.6512 MB / 486.3 MB, free: 8.965 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002426/0.6337, allocations: 107.1 kB / 486.4 MB, free: 8.859 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.727e-05/0.6337, allocations: 21.11 kB / 486.4 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.6337, allocations: 0 / 486.4 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.6338, allocations: 3.938 kB / 486.4 MB, free: 8.828 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.6338, allocations: 0 / 486.4 MB, free: 8.828 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007124/0.6345, allocations: 0.533 MB / 486.9 MB, free: 8.246 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.6345, allocations: 0 / 486.9 MB, free: 8.246 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.994e-06/0.6345, allocations: 4 kB / 486.9 MB, free: 8.242 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.6345, allocations: 0 / 486.9 MB, free: 8.242 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001238/0.6347, allocations: 43.98 kB / 487 MB, free: 8.199 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/0.6347, allocations: 11.94 kB / 487 MB, free: 8.188 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.6347, allocations: 0 / 487 MB, free: 8.188 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03286/0.6676, allocations: 21.73 MB / 0.4968 GB, free: 2.406 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002021/0.6678, allocations: 175.6 kB / 0.497 GB, free: 2.215 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002253/0.6681, allocations: 47.97 kB / 0.497 GB, free: 2.168 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004308/0.6685, allocations: 43.97 kB / 0.4971 GB, free: 2.125 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/0.6687, allocations: 23.95 kB / 0.4971 GB, free: 2.102 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001624/0.6689, allocations: 67.98 kB / 0.4972 GB, free: 2.035 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001791/0.669, allocations: 136.3 kB / 0.4973 GB, free: 1.902 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6691, allocations: 0 / 0.4973 GB, free: 1.902 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002762/0.6718, allocations: 496 kB / 0.4978 GB, free: 1.418 MB / 378.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.001164/0.6731, allocations: 362.4 kB / 0.4981 GB, free: 1.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0073/0.6804, allocations: 3.145 MB / 0.5012 GB, free: 13.92 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.335e-06/0.6805, allocations: 4.062 kB / 0.5012 GB, free: 13.92 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.3364/1.017, allocations: 52.35 MB / 0.5523 GB, free: 109.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004135/1.017, allocations: 36.89 kB / 0.5523 GB, free: 109.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003323/1.021, allocations: 1.872 MB / 0.5542 GB, free: 109.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005211/1.021, allocations: 0.9936 MB / 0.5551 GB, free: 108.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002996/1.022, allocations: 67.44 kB / 0.5552 GB, free: 108.7 MB / 410.7 MB Notification: Performance of SimCode: time 1.443e-06/1.022, allocations: 0 / 0.5552 GB, free: 108.7 MB / 410.7 MB Notification: Performance of Templates: time 0.03297/1.055, allocations: 15.31 MB / 0.5702 GB, free: 93.61 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2.makefile make -j1 -f Modelica_3.2.3_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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2CalcHelperMain.o OMCppModelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2CalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2CalcHelperMain.cpp:28:\n./OMCppModelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2Functions.cpp:152:48: error: use of undeclared identifier \'D_24tmpVar2_\'; did you mean \'D_24tmpVar3_\'?\n Modelica_SIunits_Conversions_to__deg(D_24tmpVar2_,tmp10);\n ^~~~~~~~~~~~\n D_24tmpVar3_\n./OMCppModelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2Functions.cpp:125:14: note: \'D_24tmpVar3_\' declared here\n double D_24tmpVar3_;\n ^\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2CalcHelperMain.cpp:33:\n./OMCppModelica_3.2.3_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.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2CalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2CalcHelperMain.o] Error 1\n'