Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.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.VaryingDistribution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution") translateModel(AdvancedNoise.Examples.VaryingDistribution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 102.7 kB / 15.71 MB, free: 460 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.001776/0.001776, allocations: 173.8 kB / 16.58 MB, free: 6.402 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.487/1.487, allocations: 223.2 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.1738/0.1738, allocations: 3.874 MB / 295.6 MB, free: 3.934 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003122/0.0003122, allocations: 8 kB / 357.3 MB, free: 3.598 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1254, allocations: 51.17 MB / 408.4 MB, free: 392 kB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.VaryingDistribution): time 0.002132/0.1276, allocations: 1.227 MB / 409.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00198/0.1297, allocations: 1.045 MB / 410.7 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.148e-05/0.1298, allocations: 0 / 410.7 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001362/0.1299, allocations: 11.86 kB / 410.7 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.256e-05/0.13, allocations: 11.94 kB / 410.7 MB, free: 14.07 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.0006894/0.1307, allocations: 199.5 kB / 410.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.1309, allocations: 127.7 kB / 411 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.322e-05/0.131, allocations: 17.38 kB / 411.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.1311, allocations: 59.77 kB / 411.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.1312, allocations: 59.8 kB / 411.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.1312, allocations: 4 kB / 411.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003115/0.1315, allocations: 195.6 kB / 411.4 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.602e-05/0.1316, allocations: 19.91 kB / 411.4 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.121e-05/0.1317, allocations: 49.64 kB / 411.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000269/0.1319, allocations: 195.6 kB / 411.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1319, allocations: 0 / 411.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.132, allocations: 0 / 411.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.132, allocations: 0 / 411.6 MB, free: 13.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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.001739/0.1337, allocations: 1.309 MB / 412.9 MB, free: 11.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1338, allocations: 12.03 kB / 413 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003622/0.1341, allocations: 43.84 kB / 413 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.1344, allocations: 214.8 kB / 413.2 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.1345, allocations: 4 kB / 413.2 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/0.1345, allocations: 4 kB / 413.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003634/0.1349, allocations: 173.5 kB / 413.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.1349, allocations: 4 kB / 413.4 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.1349, allocations: 0 / 413.4 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.1349, allocations: 3.953 kB / 413.4 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003295/0.1353, allocations: 159.8 kB / 413.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006646/0.1359, allocations: 360.6 kB / 413.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004262/0.1364, allocations: 214.5 kB / 414.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002849/0.1367, allocations: 184.8 kB / 414.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.1367, allocations: 3.984 kB / 414.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004759/0.1372, allocations: 308.3 kB / 414.6 MB, free: 9.992 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.382e-06/0.1372, allocations: 0 / 414.6 MB, free: 9.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009312/0.1381, allocations: 475.1 kB / 415.1 MB, free: 9.516 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.388e-05/0.1382, allocations: 101 kB / 415.2 MB, free: 9.398 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.1384, allocations: 158.2 kB / 415.3 MB, free: 9.234 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.1384, allocations: 25.7 kB / 415.3 MB, free: 9.203 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.377e-05/0.1385, allocations: 104.5 kB / 415.4 MB, free: 9.094 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.868e-05/0.1385, allocations: 39.45 kB / 415.5 MB, free: 9.055 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.929e-06/0.1386, allocations: 0 / 415.5 MB, free: 9.055 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.1387, allocations: 322.8 kB / 415.8 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003059/0.139, allocations: 95.95 kB / 415.9 MB, free: 8.637 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000194/0.1392, allocations: 99.94 kB / 416 MB, free: 8.539 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002447/0.1395, allocations: 147.8 kB / 416.1 MB, free: 8.391 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1395, allocations: 0 / 416.1 MB, free: 8.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005555/0.1401, allocations: 303.3 kB / 416.4 MB, free: 8.082 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.453e-05/0.1401, allocations: 51.03 kB / 416.5 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1402, allocations: 0 / 416.5 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.1402, allocations: 7.953 kB / 416.5 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001991/0.1404, allocations: 31.92 kB / 416.5 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.1404, allocations: 4 kB / 416.5 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.569e-05/0.1405, allocations: 19.89 kB / 416.5 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.135e-05/0.1406, allocations: 19.97 kB / 416.6 MB, free: 7.945 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: 14 ($whenCondition1,$whenCondition2,discreteNoise.state[1],discreteNoise.state[2],discreteNoise.state[3],discreteNoise.state[4],discreteNoise.buffer[1],discreteNoise.buffer[2],discreteNoise.bufferStartTime,discreteNoise.r,globalSeed.id_impure,discreteNoise.localSeed,discreteNoise.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0002282/0.1408, allocations: 187.4 kB / 416.7 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.166e-05/0.1409, allocations: 15.81 kB / 416.8 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.879e-05/0.1409, allocations: 16.83 kB / 416.8 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.1409, allocations: 4 kB / 416.8 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.141, allocations: 3.953 kB / 416.8 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.141, allocations: 0 / 416.8 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002064/0.1412, allocations: 221.6 kB / 417 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.1412, allocations: 4 kB / 417 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.435e-05/0.1413, allocations: 15.98 kB / 417 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.1413, allocations: 0 / 417 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.354e-05/0.1413, allocations: 7.984 kB / 417 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.1413, allocations: 3.938 kB / 417 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1413, allocations: 4 kB / 417 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.1424, allocations: 0.5992 MB / 417.6 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.187e-05/0.1425, allocations: 85.05 kB / 417.7 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.153e-05/0.1425, allocations: 11.94 kB / 417.7 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.001e-05/0.1426, allocations: 19.98 kB / 417.7 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.626e-05/0.1427, allocations: 7.984 kB / 417.7 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.175e-05/0.1428, allocations: 32.03 kB / 417.8 MB, free: 6.609 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.951e-05/0.1429, allocations: 120 kB / 417.9 MB, free: 6.492 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1429, allocations: 0 / 417.9 MB, free: 6.492 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004015/0.1433, allocations: 87.98 kB / 418 MB, free: 6.406 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (continuousMean.mu) * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,discreteNoise.state[1],discreteNoise.state[2],discreteNoise.state[3],discreteNoise.state[4],discreteNoise.buffer[1],discreteNoise.buffer[2],discreteNoise.bufferStartTime,discreteNoise.r) * Number of discrete states: 10 (discreteNoise.buffer[2],discreteNoise.buffer[1],discreteNoise.r,discreteNoise.bufferStartTime,discreteNoise.state[4],discreteNoise.state[3],discreteNoise.state[2],discreteNoise.state[1],$whenCondition2,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * 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.0005527/0.1438, allocations: 252.5 kB / 418.2 MB, free: 6.188 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007531/0.1446, allocations: 451.2 kB / 418.7 MB, free: 5.734 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.249e-06/0.1446, allocations: 4 kB / 418.7 MB, free: 5.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004269/0.1451, allocations: 363.3 kB / 419 MB, free: 5.363 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.1453, allocations: 15.94 kB / 419 MB, free: 5.348 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007423/0.1461, allocations: 421.5 kB / 419.5 MB, free: 4.902 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/0.1464, allocations: 0.7082 MB / 420.2 MB, free: 4.168 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.95e-05/0.1465, allocations: 15.42 kB / 420.2 MB, free: 4.152 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1465, allocations: 4 kB / 420.2 MB, free: 4.148 MB / 350.1 MB Notification: Performance of Templates: time 0.005603/0.1521, allocations: 3.09 MB / 423.3 MB, free: 1.07 MB / 350.1 MB make -j1 -f AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.makefile make -j1 -f AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppAdvancedNoise_AdvancedNoise.Examples.VaryingDistributionCalcHelperMain.o OMCppAdvancedNoise_AdvancedNoise.Examples.VaryingDistributionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAdvancedNoise_AdvancedNoise.Examples.VaryingDistributionCalcHelperMain.o] Error 1