Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo", uses=false) Using package AdvancedNoise with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo) 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(AdvancedNoise.Examples.SignalBasedCorrelations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations") translateModel(AdvancedNoise.Examples.SignalBasedCorrelations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.001081, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 193.5 kB / 16.79 MB, free: 6.812 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.299/1.299, allocations: 222.9 MB / 240.4 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.1399/0.1399, allocations: 3.887 MB / 294.5 MB, free: 3.246 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 59.91 kB / 355.4 MB, free: 4.09 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09623/0.0975, allocations: 50.18 MB / 405.6 MB, free: 1.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedCorrelations): time 0.003012/0.1005, allocations: 2.116 MB / 407.7 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002562/0.1031, allocations: 1.698 MB / 409.4 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.962e-05/0.1032, allocations: 4 kB / 409.4 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001611/0.1034, allocations: 27.67 kB / 409.5 MB, free: 14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005249/0.104, allocations: 203.4 kB / 409.7 MB, free: 13.8 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom‘ contains a call to impure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState‘. Notification: Performance of NFTyping.typeClassSections: time 0.0006336/0.1046, allocations: 335.3 kB / 410 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004387/0.105, allocations: 0.538 MB / 410.5 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001914/0.1052, allocations: 103.4 kB / 410.6 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.1054, allocations: 183.3 kB / 410.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002237/0.1056, allocations: 251 kB / 411 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.916e-05/0.1057, allocations: 24 kB / 411.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005446/0.1063, allocations: 399.4 kB / 411.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.1064, allocations: 103.6 kB / 411.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001649/0.1066, allocations: 178.9 kB / 411.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005501/0.1071, allocations: 0.5618 MB / 412.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1071, allocations: 0 / 412.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.1071, allocations: 0 / 412.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.1072, allocations: 0 / 412.3 MB, free: 11.15 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001199/0.1084, allocations: 0.7081 MB / 413 MB, free: 10.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.1084, allocations: 16.02 kB / 413 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/0.1096, allocations: 160.2 kB / 413.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006486/0.1102, allocations: 371.1 kB / 413.5 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.532e-05/0.1103, allocations: 33.03 kB / 413.6 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.212e-05/0.1104, allocations: 36.38 kB / 413.6 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.1114, allocations: 478.3 kB / 414.1 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.1115, allocations: 4.188 kB / 414.1 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.919e-05/0.1115, allocations: 15.94 kB / 414.1 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.1115, allocations: 8 kB / 414.1 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001315/0.1129, allocations: 0.5217 MB / 414.6 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00194/0.1148, allocations: 1.213 MB / 415.8 MB, free: 7.461 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00129/0.1161, allocations: 0.5107 MB / 416.3 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006629/0.1168, allocations: 286 kB / 416.6 MB, free: 6.656 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.4e-05/0.1168, allocations: 16.42 kB / 416.6 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.1169, allocations: 38.94 kB / 416.7 MB, free: 6.594 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 1.934e-06/0.1169, allocations: 4 kB / 416.7 MB, free: 6.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.002193/0.1191, allocations: 0.8344 MB / 417.5 MB, free: 5.754 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.1191, allocations: 63.83 kB / 417.6 MB, free: 5.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002104/0.1193, allocations: 236.9 kB / 417.8 MB, free: 5.434 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.722e-05/0.1194, allocations: 37.7 kB / 417.8 MB, free: 5.391 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.846e-05/0.1195, allocations: 149 kB / 418 MB, free: 5.242 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.1196, allocations: 169.5 kB / 418.2 MB, free: 5.074 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001936/0.1198, allocations: 110.2 kB / 418.3 MB, free: 4.961 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.12, allocations: 350.7 kB / 418.6 MB, free: 4.609 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006834/0.1206, allocations: 269 kB / 418.9 MB, free: 4.348 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006765/0.1213, allocations: 272.8 kB / 419.1 MB, free: 4.082 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/0.1226, allocations: 0.5037 MB / 419.6 MB, free: 3.578 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.1226, allocations: 0 / 419.6 MB, free: 3.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001579/0.1242, allocations: 0.6781 MB / 420.3 MB, free: 2.895 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.1242, allocations: 4 kB / 420.3 MB, free: 2.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1242, allocations: 0 / 420.3 MB, free: 2.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.1242, allocations: 4 kB / 420.3 MB, free: 2.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007902/0.125, allocations: 151.7 kB / 420.5 MB, free: 2.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.1251, allocations: 0 / 420.5 MB, free: 2.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003532/0.1254, allocations: 67.48 kB / 420.5 MB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.1255, allocations: 59.91 kB / 420.6 MB, free: 2.613 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (globalSeed.seed,noise2.actualGlobalSeed,globalSeed.id_impure,noise1.actualGlobalSeed,noise2.localSeed,noise1.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002004/0.1257, allocations: 177.5 kB / 420.8 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.711e-05/0.1258, allocations: 27.62 kB / 420.8 MB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001965/0.1278, allocations: 0.8345 MB / 421.6 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.153e-05/0.1279, allocations: 8 kB / 421.6 MB, free: 1.551 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1279, allocations: 4 kB / 421.6 MB, free: 1.547 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.1279, allocations: 7.969 kB / 421.7 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008054/0.1287, allocations: 0.6105 MB / 422.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.1287, allocations: 11.94 kB / 422.3 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007419/0.1295, allocations: 123.8 kB / 422.4 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.1295, allocations: 0 / 422.4 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.483e-05/0.1296, allocations: 27.97 kB / 422.4 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.1296, allocations: 3.984 kB / 422.4 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1296, allocations: 4 kB / 422.4 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1721/0.3017, allocations: 1.175 MB / 423.6 MB, free: 49.35 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.3019, allocations: 115.2 kB / 423.7 MB, free: 49.26 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.155e-05/0.302, allocations: 10.53 kB / 423.7 MB, free: 49.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004079/0.3024, allocations: 32.2 kB / 423.8 MB, free: 49.26 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001804/0.3026, allocations: 59.78 kB / 423.8 MB, free: 49.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001479/0.3027, allocations: 70.61 kB / 423.9 MB, free: 49.26 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001555/0.3029, allocations: 162.6 kB / 424 MB, free: 49.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3029, allocations: 0 / 424 MB, free: 49.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006255/0.3035, allocations: 174 kB / 424.2 MB, free: 49.18 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (crossCorrelationTest.correlation.int_X,crossCorrelationTest.correlation.int_Y,crossCorrelationTest.correlation.int_X2,crossCorrelationTest.correlation.int_Y2,crossCorrelationTest.correlation.int_XY,autoCorrelationTest.correlationTest.correlation.int_X,autoCorrelationTest.correlationTest.correlation.int_Y,autoCorrelationTest.correlationTest.correlation.int_X2,autoCorrelationTest.correlationTest.correlation.int_Y2,autoCorrelationTest.correlationTest.correlation.int_XY) * Number of discrete variables: 10 ($cse4[1],$cse4[2],$cse6[1],$cse6[2],$cse8[1],$cse8[2],$cse10[1],$cse10[2],noise1.localSeed,noise2.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 47 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006699/0.3042, allocations: 348.6 kB / 424.6 MB, free: 49.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001455/0.3057, allocations: 0.6585 MB / 425.2 MB, free: 49.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3057, allocations: 0 / 425.2 MB, free: 49.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000759/0.3064, allocations: 481.3 kB / 425.7 MB, free: 48.97 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.3068, allocations: 28.27 kB / 425.7 MB, free: 48.97 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.3084, allocations: 1.17 MB / 426.9 MB, free: 48.42 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002039/0.3087, allocations: 0.813 MB / 427.7 MB, free: 47.72 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000268/0.3089, allocations: 62.14 kB / 427.8 MB, free: 47.72 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3089, allocations: 3.719 kB / 427.8 MB, free: 47.72 MB / 350.1 MB Notification: Performance of Templates: time 0.009542/0.3185, allocations: 8.353 MB / 436.1 MB, free: 46.82 MB / 350.1 MB make -j1 -f AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.makefile make -j1 -f AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppAdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelationsCalcHelperMain.o OMCppAdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelationsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelationsCalcHelperMain.o] Error 1