Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.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.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1024|r128|r64",fileNamePrefix="Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers") translateModel(Modelica.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1024|r128|r64",fileNamePrefix="Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008936/0.0008934, allocations: 92.11 kB / 17.63 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009398/0.0009399, allocations: 192.5 kB / 18.54 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.512/1.512, allocations: 227.3 MB / 246.6 MB, free: 12.05 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002877/0.0002877, allocations: 8 kB / 307.3 MB, free: 1.637 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1413, allocations: 51.49 MB / 358.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.001336/0.1427, allocations: 0.9619 MB / 359.8 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009337/0.1437, allocations: 421.8 kB / 360.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.688e-05/0.1437, allocations: 0 / 360.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.711e-05/0.1437, allocations: 3.938 kB / 360.2 MB, free: 12.75 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.typeBindings: time 0.0004175/0.1442, allocations: 59.84 kB / 360.2 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001211/0.1443, allocations: 47.89 kB / 360.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.592e-05/0.1444, allocations: 43.83 kB / 360.3 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.587e-05/0.1444, allocations: 7.938 kB / 360.3 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.85e-05/0.1445, allocations: 8 kB / 360.3 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.305e-05/0.1445, allocations: 27.91 kB / 360.4 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.1445, allocations: 0 / 360.4 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000195/0.1447, allocations: 111.8 kB / 360.5 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.404e-05/0.1448, allocations: 35.91 kB / 360.5 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.412e-05/0.1449, allocations: 45.64 kB / 360.5 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.145, allocations: 107.8 kB / 360.7 MB, free: 12.26 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.438e-06/0.145, allocations: 4 kB / 360.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.1451, allocations: 3.938 kB / 360.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1451, allocations: 0 / 360.7 MB, free: 12.25 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0005853/0.1457, allocations: 0.5488 MB / 361.2 MB, free: 11.64 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.1457, allocations: 12.03 kB / 361.2 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001341/0.1459, allocations: 27.8 kB / 361.2 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.146, allocations: 175.2 kB / 361.4 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.1461, allocations: 4 kB / 361.4 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.1461, allocations: 7.953 kB / 361.4 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002831/0.1464, allocations: 271.2 kB / 361.7 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.1464, allocations: 4 kB / 361.7 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.1464, allocations: 0 / 361.7 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1464, allocations: 4 kB / 361.7 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.1466, allocations: 147.9 kB / 361.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001881/0.1468, allocations: 198.3 kB / 362 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003848/0.1472, allocations: 0.4893 MB / 362.5 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003737/0.1475, allocations: 474.4 kB / 363 MB, free: 9.727 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.323e-06/0.1476, allocations: 4 kB / 363 MB, free: 9.723 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004753/0.148, allocations: 488.8 kB / 363.5 MB, free: 9.199 MB / 302.1 MB Notification: Performance of pre-optimization done (n=46): time 1.042e-06/0.148, allocations: 0 / 363.5 MB, free: 9.199 MB / 302.1 MB Notification: Performance of matching and sorting (n=46): time 0.0008491/0.1489, allocations: 0.7076 MB / 364.2 MB, free: 8.473 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.149, allocations: 156.5 kB / 364.3 MB, free: 8.289 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.593e-05/0.1491, allocations: 105.9 kB / 364.4 MB, free: 8.176 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.1491, allocations: 29.7 kB / 364.5 MB, free: 8.141 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.132e-05/0.1492, allocations: 89.14 kB / 364.6 MB, free: 8.051 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.546e-05/0.1493, allocations: 78.81 kB / 364.6 MB, free: 7.973 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.285e-06/0.1493, allocations: 4 kB / 364.6 MB, free: 7.969 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.1495, allocations: 326.8 kB / 365 MB, free: 7.641 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.268e-05/0.1495, allocations: 84.34 kB / 365 MB, free: 7.559 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.1497, allocations: 110.2 kB / 365.1 MB, free: 7.445 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.1498, allocations: 200.4 kB / 365.3 MB, free: 7.238 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.1499, allocations: 4 kB / 365.3 MB, free: 7.234 MB / 302.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003704/0.1502, allocations: 348.7 kB / 365.7 MB, free: 6.875 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001129/0.1503, allocations: 115.3 kB / 365.8 MB, free: 6.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1504, allocations: 3.938 kB / 365.8 MB, free: 6.746 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1504, allocations: 0 / 365.8 MB, free: 6.746 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.733e-06/0.1504, allocations: 0 / 365.8 MB, free: 6.746 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.1504, allocations: 4 kB / 365.8 MB, free: 6.742 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.848e-05/0.1505, allocations: 19.75 kB / 365.8 MB, free: 6.723 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.1505, allocations: 8 kB / 365.8 MB, free: 6.715 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 46 ($whenCondition2,r64,r128,r1024,state64[1],state64[2],state128[1],state128[2],state128[3],state128[4],state1024[1],state1024[2],state1024[3],state1024[4],state1024[5],state1024[6],state1024[7],state1024[8],state1024[9],state1024[10],state1024[11],state1024[12],state1024[13],state1024[14],state1024[15],state1024[16],state1024[17],state1024[18],state1024[19],state1024[20],state1024[21],state1024[22],state1024[23],state1024[24],state1024[25],state1024[26],state1024[27],state1024[28],state1024[29],state1024[30],state1024[31],state1024[32],state1024[33],$whenCondition1,rImpure,iImpure) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.0002806/0.1508, allocations: 307.7 kB / 366.1 MB, free: 6.395 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.934e-05/0.1508, allocations: 23.81 kB / 366.2 MB, free: 6.371 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.899e-05/0.1509, allocations: 17.45 kB / 366.2 MB, free: 6.352 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.1509, allocations: 0 / 366.2 MB, free: 6.352 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.1509, allocations: 4 kB / 366.2 MB, free: 6.348 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1509, allocations: 0 / 366.2 MB, free: 6.348 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002233/0.1511, allocations: 229.3 kB / 366.4 MB, free: 6.074 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.1511, allocations: 4 kB / 366.4 MB, free: 6.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.81e-07/0.1511, allocations: 0 / 366.4 MB, free: 6.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1511, allocations: 0 / 366.4 MB, free: 6.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.997e-05/0.1512, allocations: 19.98 kB / 366.4 MB, free: 6.051 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1512, allocations: 3.953 kB / 366.4 MB, free: 6.047 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1512, allocations: 0 / 366.4 MB, free: 6.047 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/0.1524, allocations: 1.228 MB / 367.7 MB, free: 4.785 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.298e-05/0.1525, allocations: 96.86 kB / 367.8 MB, free: 4.672 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.1526, allocations: 63.94 kB / 367.8 MB, free: 4.609 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.419e-05/0.1527, allocations: 12 kB / 367.8 MB, free: 4.598 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.615e-05/0.1527, allocations: 15.94 kB / 367.8 MB, free: 4.582 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-05/0.1528, allocations: 16 kB / 367.9 MB, free: 4.566 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.807e-05/0.1528, allocations: 87.3 kB / 367.9 MB, free: 4.48 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1528, allocations: 0 / 367.9 MB, free: 4.48 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003445/0.1532, allocations: 84 kB / 368 MB, free: 4.398 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 46 ($whenCondition2,r64,r128,r1024,state64[1],state64[2],state128[1],state128[2],state128[3],state128[4],state1024[1],state1024[2],state1024[3],state1024[4],state1024[5],state1024[6],state1024[7],state1024[8],state1024[9],state1024[10],state1024[11],state1024[12],state1024[13],state1024[14],state1024[15],state1024[16],state1024[17],state1024[18],state1024[19],state1024[20],state1024[21],state1024[22],state1024[23],state1024[24],state1024[25],state1024[26],state1024[27],state1024[28],state1024[29],state1024[30],state1024[31],state1024[32],state1024[33],$whenCondition1,rImpure,iImpure) * Number of discrete states: 46 (iImpure,rImpure,$whenCondition1,r1024,r128,r64,state1024[33],state1024[32],state1024[31],state1024[30],state1024[29],state1024[28],state1024[27],state1024[26],state1024[25],state1024[24],state1024[23],state1024[22],state1024[21],state1024[20],state1024[19],state1024[18],state1024[17],state1024[16],state1024[15],state1024[14],state1024[13],state1024[12],state1024[11],state1024[10],state1024[9],state1024[8],state1024[7],state1024[6],state1024[5],state1024[4],state1024[3],state1024[2],state1024[1],state128[4],state128[3],state128[2],state128[1],state64[2],state64[1],$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.000633/0.1538, allocations: 303.5 kB / 368.3 MB, free: 4.125 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001885/0.1557, allocations: 2.119 MB / 370.4 MB, free: 1.98 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1557, allocations: 4 kB / 370.4 MB, free: 1.977 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.211/0.3667, allocations: 2.182 MB / 372.6 MB, free: 20.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.3671, allocations: 22.62 kB / 372.6 MB, free: 20.93 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007951/0.3679, allocations: 429.4 kB / 373.1 MB, free: 20.73 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.3682, allocations: 0.725 MB / 373.8 MB, free: 20.02 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.563e-05/0.3682, allocations: 8.594 kB / 373.8 MB, free: 20.02 MB / 302.1 MB Notification: Performance of SimCode: time 1.422e-06/0.3682, allocations: 0 / 373.8 MB, free: 20.02 MB / 302.1 MB Notification: Performance of Templates: time 0.006275/0.3745, allocations: 2.851 MB / 376.7 MB, free: 19.75 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile make -j1 -f Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.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.Math.Random.Examples.GenerateRandomNumbersCalcHelperMain.o OMCppModelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbersCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbersCalcHelperMain.o] Error 1