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.001295/0.001295, allocations: 92.16 kB / 16.02 MB, free: 80 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.001487/0.001487, allocations: 175.7 kB / 16.92 MB, free: 6.652 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.573/1.573, allocations: 223.2 MB / 241 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.1925/0.1925, allocations: 3.877 MB / 296 MB, free: 3.914 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004959/0.000496, allocations: 8 kB / 357.9 MB, free: 3.188 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1328, allocations: 51.16 MB / 409.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedCorrelations): time 0.003604/0.1364, allocations: 1.758 MB / 410.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003982/0.1405, allocations: 1.659 MB / 412.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003719/0.1409, allocations: 4 kB / 412.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002512/0.1412, allocations: 35.59 kB / 412.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001047/0.1422, allocations: 199.4 kB / 412.7 MB, free: 12.31 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.001084/0.1433, allocations: 331.3 kB / 413 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008108/0.1441, allocations: 0.5419 MB / 413.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002981/0.1444, allocations: 99.38 kB / 413.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003743/0.1448, allocations: 175.3 kB / 413.8 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004317/0.1453, allocations: 227 kB / 414.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.1454, allocations: 20 kB / 414.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009217/0.1463, allocations: 395.3 kB / 414.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001488/0.1465, allocations: 91.64 kB / 414.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000263/0.1468, allocations: 196.6 kB / 414.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001018/0.1478, allocations: 0.5538 MB / 415.3 MB, free: 9.699 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1478, allocations: 0 / 415.3 MB, free: 9.699 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1478, allocations: 0 / 415.3 MB, free: 9.699 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.778e-05/0.1478, allocations: 0 / 415.3 MB, free: 9.699 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.001605/0.1494, allocations: 0.6263 MB / 415.9 MB, free: 9.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.1495, allocations: 8.031 kB / 415.9 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001349/0.1509, allocations: 168.2 kB / 416.1 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008436/0.1517, allocations: 371.1 kB / 416.5 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.464e-05/0.1518, allocations: 37.03 kB / 416.5 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.152, allocations: 36.38 kB / 416.5 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001291/0.1533, allocations: 486.3 kB / 417 MB, free: 7.895 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.1533, allocations: 192 / 417 MB, free: 7.895 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.835e-05/0.1534, allocations: 15.94 kB / 417 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.1534, allocations: 8 kB / 417 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001496/0.1549, allocations: 0.5491 MB / 417.6 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002397/0.1573, allocations: 1.229 MB / 418.8 MB, free: 6.039 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001474/0.1588, allocations: 0.5277 MB / 419.3 MB, free: 5.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007332/0.1595, allocations: 302 kB / 419.6 MB, free: 5.199 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.574e-05/0.1596, allocations: 16.41 kB / 419.6 MB, free: 5.184 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.1596, allocations: 43 kB / 419.7 MB, free: 5.133 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.855e-06/0.1596, allocations: 0 / 419.7 MB, free: 5.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.002574/0.1622, allocations: 0.8812 MB / 420.6 MB, free: 4.246 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.1623, allocations: 55.84 kB / 420.6 MB, free: 4.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002698/0.1626, allocations: 225 kB / 420.8 MB, free: 3.949 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.476e-05/0.1626, allocations: 37.7 kB / 420.9 MB, free: 3.906 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.1628, allocations: 160.9 kB / 421 MB, free: 3.746 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/0.1629, allocations: 173.5 kB / 421.2 MB, free: 3.574 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.163, allocations: 49.69 kB / 421.3 MB, free: 3.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.1632, allocations: 350.8 kB / 421.6 MB, free: 3.168 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007326/0.1639, allocations: 284.9 kB / 421.9 MB, free: 2.891 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007335/0.1647, allocations: 284.9 kB / 422.2 MB, free: 2.613 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001375/0.1661, allocations: 0.5311 MB / 422.7 MB, free: 2.082 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.1661, allocations: 0 / 422.7 MB, free: 2.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001768/0.1679, allocations: 0.7016 MB / 423.4 MB, free: 1.371 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.1679, allocations: 4 kB / 423.4 MB, free: 1.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.1679, allocations: 4 kB / 423.4 MB, free: 1.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.1679, allocations: 4 kB / 423.4 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008268/0.1688, allocations: 155.7 kB / 423.6 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.99e-05/0.1688, allocations: 4 kB / 423.6 MB, free: 1.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004136/0.1692, allocations: 63.5 kB / 423.6 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001401/0.1694, allocations: 70.39 kB / 423.7 MB, free: 1.074 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.0002627/0.1696, allocations: 173.5 kB / 423.9 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.76e-05/0.1698, allocations: 27.62 kB / 423.9 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2705/0.4403, allocations: 0.8641 MB / 424.7 MB, free: 46.35 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001908/0.4406, allocations: 8.906 kB / 424.8 MB, free: 46.35 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.358e-05/0.4406, allocations: 0 / 424.8 MB, free: 46.35 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.513e-05/0.4406, allocations: 6.281 kB / 424.8 MB, free: 46.35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001585/0.4422, allocations: 0.613 MB / 425.4 MB, free: 46.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.619e-05/0.4423, allocations: 2.531 kB / 425.4 MB, free: 46.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009864/0.4432, allocations: 125.8 kB / 425.5 MB, free: 46.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.518e-05/0.4433, allocations: 4.125 kB / 425.5 MB, free: 46.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.958e-05/0.4434, allocations: 21.2 kB / 425.5 MB, free: 46.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.255e-06/0.4434, allocations: 2.25 kB / 425.5 MB, free: 46.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.4434, allocations: 2.25 kB / 425.5 MB, free: 46.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002679/0.4461, allocations: 1.231 MB / 426.8 MB, free: 46.03 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.381e-05/0.4461, allocations: 118.9 kB / 426.9 MB, free: 45.94 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.131e-05/0.4462, allocations: 11.56 kB / 426.9 MB, free: 45.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000376/0.4466, allocations: 38.58 kB / 426.9 MB, free: 45.94 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/0.4468, allocations: 57.44 kB / 427 MB, free: 45.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/0.4469, allocations: 68.27 kB / 427.1 MB, free: 45.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001417/0.447, allocations: 161.4 kB / 427.2 MB, free: 45.86 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.447, allocations: 0 / 427.2 MB, free: 45.86 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006169/0.4477, allocations: 172.5 kB / 427.4 MB, free: 45.86 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.0007304/0.4484, allocations: 344.2 kB / 427.7 MB, free: 45.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001531/0.4499, allocations: 0.6879 MB / 428.4 MB, free: 45.76 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.45, allocations: 0 / 428.4 MB, free: 45.76 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008064/0.4508, allocations: 496 kB / 428.9 MB, free: 45.63 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.4512, allocations: 33.56 kB / 428.9 MB, free: 45.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.4531, allocations: 1.208 MB / 430.1 MB, free: 45.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.4534, allocations: 0.8151 MB / 430.9 MB, free: 44.39 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002642/0.4537, allocations: 65.3 kB / 431 MB, free: 44.39 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4537, allocations: 0 / 431 MB, free: 44.39 MB / 350.1 MB Notification: Performance of Templates: time 0.01127/0.4649, allocations: 8.294 MB / 439.3 MB, free: 43.57 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