Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00102/0.00102, allocations: 94.06 kB / 17.63 MB, free: 6.141 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001255/0.001254, allocations: 197.5 kB / 18.54 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.629/1.629, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002536/0.0002537, allocations: 8 kB / 307.3 MB, free: 1.621 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1249, allocations: 51.49 MB / 358.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.FastFourierTransform.Examples.RealFFT2): time 0.001603/0.1265, allocations: 1.024 MB / 359.8 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001984/0.1286, allocations: 1.032 MB / 360.8 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.321e-05/0.1287, allocations: 0 / 360.8 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005008/0.1292, allocations: 75.8 kB / 360.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000193/0.1294, allocations: 95.8 kB / 361 MB, free: 11.89 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.0006716/0.1301, allocations: 187.6 kB / 361.2 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000234/0.1303, allocations: 155.6 kB / 361.3 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.451e-05/0.1304, allocations: 4 kB / 361.4 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002219/0.1306, allocations: 135.7 kB / 361.5 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003034/0.1309, allocations: 167.7 kB / 361.6 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.1309, allocations: 4 kB / 361.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005184/0.1315, allocations: 231.5 kB / 361.9 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001734/0.1317, allocations: 199.4 kB / 362.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.1318, allocations: 105.3 kB / 362.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005433/0.1323, allocations: 383.2 kB / 362.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.1323, allocations: 8 kB / 362.6 MB, free: 10.33 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1324, allocations: 0 / 362.6 MB, free: 10.33 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.699e-05/0.1324, allocations: 0 / 362.6 MB, free: 10.33 MB / 302.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.001143/0.1335, allocations: 0.9818 MB / 363.5 MB, free: 9.297 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.1336, allocations: 12.02 kB / 363.6 MB, free: 9.285 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002561/0.1338, allocations: 74.97 kB / 363.6 MB, free: 9.211 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003234/0.1342, allocations: 262.1 kB / 363.9 MB, free: 8.914 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.1342, allocations: 8 kB / 363.9 MB, free: 8.906 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.1342, allocations: 15.95 kB / 363.9 MB, free: 8.891 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007279/0.135, allocations: 0.8334 MB / 364.7 MB, free: 8.051 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.135, allocations: 0 / 364.7 MB, free: 8.051 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.135, allocations: 4 kB / 364.7 MB, free: 8.047 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.135, allocations: 0 / 364.7 MB, free: 8.047 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006528/0.1357, allocations: 0.7751 MB / 365.5 MB, free: 7.27 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003554/0.136, allocations: 384 kB / 365.9 MB, free: 6.844 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/0.1375, allocations: 1.879 MB / 367.8 MB, free: 4.957 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001446/0.1389, allocations: 1.88 MB / 369.6 MB, free: 3.078 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.1389, allocations: 4 kB / 369.7 MB, free: 3.074 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001/0.14, allocations: 1.072 MB / 370.7 MB, free: 1.984 MB / 302.1 MB Notification: Performance of pre-optimization done (n=225): time 1.763e-06/0.14, allocations: 0 / 370.7 MB, free: 1.984 MB / 302.1 MB Notification: Performance of matching and sorting (n=225): time 0.2253/0.3653, allocations: 4.501 MB / 375.2 MB, free: 21.04 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004312/0.3658, allocations: 396.9 kB / 375.6 MB, free: 20.92 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003046/0.3661, allocations: 189.8 kB / 375.8 MB, free: 20.81 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00029/0.3664, allocations: 188.5 kB / 376 MB, free: 20.78 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.397e-05/0.3665, allocations: 106.5 kB / 376.1 MB, free: 20.69 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008491/0.3673, allocations: 0.9215 MB / 377 MB, free: 20.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/0.3675, allocations: 74.34 kB / 377.1 MB, free: 20.16 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002468/0.3677, allocations: 468.7 kB / 377.5 MB, free: 19.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001768/0.3695, allocations: 1.017 MB / 378.6 MB, free: 19.74 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002628/0.3722, allocations: 2.624 MB / 381.2 MB, free: 17.42 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002826/0.375, allocations: 1.521 MB / 382.7 MB, free: 16.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.97e-05/0.3751, allocations: 15.5 kB / 382.7 MB, free: 16.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.008009/0.3831, allocations: 3.701 MB / 386.4 MB, free: 15.69 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.069e-05/0.3832, allocations: 57.48 kB / 386.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001208/0.3833, allocations: 53.47 kB / 386.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001606/0.3835, allocations: 83.81 kB / 386.6 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/0.3851, allocations: 0.5249 MB / 387.1 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001283/0.3852, allocations: 110.5 kB / 387.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00176/0.387, allocations: 295.9 kB / 387.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002499/0.3872, allocations: 187.1 kB / 387.7 MB, free: 15.3 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.0009959/0.3882, allocations: 0.7689 MB / 388.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/0.3884, allocations: 106.3 kB / 388.6 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.343e-05/0.3884, allocations: 20.58 kB / 388.6 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.3884, allocations: 0 / 388.6 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3884, allocations: 1.891 kB / 388.6 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.3884, allocations: 0 / 388.6 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005911/0.389, allocations: 0.5179 MB / 389.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.389, allocations: 1.531 kB / 389.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.515e-06/0.3891, allocations: 2 kB / 389.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.3891, allocations: 4 kB / 389.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.047e-05/0.3892, allocations: 38.84 kB / 389.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.3892, allocations: 0 / 389.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3892, allocations: 0 / 389.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01597/0.4051, allocations: 21.86 MB / 411 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001928/0.4054, allocations: 175.6 kB / 411.2 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.4055, allocations: 47.97 kB / 411.3 MB, free: 10.06 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/0.4057, allocations: 32 kB / 411.3 MB, free: 10.03 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.4059, allocations: 32.02 kB / 411.3 MB, free: 10 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.84e-05/0.406, allocations: 32 kB / 411.3 MB, free: 9.969 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001451/0.4061, allocations: 131.5 kB / 411.5 MB, free: 9.84 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4061, allocations: 0 / 411.5 MB, free: 9.84 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003001/0.4091, allocations: 491 kB / 412 MB, free: 9.367 MB / 318.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.0008294/0.41, allocations: 366.6 kB / 412.3 MB, free: 9.102 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.005057/0.415, allocations: 3.187 MB / 415.5 MB, free: 5.914 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.371e-06/0.4151, allocations: 0 / 415.5 MB, free: 5.914 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.03918/0.4542, allocations: 52.37 MB / 467.9 MB, free: 1.531 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004643/0.4548, allocations: 65.44 kB / 467.9 MB, free: 1.469 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003563/0.4583, allocations: 2.32 MB / 470.3 MB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000753/0.4591, allocations: 0.9847 MB / 471.2 MB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004008/0.4595, allocations: 67.44 kB / 471.3 MB, free: 14.03 MB / 382.1 MB Notification: Performance of SimCode: time 2.965e-06/0.4595, allocations: 3.938 kB / 471.3 MB, free: 14.02 MB / 382.1 MB Notification: Performance of Templates: time 0.02636/0.4859, allocations: 15.47 MB / 486.8 MB, free: 14.54 MB / 398.1 MB make -j1 -f Modelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT2.makefile make -j1 -f Modelica_trunk_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 trunk/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 trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT2CalcHelperMain.o OMCppModelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Math.FastFourierTransform.Examples.RealFFT2CalcHelperMain.o] Error 1