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.005971/0.005971, allocations: 101.1 kB / 15.88 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.001077/0.001077, allocations: 189.8 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.1336/0.1336, allocations: 3.883 MB / 294.5 MB, free: 3.281 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 59.91 kB / 355.4 MB, free: 4.07 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1121, allocations: 50.18 MB / 405.6 MB, free: 1.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.VaryingDistribution): time 0.002607/0.1147, allocations: 1.585 MB / 407.2 MB, free: 248 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001813/0.1165, allocations: 1.153 MB / 408.3 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.938e-05/0.1166, allocations: 0 / 408.3 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001161/0.1167, allocations: 15.88 kB / 408.4 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.155e-05/0.1168, allocations: 11.92 kB / 408.4 MB, free: 15.05 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.000604/0.1174, allocations: 195.6 kB / 408.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.1176, allocations: 143.7 kB / 408.7 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.044e-05/0.1177, allocations: 21.36 kB / 408.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.077e-05/0.1178, allocations: 59.77 kB / 408.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.869e-05/0.1178, allocations: 55.77 kB / 408.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.1179, allocations: 4 kB / 408.8 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002835/0.1182, allocations: 207.7 kB / 409 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.323e-05/0.1182, allocations: 23.92 kB / 409.1 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.64e-05/0.1183, allocations: 51.72 kB / 409.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002451/0.1185, allocations: 195.6 kB / 409.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1185, allocations: 0 / 409.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.62e-07/0.1186, allocations: 0 / 409.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.1186, allocations: 0 / 409.3 MB, free: 14.11 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.001468/0.12, allocations: 1.321 MB / 410.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.1201, allocations: 15.97 kB / 410.6 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000333/0.1204, allocations: 48.69 kB / 410.7 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.1207, allocations: 224 kB / 410.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.1207, allocations: 4.375 kB / 410.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/0.1207, allocations: 8.375 kB / 410.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003488/0.1211, allocations: 165.9 kB / 411.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.1211, allocations: 3.938 kB / 411.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/0.1211, allocations: 4 kB / 411.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.1211, allocations: 3.984 kB / 411.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000304/0.1214, allocations: 139.8 kB / 411.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005322/0.122, allocations: 356.7 kB / 411.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000371/0.1224, allocations: 210.5 kB / 411.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002558/0.1226, allocations: 176.9 kB / 412 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.1227, allocations: 0 / 412 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003723/0.123, allocations: 312.2 kB / 412.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.123, allocations: 0 / 412.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008957/0.1239, allocations: 466.6 kB / 412.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/0.124, allocations: 93.09 kB / 412.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.1242, allocations: 162.2 kB / 413 MB, free: 10.22 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.1242, allocations: 29.7 kB / 413 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.264e-05/0.1242, allocations: 96.45 kB / 413.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.447e-05/0.1243, allocations: 35.55 kB / 413.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.549e-05/0.1243, allocations: 41.7 kB / 413.2 MB, free: 10 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.1245, allocations: 326.8 kB / 413.5 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.1247, allocations: 95.89 kB / 413.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/0.1248, allocations: 93.84 kB / 413.7 MB, free: 9.492 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004099/0.1253, allocations: 278.3 kB / 413.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1253, allocations: 0 / 413.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000497/0.1258, allocations: 299.1 kB / 414.2 MB, free: 8.902 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.83e-05/0.1258, allocations: 49.69 kB / 414.3 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1259, allocations: 4 kB / 414.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.1259, allocations: 0 / 414.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.126, allocations: 23.97 kB / 414.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.126, allocations: 0 / 414.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.928e-05/0.1261, allocations: 15.91 kB / 414.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.908e-05/0.1262, allocations: 27.91 kB / 414.4 MB, free: 8.777 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 (globalSeed.seed,discreteNoise.actualGlobalSeed,discreteNoise.localSeed,globalSeed.id_impure,discreteNoise.r,discreteNoise.bufferStartTime,discreteNoise.buffer[2],discreteNoise.buffer[1],discreteNoise.state[4],discreteNoise.state[3],discreteNoise.state[2],discreteNoise.state[1],$whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001523/0.1263, allocations: 191.4 kB / 414.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.588e-05/0.1264, allocations: 19.91 kB / 414.6 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.095e-05/0.1264, allocations: 8.906 kB / 414.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.1264, allocations: 4 kB / 414.6 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1265, allocations: 0 / 414.6 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.1265, allocations: 0 / 414.6 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.1266, allocations: 233.3 kB / 414.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1266, allocations: 0 / 414.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.554e-05/0.1267, allocations: 15.98 kB / 414.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1268, allocations: 0 / 414.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/0.1268, allocations: 8 kB / 414.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1268, allocations: 4 kB / 414.8 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.1268, allocations: 4 kB / 414.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009749/0.1278, allocations: 0.5766 MB / 415.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.016e-05/0.1278, allocations: 92.95 kB / 415.5 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.519e-05/0.1279, allocations: 16.05 kB / 415.5 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.128, allocations: 11.98 kB / 415.5 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.64e-05/0.1281, allocations: 11.98 kB / 415.5 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-05/0.1281, allocations: 31.89 kB / 415.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.17e-05/0.1282, allocations: 116.1 kB / 415.7 MB, free: 7.336 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1282, allocations: 0 / 415.7 MB, free: 7.336 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003557/0.1286, allocations: 83.98 kB / 415.8 MB, free: 7.254 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 (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.0005226/0.1291, allocations: 243.8 kB / 416 MB, free: 7.043 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006597/0.1298, allocations: 439.2 kB / 416.4 MB, free: 6.602 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1298, allocations: 0 / 416.4 MB, free: 6.602 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003956/0.1302, allocations: 359.3 kB / 416.8 MB, free: 6.238 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.1304, allocations: 28.33 kB / 416.8 MB, free: 6.215 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006837/0.1311, allocations: 422.7 kB / 417.2 MB, free: 5.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.1314, allocations: 0.7083 MB / 417.9 MB, free: 5.035 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.807e-05/0.1314, allocations: 15.44 kB / 417.9 MB, free: 5.02 MB / 350.1 MB Notification: Performance of SimCode: time 3.086e-06/0.1314, allocations: 0 / 417.9 MB, free: 5.02 MB / 350.1 MB Notification: Performance of Templates: time 0.004718/0.1362, allocations: 3.117 MB / 421.1 MB, free: 1.918 MB / 350.1 MB make -j1 -f AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.makefile make -j1 -f AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.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.VaryingDistributionCalcHelperMain.o OMCppAdvancedNoise_AdvancedNoise.Examples.VaryingDistributionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppAdvancedNoise_AdvancedNoise.Examples.VaryingDistributionCalcHelperMain.o] Error 1