Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1.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.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.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1") 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.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001551/0.00155, allocations: 186.5 kB / 16.41 MB, free: 5.727 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.01/2.01, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001635/0.001635, allocations: 97.48 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004105/0.0004104, allocations: 12 kB / 327 MB, free: 228 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3722, allocations: 47.57 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1241/0.4964, allocations: 77.36 MB / 451.9 MB, free: 3.43 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003068/0.4968, allocations: 79.95 kB / 452 MB, free: 3.352 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06696/0.5638, allocations: 13.65 MB / 465.6 MB, free: 5.68 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.35e-06/0.5638, allocations: 3.984 kB / 465.6 MB, free: 5.676 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.755e-05/0.5639, allocations: 12 kB / 465.6 MB, free: 5.664 MB / 346.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.001745/0.5656, allocations: 1.058 MB / 466.7 MB, free: 4.547 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.5657, allocations: 8.031 kB / 466.7 MB, free: 4.539 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001804/0.5659, allocations: 70.97 kB / 466.8 MB, free: 4.469 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0171/0.583, allocations: 3.735 MB / 470.5 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.5831, allocations: 4 kB / 470.5 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.465e-05/0.5831, allocations: 15.95 kB / 470.5 MB, free: 0.668 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/0.5846, allocations: 0.8607 MB / 471.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.5847, allocations: 0 / 471.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.77e-05/0.5847, allocations: 4 kB / 471.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.5847, allocations: 0 / 471.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/0.586, allocations: 0.7828 MB / 472.2 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005989/0.5866, allocations: 415.9 kB / 472.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00254/0.5892, allocations: 2.078 MB / 474.7 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.296e-06/0.5892, allocations: 3.938 kB / 474.7 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001718/0.591, allocations: 1.127 MB / 475.8 MB, free: 11.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=246): time 5.791e-06/0.591, allocations: 8 kB / 475.8 MB, free: 11.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=246): time 0.01286/0.6039, allocations: 5.074 MB / 480.9 MB, free: 6.211 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004221/0.6043, allocations: 428.4 kB / 481.3 MB, free: 5.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002738/0.6046, allocations: 174.7 kB / 481.5 MB, free: 5.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004056/0.605, allocations: 201.6 kB / 481.7 MB, free: 5.387 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.529e-05/0.6052, allocations: 170.7 kB / 481.8 MB, free: 5.215 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001193/0.6064, allocations: 0.9718 MB / 482.8 MB, free: 4.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002374/0.6066, allocations: 80 kB / 482.9 MB, free: 4.152 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003198/0.6069, allocations: 475.4 kB / 483.3 MB, free: 3.676 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002924/0.6099, allocations: 1.101 MB / 484.4 MB, free: 2.566 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004427/0.6144, allocations: 2.813 MB / 487.2 MB, free: 14.9 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004274/0.6187, allocations: 1.645 MB / 488.9 MB, free: 13.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.278e-05/0.6188, allocations: 19.94 kB / 488.9 MB, free: 13.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.01149/0.6303, allocations: 3.994 MB / 492.9 MB, free: 9.219 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000114/0.6305, allocations: 65.59 kB / 493 MB, free: 9.148 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001119/0.6306, allocations: 56 kB / 493 MB, free: 9.094 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001463/0.6308, allocations: 92 kB / 493.1 MB, free: 9.004 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00322/0.634, allocations: 0.5651 MB / 493.7 MB, free: 8.438 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001638/0.6342, allocations: 119.6 kB / 493.8 MB, free: 8.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002171/0.6364, allocations: 324.8 kB / 494.1 MB, free: 8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003769/0.6368, allocations: 196 kB / 494.3 MB, free: 7.809 MB / 378.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.001531/0.6383, allocations: 0.8452 MB / 495.2 MB, free: 6.949 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002796/0.6386, allocations: 123 kB / 495.3 MB, free: 6.828 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.081e-05/0.6387, allocations: 21.88 kB / 495.3 MB, free: 6.805 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.6387, allocations: 0 / 495.3 MB, free: 6.805 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.6387, allocations: 0 / 495.3 MB, free: 6.805 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.6387, allocations: 0 / 495.3 MB, free: 6.805 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007967/0.6395, allocations: 0.5641 MB / 495.9 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.6395, allocations: 0 / 495.9 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.693e-06/0.6395, allocations: 0 / 495.9 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.856e-06/0.6396, allocations: 4 kB / 495.9 MB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001328/0.6397, allocations: 47.98 kB / 495.9 MB, free: 6.137 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/0.6397, allocations: 3.953 kB / 495.9 MB, free: 6.133 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.6397, allocations: 4 kB / 495.9 MB, free: 6.129 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3003/0.94, allocations: 22.25 MB / 0.506 GB, free: 107.4 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001768/0.9403, allocations: 184.1 kB / 0.5062 GB, free: 107.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002587/0.9406, allocations: 67.95 kB / 0.5063 GB, free: 107.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004523/0.941, allocations: 32 kB / 0.5063 GB, free: 107.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/0.9412, allocations: 30.56 kB / 0.5063 GB, free: 107.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001496/0.9414, allocations: 76.86 kB / 0.5064 GB, free: 107 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001393/0.9415, allocations: 136.3 kB / 0.5065 GB, free: 106.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.9415, allocations: 0 / 0.5065 GB, free: 106.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002595/0.9441, allocations: 0.5281 MB / 0.507 GB, free: 106.4 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: 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.001076/0.9452, allocations: 399.5 kB / 0.5074 GB, free: 106.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006161/0.9514, allocations: 3.431 MB / 0.5108 GB, free: 102.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.9515, allocations: 0 / 0.5108 GB, free: 102.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.04236/0.9939, allocations: 59.47 MB / 0.5688 GB, free: 43.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.9944, allocations: 44.12 kB / 0.5689 GB, free: 43.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003908/0.9983, allocations: 2.44 MB / 0.5713 GB, free: 40.72 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005324/0.9989, allocations: 1.015 MB / 0.5723 GB, free: 39.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003126/0.9992, allocations: 75.44 kB / 0.5723 GB, free: 39.6 MB / 378.7 MB Notification: Performance of SimCode: time 1.173e-06/0.9992, allocations: 3.938 kB / 0.5723 GB, free: 39.6 MB / 378.7 MB Notification: Performance of Templates: time 0.03477/1.034, allocations: 16.45 MB / 0.5884 GB, free: 23.19 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1.makefile make -j1 -f Modelica_3.2.3_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/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.RealFFT1CalcHelperMain.o OMCppModelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1CalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1CalcHelperMain.cpp:28:\n./OMCppModelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1Functions.cpp:152:48: error: use of undeclared identifier \'_omcQ_24tmpVar2_\'; did you mean \'_omcQ_24tmpVar3_\'?\n Modelica_SIunits_Conversions_to__deg(_omcQ_24tmpVar2_,tmp9);\n ^~~~~~~~~~~~~~~~\n _omcQ_24tmpVar3_\n./OMCppModelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1Functions.cpp:125:14: note: \'_omcQ_24tmpVar3_\' declared here\n double _omcQ_24tmpVar3_;\n ^\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1CalcHelperMain.cpp:33:\n./OMCppModelica_3.2.3_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.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1CalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1CalcHelperMain.o] Error 1\n'