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.001107/0.001106, allocations: 99.19 kB / 16.02 MB, free: 76 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.0009898/0.0009899, allocations: 185.6 kB / 16.92 MB, free: 6.688 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.499/1.499, allocations: 223.2 MB / 240.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.2083/0.2083, allocations: 3.884 MB / 296 MB, free: 3.992 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003274/0.0003275, allocations: 12 kB / 357.9 MB, free: 3.215 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1158, allocations: 51.16 MB / 409.1 MB, free: 12 kB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.VaryingDistribution): time 0.001766/0.1176, allocations: 1.254 MB / 410.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001916/0.1196, allocations: 1.118 MB / 411.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.206e-05/0.1196, allocations: 4 kB / 411.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001236/0.1198, allocations: 19.8 kB / 411.4 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.734e-05/0.1198, allocations: 3.938 kB / 411.5 MB, free: 13.59 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.0006226/0.1205, allocations: 203.5 kB / 411.7 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.1206, allocations: 147.7 kB / 411.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.72e-05/0.1207, allocations: 9.406 kB / 411.8 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.916e-05/0.1209, allocations: 59.77 kB / 411.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.121, allocations: 51.75 kB / 411.9 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.121, allocations: 4 kB / 411.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002969/0.1213, allocations: 211.6 kB / 412.1 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.211e-05/0.1213, allocations: 19.92 kB / 412.1 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.917e-05/0.1214, allocations: 69.44 kB / 412.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002731/0.1217, allocations: 207.6 kB / 412.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.1217, allocations: 0 / 412.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1217, allocations: 4 kB / 412.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.1217, allocations: 0 / 412.4 MB, free: 12.62 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.00162/0.1234, allocations: 1.305 MB / 413.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.1234, allocations: 8.031 kB / 413.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003446/0.1238, allocations: 52.78 kB / 413.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/0.124, allocations: 216 kB / 414 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.1241, allocations: 8.312 kB / 414 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.539e-05/0.1241, allocations: 12.38 kB / 414 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003577/0.1245, allocations: 169.9 kB / 414.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.1245, allocations: 0 / 414.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.1245, allocations: 11.94 kB / 414.2 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.1245, allocations: 8 kB / 414.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000333/0.1249, allocations: 143.9 kB / 414.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005972/0.1255, allocations: 364.6 kB / 414.7 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003818/0.1259, allocations: 226.4 kB / 414.9 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002798/0.1262, allocations: 188.8 kB / 415.1 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.1262, allocations: 0 / 415.1 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004368/0.1266, allocations: 304.4 kB / 415.4 MB, free: 9.441 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.382e-06/0.1266, allocations: 0 / 415.4 MB, free: 9.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009963/0.1276, allocations: 487 kB / 415.9 MB, free: 8.953 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.244e-05/0.1277, allocations: 97.09 kB / 416 MB, free: 8.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.1279, allocations: 158.2 kB / 416.1 MB, free: 8.676 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.1279, allocations: 25.7 kB / 416.1 MB, free: 8.645 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.218e-05/0.128, allocations: 104.4 kB / 416.3 MB, free: 8.535 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.143e-05/0.1281, allocations: 31.56 kB / 416.3 MB, free: 8.504 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-05/0.1281, allocations: 25.7 kB / 416.3 MB, free: 8.473 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.1283, allocations: 334.8 kB / 416.6 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.1285, allocations: 99.89 kB / 416.7 MB, free: 8.039 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001913/0.1287, allocations: 95.95 kB / 416.8 MB, free: 7.945 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005293/0.1293, allocations: 286.4 kB / 417.1 MB, free: 7.652 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1293, allocations: 0 / 417.1 MB, free: 7.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005474/0.1298, allocations: 311 kB / 417.4 MB, free: 7.336 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.381e-05/0.1299, allocations: 45.69 kB / 417.5 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.1299, allocations: 0 / 417.5 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.1299, allocations: 4 kB / 417.5 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.1301, allocations: 24.08 kB / 417.5 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.1301, allocations: 11.94 kB / 417.5 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.371e-05/0.1302, allocations: 23.89 kB / 417.5 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-05/0.1302, allocations: 11.98 kB / 417.5 MB, free: 7.211 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.0001975/0.1304, allocations: 195.4 kB / 417.7 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.13e-05/0.1305, allocations: 11.91 kB / 417.7 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.534e-05/0.1306, allocations: 16.78 kB / 417.7 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1306, allocations: 4 kB / 417.8 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1306, allocations: 0 / 417.8 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.1306, allocations: 0 / 417.8 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000205/0.1308, allocations: 233.3 kB / 418 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1308, allocations: 0 / 418 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.623e-05/0.1309, allocations: 15.98 kB / 418 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.1309, allocations: 4 kB / 418 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.1309, allocations: 4 kB / 418 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.131, allocations: 0 / 418 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.131, allocations: 0 / 418 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.132, allocations: 0.6117 MB / 418.6 MB, free: 6.031 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.31e-05/0.1321, allocations: 85.05 kB / 418.7 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.39e-05/0.1321, allocations: 15.98 kB / 418.7 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.868e-05/0.1322, allocations: 15.98 kB / 418.7 MB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.961e-05/0.1323, allocations: 15.91 kB / 418.7 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.256e-05/0.1324, allocations: 24.09 kB / 418.8 MB, free: 5.859 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000105/0.1325, allocations: 124.2 kB / 418.9 MB, free: 5.738 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1325, allocations: 0 / 418.9 MB, free: 5.738 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003719/0.1329, allocations: 83.98 kB / 419 MB, free: 5.656 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.0005389/0.1334, allocations: 254.6 kB / 419.2 MB, free: 5.438 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007073/0.1341, allocations: 443.2 kB / 419.7 MB, free: 4.992 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.1341, allocations: 0 / 419.7 MB, free: 4.992 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004556/0.1346, allocations: 371.2 kB / 420 MB, free: 4.617 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.1348, allocations: 27.86 kB / 420 MB, free: 4.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007549/0.1356, allocations: 425.6 kB / 420.5 MB, free: 4.141 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/0.136, allocations: 0.7121 MB / 421.2 MB, free: 3.402 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.898e-05/0.136, allocations: 15.42 kB / 421.2 MB, free: 3.387 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.136, allocations: 0 / 421.2 MB, free: 3.387 MB / 350.1 MB Notification: Performance of Templates: time 0.00538/0.1414, allocations: 3.084 MB / 424.3 MB, free: 320 kB / 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