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.001486/0.001486, allocations: 185.9 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 1.929/1.929, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001142/0.001142, allocations: 94.56 kB / 270.9 MB, free: 8.398 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003813/0.0003815, allocations: 12 kB / 327 MB, free: 236 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.3908, allocations: 47.57 MB / 374.5 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1236/0.5145, allocations: 77.35 MB / 451.9 MB, free: 3.445 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/0.5149, allocations: 83.95 kB / 452 MB, free: 3.363 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06529/0.5802, allocations: 13.5 MB / 465.5 MB, free: 5.836 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.123e-06/0.5802, allocations: 0 / 465.5 MB, free: 5.836 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.551e-05/0.5802, allocations: 8 kB / 465.5 MB, free: 5.828 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.001601/0.5819, allocations: 0.991 MB / 466.5 MB, free: 4.777 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.5819, allocations: 8.031 kB / 466.5 MB, free: 4.77 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001477/0.5821, allocations: 67.06 kB / 466.5 MB, free: 4.703 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0169/0.599, allocations: 3.727 MB / 470.3 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.5991, allocations: 8 kB / 470.3 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.217e-05/0.5991, allocations: 19.89 kB / 470.3 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/0.6005, allocations: 0.7864 MB / 471.1 MB, free: 108 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.6005, allocations: 4 kB / 471.1 MB, free: 104 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.571e-05/0.6006, allocations: 0 / 471.1 MB, free: 104 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.6006, allocations: 0 / 471.1 MB, free: 104 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/0.6018, allocations: 0.7048 MB / 471.8 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005687/0.6024, allocations: 400 kB / 472.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002212/0.6046, allocations: 1.809 MB / 474 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.6046, allocations: 7.938 kB / 474 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001646/0.6063, allocations: 1.033 MB / 475 MB, free: 12.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=225): time 3.707e-06/0.6063, allocations: 3.938 kB / 475 MB, free: 12.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=225): time 0.01176/0.6181, allocations: 4.516 MB / 479.5 MB, free: 7.539 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00038/0.6185, allocations: 396.5 kB / 479.9 MB, free: 7.125 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002672/0.6188, allocations: 170.8 kB / 480.1 MB, free: 6.949 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003673/0.6192, allocations: 193.5 kB / 480.3 MB, free: 6.754 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.978e-05/0.6193, allocations: 178.3 kB / 480.5 MB, free: 6.578 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001076/0.6204, allocations: 0.9254 MB / 481.4 MB, free: 5.641 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002171/0.6206, allocations: 72 kB / 481.5 MB, free: 5.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003059/0.6209, allocations: 466.7 kB / 481.9 MB, free: 5.105 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002676/0.6236, allocations: 1.014 MB / 482.9 MB, free: 4.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004143/0.6278, allocations: 2.604 MB / 485.5 MB, free: 0.7344 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003864/0.6317, allocations: 1.524 MB / 487.1 MB, free: 15.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.144e-05/0.6318, allocations: 19.94 kB / 487.1 MB, free: 15.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.009679/0.6414, allocations: 3.701 MB / 490.8 MB, free: 11.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.6416, allocations: 57.66 kB / 490.8 MB, free: 11.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001023/0.6417, allocations: 56 kB / 490.9 MB, free: 11.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001371/0.6419, allocations: 84 kB / 491 MB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002847/0.6447, allocations: 0.5221 MB / 491.5 MB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001391/0.6449, allocations: 108.2 kB / 491.6 MB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001943/0.6468, allocations: 297.2 kB / 491.9 MB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003262/0.6472, allocations: 180 kB / 492.1 MB, free: 10.17 MB / 378.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.001354/0.6486, allocations: 0.7653 MB / 492.8 MB, free: 9.387 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002459/0.6488, allocations: 107 kB / 492.9 MB, free: 9.281 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.899e-05/0.6489, allocations: 25.09 kB / 493 MB, free: 9.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.6489, allocations: 0 / 493 MB, free: 9.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.6489, allocations: 0 / 493 MB, free: 9.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.6489, allocations: 0 / 493 MB, free: 9.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007479/0.6497, allocations: 0.5291 MB / 493.5 MB, free: 8.672 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.6497, allocations: 0 / 493.5 MB, free: 8.672 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.693e-06/0.6497, allocations: 4 kB / 493.5 MB, free: 8.668 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.6497, allocations: 0 / 493.5 MB, free: 8.668 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001265/0.6498, allocations: 47.98 kB / 493.5 MB, free: 8.621 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.6499, allocations: 3.953 kB / 493.5 MB, free: 8.617 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.6499, allocations: 0 / 493.5 MB, free: 8.617 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3002/0.95, allocations: 21.76 MB / 0.5032 GB, free: 110.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001755/0.9503, allocations: 173.7 kB / 0.5034 GB, free: 110.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002121/0.9505, allocations: 43.98 kB / 0.5034 GB, free: 110.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004046/0.9509, allocations: 31.19 kB / 0.5035 GB, free: 110.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/0.9511, allocations: 34.56 kB / 0.5035 GB, free: 110.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001409/0.9512, allocations: 64.86 kB / 0.5036 GB, free: 110.4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001366/0.9514, allocations: 132.8 kB / 0.5037 GB, free: 110.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.9514, allocations: 0 / 0.5037 GB, free: 110.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002472/0.9539, allocations: 0.4907 MB / 0.5042 GB, free: 109.9 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) * 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.001005/0.9549, allocations: 375.4 kB / 0.5045 GB, free: 109.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005685/0.9606, allocations: 3.181 MB / 0.5076 GB, free: 106.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.9607, allocations: 0 / 0.5076 GB, free: 106.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.03715/0.9979, allocations: 52.37 MB / 0.5588 GB, free: 54.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/0.9983, allocations: 34.06 kB / 0.5588 GB, free: 54.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003625/1.002, allocations: 2.299 MB / 0.5611 GB, free: 51.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005027/1.003, allocations: 0.9913 MB / 0.562 GB, free: 50.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003038/1.003, allocations: 67.44 kB / 0.5621 GB, free: 50.63 MB / 378.7 MB Notification: Performance of SimCode: time 1.302e-06/1.003, allocations: 0 / 0.5621 GB, free: 50.63 MB / 378.7 MB Notification: Performance of Templates: time 0.03306/1.036, allocations: 15.36 MB / 0.5771 GB, free: 35.32 MB / 378.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 \'_omcQ_24tmpVar2_\'; did you mean \'_omcQ_24tmpVar3_\'?\n Modelica_SIunits_Conversions_to__deg(_omcQ_24tmpVar2_,tmp10);\n ^~~~~~~~~~~~~~~~\n _omcQ_24tmpVar3_\n./OMCppModelica_3.2.3_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT2Functions.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.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'