Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions") translateModel(Modelica.Blocks.Examples.Noise.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009123/0.0009193, allocations: 91.19 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001209/0.001209, allocations: 197.2 kB / 18.54 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002992/0.0002994, allocations: 11.98 kB / 307.3 MB, free: 1.621 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1401, allocations: 51.49 MB / 358.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.002557/0.1427, allocations: 1.258 MB / 360 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00336/0.1461, allocations: 1.396 MB / 361.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.789e-05/0.1462, allocations: 0 / 361.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001364/0.1464, allocations: 11.81 kB / 361.5 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001374/0.1465, allocations: 27.84 kB / 361.5 MB, free: 11.41 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.001394/0.1479, allocations: 299.2 kB / 361.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002002/0.1481, allocations: 123.6 kB / 361.9 MB, free: 11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.16e-05/0.1482, allocations: 9.484 kB / 361.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.761e-05/0.1483, allocations: 47.78 kB / 361.9 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002541/0.1486, allocations: 67.67 kB / 362 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.984e-05/0.1486, allocations: 12 kB / 362 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009391/0.1496, allocations: 443.2 kB / 362.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.448e-05/0.1497, allocations: 35.83 kB / 362.5 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.805e-05/0.1498, allocations: 41.64 kB / 362.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005448/0.1503, allocations: 275.7 kB / 362.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.1503, allocations: 0 / 362.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.1503, allocations: 0 / 362.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.1504, allocations: 8 kB / 362.8 MB, free: 10.07 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009826/0.1514, allocations: 494.6 kB / 363.3 MB, free: 9.535 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.013e-05/0.1514, allocations: 8.031 kB / 363.3 MB, free: 9.527 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000333/0.1518, allocations: 35.8 kB / 363.3 MB, free: 9.492 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.152, allocations: 208.4 kB / 363.5 MB, free: 9.246 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.84e-05/0.152, allocations: 11.94 kB / 363.6 MB, free: 9.234 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.1521, allocations: 12 kB / 363.6 MB, free: 9.223 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002688/0.1524, allocations: 128.1 kB / 363.7 MB, free: 9.082 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.1524, allocations: 0 / 363.7 MB, free: 9.082 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.1524, allocations: 0 / 363.7 MB, free: 9.082 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.1524, allocations: 4 kB / 363.7 MB, free: 9.078 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002284/0.1526, allocations: 71.95 kB / 363.8 MB, free: 9.008 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008471/0.1535, allocations: 0.5595 MB / 364.3 MB, free: 8.391 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004293/0.1539, allocations: 167.7 kB / 364.5 MB, free: 8.199 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.1541, allocations: 74.61 kB / 364.6 MB, free: 8.117 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.1541, allocations: 0 / 364.6 MB, free: 8.117 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003011/0.1544, allocations: 153.8 kB / 364.7 MB, free: 7.945 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.393e-06/0.1544, allocations: 4 kB / 364.7 MB, free: 7.941 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0007486/0.1552, allocations: 257.3 kB / 365 MB, free: 7.684 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/0.1553, allocations: 126.7 kB / 365.1 MB, free: 7.535 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002734/0.1556, allocations: 199.2 kB / 365.3 MB, free: 7.332 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.417e-05/0.1557, allocations: 49.64 kB / 365.3 MB, free: 7.277 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.1558, allocations: 108.6 kB / 365.4 MB, free: 7.168 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.194e-05/0.1559, allocations: 43.45 kB / 365.5 MB, free: 7.125 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.606e-05/0.1559, allocations: 4 kB / 365.5 MB, free: 7.121 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.1561, allocations: 334.8 kB / 365.8 MB, free: 6.785 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002928/0.1564, allocations: 103.9 kB / 365.9 MB, free: 6.684 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003098/0.1567, allocations: 143.2 kB / 366.1 MB, free: 6.531 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000325/0.1571, allocations: 124.5 kB / 366.2 MB, free: 6.41 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1571, allocations: 0 / 366.2 MB, free: 6.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000771/0.1579, allocations: 309.2 kB / 366.5 MB, free: 6.102 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.1579, allocations: 4 kB / 366.5 MB, free: 6.098 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.1579, allocations: 3.938 kB / 366.5 MB, free: 6.094 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.1579, allocations: 8.094 kB / 366.5 MB, free: 6.086 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/0.1582, allocations: 31.97 kB / 366.5 MB, free: 6.055 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.1582, allocations: 3.938 kB / 366.5 MB, free: 6.051 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.1583, allocations: 27.75 kB / 366.6 MB, free: 6.023 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.1584, allocations: 4 kB / 366.6 MB, free: 6.02 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition2,$whenCondition1,n,$PRE.truncatedNormalNoise.state[1],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.r,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r_raw,$PRE.uniformNoise.state[1],uniformNoise.state[1],$PRE.uniformNoise.state[2],uniformNoise.state[2],$PRE.uniformNoise.state[3],uniformNoise.state[3],$PRE.uniformNoise.state[4],uniformNoise.state[4],$PRE.uniformNoise.r,uniformNoise.r,$PRE.uniformNoise.r_raw,uniformNoise.r_raw,globalSeed.id_impure,uniformNoise.localSeed,uniformNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,truncatedNormalNoise.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * Array equations: 2 * 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.0002093/0.1586, allocations: 162.9 kB / 366.7 MB, free: 5.852 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.959e-05/0.1586, allocations: 15.81 kB / 366.7 MB, free: 5.836 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.603e-05/0.1587, allocations: 17.33 kB / 366.7 MB, free: 5.82 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.1587, allocations: 4 kB / 366.8 MB, free: 5.816 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.938e-05/0.1587, allocations: 0 / 366.8 MB, free: 5.816 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.1588, allocations: 3.938 kB / 366.8 MB, free: 5.812 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003013/0.1591, allocations: 217.5 kB / 367 MB, free: 5.551 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1591, allocations: 0 / 367 MB, free: 5.551 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.852e-05/0.1592, allocations: 11.98 kB / 367 MB, free: 5.539 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.1592, allocations: 4 kB / 367 MB, free: 5.535 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.1592, allocations: 4 kB / 367 MB, free: 5.531 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.1592, allocations: 0 / 367 MB, free: 5.531 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1592, allocations: 4 kB / 367 MB, free: 5.527 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005714/0.1598, allocations: 256.7 kB / 367.2 MB, free: 5.254 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.724e-05/0.1599, allocations: 92.86 kB / 367.3 MB, free: 5.145 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.012e-05/0.16, allocations: 19.98 kB / 367.4 MB, free: 5.125 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.85e-05/0.1601, allocations: 4 kB / 367.4 MB, free: 5.121 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.518e-05/0.1602, allocations: 19.97 kB / 367.4 MB, free: 5.102 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.1602, allocations: 4 kB / 367.4 MB, free: 5.098 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001532/0.1603, allocations: 133.2 kB / 367.5 MB, free: 4.969 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1604, allocations: 4 kB / 367.5 MB, free: 4.965 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007133/0.1611, allocations: 128 kB / 367.6 MB, free: 4.84 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,$whenCondition1,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,n) * Number of discrete states: 8 (truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001099/0.1622, allocations: 319 kB / 368 MB, free: 4.543 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006543/0.1629, allocations: 215.8 kB / 368.2 MB, free: 4.332 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.1629, allocations: 4.062 kB / 368.2 MB, free: 4.328 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00021/0.1631, allocations: 67.91 kB / 368.2 MB, free: 4.262 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.1634, allocations: 19.88 kB / 368.3 MB, free: 4.242 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007661/0.1642, allocations: 329.8 kB / 368.6 MB, free: 3.883 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/0.1646, allocations: 0.7201 MB / 369.3 MB, free: 3.133 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.197e-05/0.1647, allocations: 19.42 kB / 369.3 MB, free: 3.113 MB / 302.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1647, allocations: 0 / 369.3 MB, free: 3.113 MB / 302.1 MB Notification: Performance of Templates: time 0.2245/0.3892, allocations: 3.903 MB / 373.2 MB, free: 19.31 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.makefile make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.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 OMCppModelica_trunk_Modelica.Blocks.Examples.Noise.DistributionsCalcHelperMain.o OMCppModelica_trunk_Modelica.Blocks.Examples.Noise.DistributionsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Blocks.Examples.Noise.DistributionsCalcHelperMain.o] Error 1