Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009261/0.0009263, allocations: 98.86 kB / 16.96 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001239, allocations: 186.8 kB / 17.84 MB, free: 4.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 223.2 MB / 241.8 MB, free: 320 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002287/0.0002288, allocations: 8 kB / 301.4 MB, free: 6.461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09078/0.09102, allocations: 50.42 MB / 351.9 MB, free: 4.027 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.FastFourierTransform.Examples.RealFFT2): time 0.001125/0.09219, allocations: 1.005 MB / 352.9 MB, free: 3.012 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.09354, allocations: 0.9867 MB / 353.9 MB, free: 2.02 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.813e-05/0.09359, allocations: 0 / 353.9 MB, free: 2.02 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000357/0.09395, allocations: 71.8 kB / 353.9 MB, free: 1.949 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001348/0.0941, allocations: 91.8 kB / 354 MB, free: 1.859 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/FastFourierTransform.mo:538:3-629:25:writable] Warning: Pure function ‘Modelica.Math.FastFourierTransform.realFFTwriteToFile‘ contains a call to impure function ‘Modelica.Utilities.Files.removeFile‘. Notification: Performance of NFTyping.typeClassSections: time 0.0004135/0.09452, allocations: 175.6 kB / 354.2 MB, free: 1.688 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.0947, allocations: 163.6 kB / 354.4 MB, free: 1.527 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.159e-05/0.09474, allocations: 7.938 kB / 354.4 MB, free: 1.52 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.0949, allocations: 123.7 kB / 354.5 MB, free: 1.398 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002039/0.09511, allocations: 171.7 kB / 354.6 MB, free: 1.23 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.09513, allocations: 0 / 354.6 MB, free: 1.23 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003323/0.09547, allocations: 223.6 kB / 354.9 MB, free: 1.012 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.09561, allocations: 195.4 kB / 355.1 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.635e-05/0.0957, allocations: 105.3 kB / 355.2 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003338/0.09604, allocations: 379.2 kB / 355.5 MB, free: 348 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.09605, allocations: 0 / 355.5 MB, free: 348 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.09606, allocations: 0 / 355.5 MB, free: 348 kB / 286.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.09607, allocations: 0 / 355.5 MB, free: 348 kB / 286.1 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.000827/0.09691, allocations: 0.9871 MB / 356.5 MB, free: 15.29 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.863e-05/0.09695, allocations: 12.03 kB / 356.5 MB, free: 15.28 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.161e-05/0.09702, allocations: 70.84 kB / 356.6 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.09726, allocations: 265.9 kB / 356.9 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.09728, allocations: 8 kB / 356.9 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.0973, allocations: 12 kB / 356.9 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006323/0.09794, allocations: 0.8256 MB / 357.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.04e-06/0.09795, allocations: 0 / 357.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.09797, allocations: 8 kB / 357.7 MB, free: 14.06 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.09798, allocations: 3.953 kB / 357.7 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005783/0.09856, allocations: 0.779 MB / 358.5 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002845/0.09885, allocations: 376.1 kB / 358.9 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001218/0.1001, allocations: 1.887 MB / 360.8 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001202/0.1013, allocations: 1.868 MB / 362.6 MB, free: 9.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.44e-06/0.1013, allocations: 0 / 362.6 MB, free: 9.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008101/0.1021, allocations: 1.072 MB / 363.7 MB, free: 8.004 MB / 302.1 MB Notification: Performance of pre-optimization done (n=225): time 1.383e-06/0.1021, allocations: 0 / 363.7 MB, free: 8.004 MB / 302.1 MB Notification: Performance of matching and sorting (n=225): time 0.004065/0.1062, allocations: 4.498 MB / 368.2 MB, free: 3.496 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002409/0.1064, allocations: 416.4 kB / 368.6 MB, free: 3.062 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.1066, allocations: 191.1 kB / 368.8 MB, free: 2.863 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001808/0.1068, allocations: 185.6 kB / 369 MB, free: 2.676 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.091e-05/0.1069, allocations: 99.91 kB / 369.1 MB, free: 2.574 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005867/0.1075, allocations: 0.9293 MB / 370 MB, free: 1.633 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.564e-05/0.1076, allocations: 80.03 kB / 370.1 MB, free: 1.555 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002024/0.1078, allocations: 466.6 kB / 370.5 MB, free: 1.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001336/0.1091, allocations: 1.014 MB / 371.5 MB, free: 76 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1499/0.259, allocations: 2.611 MB / 374.1 MB, free: 23.31 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002022/0.2611, allocations: 1.531 MB / 375.7 MB, free: 23.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-05/0.2611, allocations: 14.59 kB / 375.7 MB, free: 23.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.004799/0.2659, allocations: 3.704 MB / 379.4 MB, free: 22.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.463e-05/0.266, allocations: 52.09 kB / 379.4 MB, free: 22.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.663e-05/0.266, allocations: 60.72 kB / 379.5 MB, free: 22.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.744e-05/0.2661, allocations: 84.52 kB / 379.6 MB, free: 22.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/0.2674, allocations: 0.5199 MB / 380.1 MB, free: 22.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001005/0.2675, allocations: 112.7 kB / 380.2 MB, free: 22.1 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009698/0.2685, allocations: 296.1 kB / 380.5 MB, free: 22.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001785/0.2687, allocations: 179.6 kB / 380.7 MB, free: 22.01 MB / 302.1 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.0007546/0.2694, allocations: 0.7671 MB / 381.5 MB, free: 21.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.2695, allocations: 111.5 kB / 381.6 MB, free: 21.67 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.995e-05/0.2696, allocations: 16.53 kB / 381.6 MB, free: 21.65 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.2696, allocations: 0 / 381.6 MB, free: 21.65 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2696, allocations: 0 / 381.6 MB, free: 21.65 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.2696, allocations: 1.734 kB / 381.6 MB, free: 21.65 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000392/0.27, allocations: 0.5142 MB / 382.1 MB, free: 21.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.27, allocations: 0.5156 kB / 382.1 MB, free: 21.37 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.27, allocations: 0 / 382.1 MB, free: 21.37 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.27, allocations: 1.094 kB / 382.1 MB, free: 21.37 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.129e-05/0.2701, allocations: 33.38 kB / 382.1 MB, free: 21.37 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.2701, allocations: 1.828 kB / 382.1 MB, free: 21.37 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2701, allocations: 7.938 kB / 382.1 MB, free: 21.36 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01314/0.2832, allocations: 21.87 MB / 404 MB, free: 4.23 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.693e-05/0.2833, allocations: 178.8 kB / 404.2 MB, free: 4.082 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.565e-05/0.2834, allocations: 51.16 kB / 404.2 MB, free: 4.035 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/0.2836, allocations: 35.83 kB / 404.3 MB, free: 4.004 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.2837, allocations: 27.98 kB / 404.3 MB, free: 3.977 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.053e-05/0.2838, allocations: 32 kB / 404.3 MB, free: 3.945 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.682e-05/0.2839, allocations: 135.2 kB / 404.5 MB, free: 3.816 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2839, allocations: 0 / 404.5 MB, free: 3.816 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001517/0.2854, allocations: 493.9 kB / 404.9 MB, free: 3.34 MB / 302.1 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.0006376/0.2861, allocations: 361.9 kB / 405.3 MB, free: 3.078 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002783/0.2888, allocations: 3.188 MB / 408.5 MB, free: 15.89 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2889, allocations: 0 / 408.5 MB, free: 15.89 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.03429/0.3232, allocations: 52.38 MB / 460.9 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.3236, allocations: 70.89 kB / 460.9 MB, free: 11.49 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002795/0.3264, allocations: 2.326 MB / 463.2 MB, free: 9.125 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004923/0.3269, allocations: 0.9758 MB / 464.2 MB, free: 8.121 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/0.3271, allocations: 76.47 kB / 464.3 MB, free: 8.047 MB / 366.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3271, allocations: 0 / 464.3 MB, free: 8.047 MB / 366.1 MB Notification: Performance of Templates: time 0.02027/0.3473, allocations: 15.48 MB / 479.8 MB, free: 8.555 MB / 382.1 MB make -j1 -f Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT2.makefile make -j1 -f Modelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT2.makefile clang++ NOTFOUND -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT2CalcHelperMain.o OMCppModelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Math.FastFourierTransform.Examples.RealFFT2CalcHelperMain.o] Error 1