Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.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.TimeBasedCorrelations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations") translateModel(AdvancedNoise.Examples.TimeBasedCorrelations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005437/0.005437, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001075/0.001075, allocations: 188.3 kB / 16.79 MB, free: 5.809 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.1429/0.1429, allocations: 3.877 MB / 294.5 MB, free: 3.266 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001024/0.001024, allocations: 59.91 kB / 355.4 MB, free: 4.066 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09767/0.09871, allocations: 50.19 MB / 405.6 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedCorrelations): time 0.003317/0.1021, allocations: 2.072 MB / 407.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002619/0.1047, allocations: 1.558 MB / 409.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001338/0.1049, allocations: 8 kB / 409.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001839/0.1051, allocations: 31.66 kB / 409.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006264/0.1057, allocations: 211.3 kB / 409.5 MB, free: 13.94 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.0006395/0.1063, allocations: 295.5 kB / 409.8 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004621/0.1068, allocations: 0.5653 MB / 410.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001855/0.107, allocations: 101.9 kB / 410.4 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002398/0.1073, allocations: 207.2 kB / 410.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002587/0.1075, allocations: 247 kB / 410.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.87e-05/0.1076, allocations: 24 kB / 410.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004916/0.1081, allocations: 323.5 kB / 411.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.1082, allocations: 99.56 kB / 411.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001879/0.1084, allocations: 187 kB / 411.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005724/0.109, allocations: 0.5384 MB / 412 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.109, allocations: 0 / 412 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.109, allocations: 0 / 412 MB, free: 11.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.109, allocations: 8 kB / 412 MB, free: 11.38 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.00294/0.112, allocations: 2.449 MB / 414.5 MB, free: 8.855 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.112, allocations: 12.03 kB / 414.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001335/0.1134, allocations: 164.3 kB / 414.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007487/0.1141, allocations: 371.9 kB / 415 MB, free: 8.281 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.933e-05/0.1142, allocations: 32.94 kB / 415.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.502e-05/0.1143, allocations: 48.27 kB / 415.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/0.1155, allocations: 0.5719 MB / 415.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.1156, allocations: 192 / 415.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-05/0.1156, allocations: 15.94 kB / 415.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.1156, allocations: 8 kB / 415.7 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001543/0.1172, allocations: 0.6269 MB / 416.3 MB, free: 6.969 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001971/0.1192, allocations: 1.151 MB / 417.5 MB, free: 5.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001537/0.1207, allocations: 0.6871 MB / 418.2 MB, free: 5.074 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008832/0.1216, allocations: 0.5096 MB / 418.7 MB, free: 4.562 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.378e-05/0.1217, allocations: 12.3 kB / 418.7 MB, free: 4.551 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00115/0.1228, allocations: 0.752 MB / 419.4 MB, free: 3.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.014e-06/0.1229, allocations: 0 / 419.4 MB, free: 3.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=58): time 0.002853/0.1257, allocations: 1.388 MB / 420.8 MB, free: 2.344 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.041e-05/0.1258, allocations: 134.8 kB / 421 MB, free: 2.188 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002526/0.1261, allocations: 258.5 kB / 421.2 MB, free: 1.922 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.372e-05/0.1261, allocations: 37.7 kB / 421.3 MB, free: 1.879 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.85e-05/0.1262, allocations: 161 kB / 421.4 MB, free: 1.719 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/0.1264, allocations: 173.5 kB / 421.6 MB, free: 1.547 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002102/0.1266, allocations: 122.2 kB / 421.7 MB, free: 1.422 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1268, allocations: 350.7 kB / 422 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007936/0.1276, allocations: 349 kB / 422.4 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007573/0.1283, allocations: 361.3 kB / 422.7 MB, free: 392 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1608/0.2891, allocations: 0.8238 MB / 423.6 MB, free: 49.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.2892, allocations: 0.5 kB / 423.6 MB, free: 49.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001973/0.2911, allocations: 0.9264 MB / 424.5 MB, free: 49.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.414e-05/0.2912, allocations: 101.7 kB / 424.6 MB, free: 49.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.2913, allocations: 0 / 424.6 MB, free: 49.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.053e-05/0.2913, allocations: 4.781 kB / 424.6 MB, free: 49.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000752/0.2921, allocations: 129.1 kB / 424.7 MB, free: 49.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.2921, allocations: 6.844 kB / 424.7 MB, free: 49.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003851/0.2925, allocations: 71.66 kB / 424.8 MB, free: 49.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-05/0.2926, allocations: 50.05 kB / 424.8 MB, free: 49.39 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: 26 (globalSeed.seed,noise2.actualGlobalSeed,noise2.localSeed,globalSeed.id_impure,noise1.actualGlobalSeed,noise1.localSeed,noise2.r,noise2.bufferStartTime,noise2.buffer[2],noise2.buffer[1],noise2.state[4],noise2.state[3],noise2.state[2],noise2.state[1],noise1.r,noise1.bufferStartTime,noise1.buffer[2],noise1.buffer[1],noise1.state[4],noise1.state[3],noise1.state[2],noise1.state[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 2 * 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.0003134/0.2929, allocations: 295.3 kB / 425.1 MB, free: 49.21 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.834e-05/0.293, allocations: 41.84 kB / 425.2 MB, free: 49.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001988/0.295, allocations: 1.14 MB / 426.3 MB, free: 49.1 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.295, allocations: 2.906 kB / 426.3 MB, free: 49.1 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.295, allocations: 0 / 426.3 MB, free: 49.1 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.295, allocations: 6.516 kB / 426.3 MB, free: 49.1 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005086/0.2955, allocations: 0.6025 MB / 426.9 MB, free: 48.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.2955, allocations: 0.875 kB / 426.9 MB, free: 48.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006969/0.2962, allocations: 108.1 kB / 427 MB, free: 48.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.2963, allocations: 3.094 kB / 427 MB, free: 48.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.014e-05/0.2963, allocations: 27.45 kB / 427.1 MB, free: 48.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.2963, allocations: 3.188 kB / 427.1 MB, free: 48.74 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2963, allocations: 3.844 kB / 427.1 MB, free: 48.74 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002658/0.299, allocations: 1.682 MB / 428.7 MB, free: 48.13 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.541e-05/0.2991, allocations: 114.5 kB / 428.9 MB, free: 48.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.2992, allocations: 37.02 kB / 428.9 MB, free: 48.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003709/0.2995, allocations: 36.39 kB / 428.9 MB, free: 48.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/0.2997, allocations: 58.22 kB / 429 MB, free: 48.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.613e-05/0.2998, allocations: 53.45 kB / 429 MB, free: 48.01 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001229/0.2999, allocations: 176.1 kB / 429.2 MB, free: 47.9 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.01e-07/0.2999, allocations: 0 / 429.2 MB, free: 47.9 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004751/0.3004, allocations: 185.7 kB / 429.4 MB, free: 47.87 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: 20 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,noise1.state[1],noise1.state[2],noise1.state[3],noise1.state[4],noise1.buffer[1],noise1.buffer[2],noise1.bufferStartTime,noise1.r,noise2.state[1],noise2.state[2],noise2.state[3],noise2.state[4],noise2.buffer[1],noise2.buffer[2],noise2.bufferStartTime,noise2.r) * Number of discrete states: 20 (noise2.buffer[2],noise2.buffer[1],noise2.r,noise2.bufferStartTime,noise2.state[4],noise2.state[3],noise2.state[2],noise2.state[1],$whenCondition2,$whenCondition1,noise1.buffer[2],noise1.buffer[1],noise1.r,noise1.bufferStartTime,noise1.state[4],noise1.state[3],noise1.state[2],noise1.state[1],$whenCondition4,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 2 * 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 Backend phase and start with SimCode phase: time 0.000579/0.301, allocations: 319.2 kB / 429.7 MB, free: 47.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001821/0.3028, allocations: 1.236 MB / 430.9 MB, free: 47.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3029, allocations: 0 / 430.9 MB, free: 47.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009792/0.3038, allocations: 0.8991 MB / 431.8 MB, free: 46.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.3042, allocations: 49.44 kB / 431.9 MB, free: 46.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/0.3058, allocations: 1.27 MB / 433.2 MB, free: 46.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002115/0.3061, allocations: 0.8035 MB / 434 MB, free: 45.35 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000224/0.3063, allocations: 50.25 kB / 434 MB, free: 45.34 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3063, allocations: 4 kB / 434 MB, free: 45.34 MB / 350.1 MB Notification: Performance of Templates: time 0.008978/0.3153, allocations: 8.249 MB / 442.3 MB, free: 44.46 MB / 350.1 MB make -j1 -f AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.makefile make -j1 -f AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.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.TimeBasedCorrelationsCalcHelperMain.o OMCppAdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelationsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelationsCalcHelperMain.o] Error 1