Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1024|r128|r64",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001455/0.001456, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.00126/0.00126, allocations: 194 kB / 18.72 MB, free: 4.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.965/1.965, allocations: 205.1 MB / 224.6 MB, free: 12.49 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 43.92 kB / 280.6 MB, free: 3.613 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1235, allocations: 46.64 MB / 327.2 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002878/0.1264, allocations: 1.293 MB / 328.5 MB, free: 3.594 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.1276, allocations: 481.4 kB / 329 MB, free: 3.125 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.612e-05/0.1276, allocations: 0 / 329 MB, free: 3.125 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 4.158e-05/0.1277, allocations: 0 / 329 MB, free: 3.125 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004544/0.1281, allocations: 59.81 kB / 329.1 MB, free: 3.066 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001327/0.1283, allocations: 59.88 kB / 329.1 MB, free: 3.008 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 9.109e-05/0.1284, allocations: 35.91 kB / 329.2 MB, free: 2.973 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.735e-05/0.1284, allocations: 4 kB / 329.2 MB, free: 2.969 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.55e-05/0.1285, allocations: 19.92 kB / 329.2 MB, free: 2.949 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.093e-05/0.1285, allocations: 15.92 kB / 329.2 MB, free: 2.934 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.1285, allocations: 4 kB / 329.2 MB, free: 2.93 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002188/0.1288, allocations: 119.8 kB / 329.3 MB, free: 2.812 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.217e-05/0.1288, allocations: 39.84 kB / 329.4 MB, free: 2.773 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.469e-05/0.1289, allocations: 43.69 kB / 329.4 MB, free: 2.73 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002012/0.1291, allocations: 119.8 kB / 329.5 MB, free: 2.613 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1291, allocations: 0 / 329.5 MB, free: 2.613 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.103e-06/0.1291, allocations: 0 / 329.5 MB, free: 2.613 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.1291, allocations: 0 / 329.5 MB, free: 2.613 MB / 270.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.0007016/0.1299, allocations: 0.5648 MB / 330.1 MB, free: 1.984 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.1299, allocations: 12.03 kB / 330.1 MB, free: 1.973 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001591/0.1301, allocations: 28.73 kB / 330.1 MB, free: 1.945 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.1302, allocations: 172.3 kB / 330.3 MB, free: 1.738 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.1303, allocations: 4.375 kB / 330.3 MB, free: 1.734 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.1303, allocations: 4.375 kB / 330.3 MB, free: 1.73 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003368/0.1306, allocations: 287.7 kB / 330.6 MB, free: 1.438 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.1306, allocations: 4.188 kB / 330.6 MB, free: 1.434 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.1307, allocations: 3.938 kB / 330.6 MB, free: 1.43 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.1307, allocations: 0 / 330.6 MB, free: 1.43 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001607/0.1308, allocations: 147.7 kB / 330.7 MB, free: 1.285 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002384/0.1311, allocations: 198.3 kB / 330.9 MB, free: 1.039 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004646/0.1316, allocations: 0.4893 MB / 331.4 MB, free: 0.5312 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003814/0.132, allocations: 469.7 kB / 331.9 MB, free: 68 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-06/0.132, allocations: 3.938 kB / 331.9 MB, free: 64 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005622/0.1325, allocations: 484.6 kB / 332.4 MB, free: 15.54 MB / 286.1 MB Notification: Performance of pre-optimization done (n=46): time 1.433e-06/0.1326, allocations: 3.938 kB / 332.4 MB, free: 15.54 MB / 286.1 MB Notification: Performance of matching and sorting (n=46): time 0.000921/0.1335, allocations: 0.7192 MB / 333.1 MB, free: 14.8 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.1336, allocations: 160.6 kB / 333.2 MB, free: 14.61 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.229e-05/0.1337, allocations: 101.8 kB / 333.3 MB, free: 14.5 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.1337, allocations: 29.7 kB / 333.4 MB, free: 14.47 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.071e-05/0.1338, allocations: 81.14 kB / 333.4 MB, free: 14.39 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.626e-05/0.1339, allocations: 86.81 kB / 333.5 MB, free: 14.3 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.579e-05/0.1339, allocations: 41.7 kB / 333.6 MB, free: 14.25 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.1341, allocations: 330.8 kB / 333.9 MB, free: 13.92 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.214e-05/0.1342, allocations: 84.34 kB / 334 MB, free: 13.84 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.83e-05/0.1343, allocations: 106.4 kB / 334.1 MB, free: 13.73 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003803/0.1346, allocations: 421.3 kB / 334.5 MB, free: 13.29 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.1347, allocations: 4 kB / 334.5 MB, free: 13.29 MB / 286.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003994/0.1351, allocations: 336.8 kB / 334.8 MB, free: 12.94 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001098/0.1352, allocations: 119.3 kB / 334.9 MB, free: 12.81 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1352, allocations: 0 / 334.9 MB, free: 12.81 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.1352, allocations: 0 / 334.9 MB, free: 12.81 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.242e-06/0.1352, allocations: 0 / 334.9 MB, free: 12.81 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.1352, allocations: 96 / 334.9 MB, free: 12.81 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.306e-05/0.1353, allocations: 35.62 kB / 335 MB, free: 12.77 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.1353, allocations: 8 kB / 335 MB, free: 12.77 MB / 286.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 (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],r1024,r128,r64,$whenCondition2,iImpure,rImpure,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000275/0.1356, allocations: 295.7 kB / 335.3 MB, free: 12.45 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.935e-05/0.1357, allocations: 31.75 kB / 335.3 MB, free: 12.42 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.247e-05/0.1357, allocations: 5.562 kB / 335.3 MB, free: 12.42 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1357, allocations: 0 / 335.3 MB, free: 12.42 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.1357, allocations: 3.938 kB / 335.3 MB, free: 12.41 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.1357, allocations: 4 kB / 335.3 MB, free: 12.41 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/0.1359, allocations: 233.3 kB / 335.5 MB, free: 12.13 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1359, allocations: 0 / 335.5 MB, free: 12.13 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.42e-07/0.1359, allocations: 0 / 335.5 MB, free: 12.13 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1359, allocations: 7.938 kB / 335.5 MB, free: 12.12 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/0.136, allocations: 20 kB / 335.6 MB, free: 12.11 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.136, allocations: 3.984 kB / 335.6 MB, free: 12.1 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.136, allocations: 4 kB / 335.6 MB, free: 12.1 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/0.1373, allocations: 1.232 MB / 336.8 MB, free: 10.83 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.004e-05/0.1373, allocations: 92.86 kB / 336.9 MB, free: 10.72 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.1375, allocations: 71.88 kB / 337 MB, free: 10.65 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.034e-05/0.1375, allocations: 8 kB / 337 MB, free: 10.64 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/0.1376, allocations: 16.02 kB / 337 MB, free: 10.63 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.757e-05/0.1376, allocations: 19.98 kB / 337 MB, free: 10.61 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.175e-05/0.1376, allocations: 79.28 kB / 337.1 MB, free: 10.53 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1377, allocations: 0 / 337.1 MB, free: 10.53 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003463/0.138, allocations: 91.94 kB / 337.2 MB, free: 10.44 MB / 286.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 (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.0005489/0.1386, allocations: 291.1 kB / 337.5 MB, free: 10.16 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001701/0.1403, allocations: 2.131 MB / 339.6 MB, free: 8.004 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1403, allocations: 3.938 kB / 339.6 MB, free: 8 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001658/0.1419, allocations: 2.186 MB / 341.8 MB, free: 5.789 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/0.1422, allocations: 20 kB / 341.8 MB, free: 5.77 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006604/0.1428, allocations: 443.9 kB / 342.2 MB, free: 5.297 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.1432, allocations: 0.7247 MB / 343 MB, free: 4.547 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.244e-05/0.1432, allocations: 11.44 kB / 343 MB, free: 4.535 MB / 286.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1432, allocations: 0 / 343 MB, free: 4.535 MB / 286.1 MB Notification: Performance of Templates: time 0.004904/0.1481, allocations: 2.851 MB / 345.8 MB, free: 1.684 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile make -j1 -f Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers.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 OMCppModelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbersCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbersCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbersCalcHelperMain.o] Error 1