Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.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.SignalBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise") translateModel(AdvancedNoise.Examples.SignalBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 102.6 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.001528/0.001529, allocations: 176.6 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.555/1.555, 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.2185/0.2185, allocations: 3.877 MB / 295.6 MB, free: 3.906 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003437/0.0003437, allocations: 11.94 kB / 357.3 MB, free: 3.594 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1338, allocations: 51.17 MB / 408.4 MB, free: 392 kB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedNoise): time 0.002021/0.1358, allocations: 1.194 MB / 409.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001913/0.1378, allocations: 0.9744 MB / 410.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.132e-05/0.1379, allocations: 4 kB / 410.6 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001366/0.138, allocations: 11.86 kB / 410.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001578/0.1382, allocations: 15.88 kB / 410.6 MB, free: 14.16 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.0005045/0.1387, allocations: 147.6 kB / 410.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.1389, allocations: 103.8 kB / 410.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.65e-05/0.139, allocations: 11.98 kB / 410.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.1391, allocations: 35.8 kB / 410.9 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.704e-05/0.1392, allocations: 39.83 kB / 411 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.1392, allocations: 8 kB / 411 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002706/0.1395, allocations: 151.8 kB / 411.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.244e-05/0.1395, allocations: 19.92 kB / 411.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.955e-05/0.1396, allocations: 37.64 kB / 411.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00024/0.1398, allocations: 139.7 kB / 411.3 MB, free: 13.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1399, allocations: 4 kB / 411.3 MB, free: 13.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1399, allocations: 0 / 411.3 MB, free: 13.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1399, allocations: 0 / 411.3 MB, free: 13.47 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000659/0.1405, allocations: 411.2 kB / 411.7 MB, free: 13.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.1406, allocations: 12.03 kB / 411.7 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004802/0.1411, allocations: 55.83 kB / 411.8 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000325/0.1414, allocations: 214 kB / 412 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/0.1415, allocations: 4 kB / 412 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.1415, allocations: 4 kB / 412 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/0.1417, allocations: 81.58 kB / 412.1 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.1417, allocations: 0 / 412.1 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.1417, allocations: 4 kB / 412.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.1418, allocations: 7.953 kB / 412.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/0.1419, allocations: 59.89 kB / 412.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005909/0.1425, allocations: 356.7 kB / 412.5 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.1427, allocations: 74.55 kB / 412.6 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.756e-05/0.1428, allocations: 48.81 kB / 412.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.1428, allocations: 7.984 kB / 412.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.1429, allocations: 34.52 kB / 412.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.1429, allocations: 0 / 412.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003933/0.1433, allocations: 145.7 kB / 412.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.1433, allocations: 51.41 kB / 412.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.1435, allocations: 154.9 kB / 413 MB, free: 11.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001342/0.1436, allocations: 25.7 kB / 413 MB, free: 11.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.824e-05/0.1437, allocations: 104 kB / 413.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.1437, allocations: 19.66 kB / 413.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.024e-05/0.1438, allocations: 4 kB / 413.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001955/0.144, allocations: 322.8 kB / 413.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.57e-05/0.1441, allocations: 31.92 kB / 413.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.352e-05/0.1441, allocations: 47.91 kB / 413.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.428e-05/0.1442, allocations: 35.98 kB / 413.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.1443, allocations: 4 kB / 413.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002728/0.1445, allocations: 125.5 kB / 413.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.1446, allocations: 11.95 kB / 413.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.1446, allocations: 320 / 413.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.1446, allocations: 0 / 413.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.1447, allocations: 27.97 kB / 413.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.1447, allocations: 0 / 413.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.613e-05/0.1448, allocations: 15.84 kB / 413.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.105e-05/0.1448, allocations: 27.94 kB / 413.8 MB, free: 10.77 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: 4 (signalBasedNoise.localSeed,globalSeed.id_impure,signalBasedNoise.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): 11 * Array equations: 0 * Algorithm blocks: 0 * 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.0001206/0.145, allocations: 117.8 kB / 413.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.633e-05/0.145, allocations: 7.906 kB / 413.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004276/0.1455, allocations: 217.2 kB / 414.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.254e-05/0.1455, allocations: 11.92 kB / 414.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.1455, allocations: 0 / 414.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.1455, allocations: 0 / 414.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003164/0.1458, allocations: 221.5 kB / 414.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.1459, allocations: 0 / 414.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.495e-05/0.1459, allocations: 15.98 kB / 414.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.1459, allocations: 4 kB / 414.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.146, allocations: 0 / 414.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.146, allocations: 7.938 kB / 414.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.146, allocations: 4 kB / 414.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003204/0.1463, allocations: 255.3 kB / 414.6 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.616e-05/0.1464, allocations: 108.8 kB / 414.7 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.1464, allocations: 0 / 414.7 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.459e-05/0.1465, allocations: 15.92 kB / 414.7 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.759e-05/0.1466, allocations: 23.91 kB / 414.8 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-05/0.1466, allocations: 29.08 kB / 414.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.868e-05/0.1467, allocations: 109.1 kB / 414.9 MB, free: 9.555 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1467, allocations: 0 / 414.9 MB, free: 9.555 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003252/0.1471, allocations: 55.98 kB / 415 MB, free: 9.5 MB / 350.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: 5 ($cse2[1],$cse2[2],$cse4[1],$cse4[2],signalBasedNoise.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 7 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 1 * 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.0005052/0.1476, allocations: 233.5 kB / 415.2 MB, free: 9.309 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003718/0.1479, allocations: 107.8 kB / 415.3 MB, free: 9.203 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.148, allocations: 0 / 415.3 MB, free: 9.203 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001638/0.1481, allocations: 123.3 kB / 415.4 MB, free: 9.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.1484, allocations: 4 kB / 415.4 MB, free: 9.066 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009112/0.1493, allocations: 310.9 kB / 415.7 MB, free: 8.727 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005746/0.1499, allocations: 0.7043 MB / 416.4 MB, free: 7.996 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.848e-05/0.15, allocations: 19.42 kB / 416.4 MB, free: 7.977 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.15, allocations: 0 / 416.4 MB, free: 7.977 MB / 350.1 MB Notification: Performance of Templates: time 0.005437/0.1554, allocations: 2.506 MB / 419 MB, free: 5.473 MB / 350.1 MB make -j1 -f AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.makefile make -j1 -f AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.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.SignalBasedNoiseCalcHelperMain.o OMCppAdvancedNoise_AdvancedNoise.Examples.SignalBasedNoiseCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAdvancedNoise_AdvancedNoise.Examples.SignalBasedNoiseCalcHelperMain.o] Error 1