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.0009528/0.0009527, allocations: 99.45 kB / 17.96 MB, free: 5.766 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.001227/0.001227, allocations: 178.7 kB / 18.86 MB, free: 4.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.026/2.026, allocations: 205.4 MB / 225 MB, free: 12.98 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.0004965/0.0004965, allocations: 12 kB / 282 MB, free: 3.406 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.134, allocations: 47.58 MB / 329.6 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002094/0.1361, allocations: 0.9578 MB / 330.6 MB, free: 2.781 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.1374, allocations: 465.5 kB / 331 MB, free: 2.328 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.31e-05/0.1375, allocations: 0 / 331 MB, free: 2.328 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 4.303e-05/0.1375, allocations: 3.938 kB / 331 MB, free: 2.324 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005517/0.1381, allocations: 59.86 kB / 331.1 MB, free: 2.266 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002118/0.1383, allocations: 59.89 kB / 331.1 MB, free: 2.207 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 8.419e-05/0.1384, allocations: 35.91 kB / 331.2 MB, free: 2.172 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.384e-05/0.1385, allocations: 3.984 kB / 331.2 MB, free: 2.168 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.497e-05/0.1385, allocations: 15.94 kB / 331.2 MB, free: 2.152 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.565e-05/0.1386, allocations: 23.91 kB / 331.2 MB, free: 2.129 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.1386, allocations: 4 kB / 331.2 MB, free: 2.125 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003048/0.1389, allocations: 111.8 kB / 331.3 MB, free: 2.016 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.156e-05/0.139, allocations: 39.84 kB / 331.4 MB, free: 1.977 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.642e-05/0.1391, allocations: 69.39 kB / 331.4 MB, free: 1.902 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002591/0.1394, allocations: 119.8 kB / 331.6 MB, free: 1.785 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1394, allocations: 4 kB / 331.6 MB, free: 1.781 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1394, allocations: 0 / 331.6 MB, free: 1.781 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1394, allocations: 0 / 331.6 MB, free: 1.781 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.0007175/0.1401, allocations: 0.5531 MB / 332.1 MB, free: 1.164 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.1402, allocations: 8.031 kB / 332.1 MB, free: 1.156 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001749/0.1404, allocations: 24.69 kB / 332.1 MB, free: 1.133 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.1405, allocations: 180.2 kB / 332.3 MB, free: 0.918 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.1406, allocations: 4.375 kB / 332.3 MB, free: 0.9141 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.1406, allocations: 8.359 kB / 332.3 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000359/0.141, allocations: 279.8 kB / 332.6 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.141, allocations: 4.188 kB / 332.6 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.141, allocations: 3.938 kB / 332.6 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.141, allocations: 0 / 332.6 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001751/0.1412, allocations: 151.7 kB / 332.8 MB, free: 476 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002306/0.1414, allocations: 198.3 kB / 333 MB, free: 224 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004288/0.1419, allocations: 493.2 kB / 333.4 MB, free: 15.71 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004047/0.1423, allocations: 481.6 kB / 333.9 MB, free: 15.24 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.1423, allocations: 0 / 333.9 MB, free: 15.24 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005234/0.1429, allocations: 484.6 kB / 334.4 MB, free: 14.72 MB / 286.1 MB Notification: Performance of pre-optimization done (n=46): time 1.533e-06/0.1429, allocations: 4 kB / 334.4 MB, free: 14.71 MB / 286.1 MB Notification: Performance of matching and sorting (n=46): time 0.0009254/0.1438, allocations: 0.7076 MB / 335.1 MB, free: 13.99 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/0.1439, allocations: 164.5 kB / 335.3 MB, free: 13.8 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.346e-05/0.144, allocations: 101.8 kB / 335.4 MB, free: 13.69 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.1441, allocations: 29.7 kB / 335.4 MB, free: 13.65 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.538e-05/0.1441, allocations: 85.12 kB / 335.5 MB, free: 13.57 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.391e-05/0.1442, allocations: 82.73 kB / 335.5 MB, free: 13.49 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.087e-05/0.1443, allocations: 33.7 kB / 335.6 MB, free: 13.45 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.1445, allocations: 330.9 kB / 335.9 MB, free: 13.12 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.743e-05/0.1446, allocations: 80.34 kB / 336 MB, free: 13.04 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.1447, allocations: 114.4 kB / 336.1 MB, free: 12.92 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003702/0.1451, allocations: 417.4 kB / 336.5 MB, free: 12.48 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1451, allocations: 0 / 336.5 MB, free: 12.48 MB / 286.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003991/0.1455, allocations: 348.7 kB / 336.8 MB, free: 12.12 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001114/0.1456, allocations: 111.3 kB / 336.9 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.1457, allocations: 0 / 336.9 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.1457, allocations: 8.094 kB / 337 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.076e-06/0.1457, allocations: 3.984 kB / 337 MB, free: 11.99 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.1457, allocations: 0 / 337 MB, free: 11.99 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.263e-05/0.1458, allocations: 27.69 kB / 337 MB, free: 11.96 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/0.1458, allocations: 12 kB / 337 MB, free: 11.95 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.0003062/0.1461, allocations: 291.7 kB / 337.3 MB, free: 11.64 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.015e-05/0.1462, allocations: 31.75 kB / 337.3 MB, free: 11.61 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.009e-05/0.1462, allocations: 13.55 kB / 337.3 MB, free: 11.6 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1462, allocations: 0 / 337.3 MB, free: 11.6 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1463, allocations: 0 / 337.3 MB, free: 11.6 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1463, allocations: 3.938 kB / 337.3 MB, free: 11.6 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002185/0.1465, allocations: 229.7 kB / 337.6 MB, free: 11.32 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1465, allocations: 0 / 337.6 MB, free: 11.32 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.352e-06/0.1465, allocations: 4 kB / 337.6 MB, free: 11.32 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1465, allocations: 3.938 kB / 337.6 MB, free: 11.32 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.08e-05/0.1466, allocations: 19.98 kB / 337.6 MB, free: 11.3 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.1466, allocations: 3.938 kB / 337.6 MB, free: 11.29 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1466, allocations: 0 / 337.6 MB, free: 11.29 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001311/0.1479, allocations: 1.232 MB / 338.8 MB, free: 10.03 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.221e-05/0.148, allocations: 104.8 kB / 338.9 MB, free: 9.906 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/0.1481, allocations: 75.91 kB / 339 MB, free: 9.832 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.714e-05/0.1482, allocations: 8 kB / 339 MB, free: 9.824 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.159e-05/0.1483, allocations: 8 kB / 339 MB, free: 9.816 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.627e-05/0.1483, allocations: 15.98 kB / 339 MB, free: 9.801 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.464e-05/0.1483, allocations: 83.28 kB / 339.1 MB, free: 9.719 MB / 286.1 MB Notification: Performance of sort global known variables: time 5.91e-07/0.1483, allocations: 0 / 339.1 MB, free: 9.719 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003968/0.1487, allocations: 87.98 kB / 339.2 MB, free: 9.633 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.0006552/0.1494, allocations: 305.3 kB / 339.5 MB, free: 9.34 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001972/0.1514, allocations: 2.123 MB / 341.6 MB, free: 7.191 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1514, allocations: 3.938 kB / 341.6 MB, free: 7.188 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001853/0.1533, allocations: 2.182 MB / 343.8 MB, free: 4.98 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.1535, allocations: 24 kB / 343.8 MB, free: 4.957 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007881/0.1543, allocations: 449.2 kB / 344.3 MB, free: 4.48 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004293/0.1548, allocations: 0.7286 MB / 345 MB, free: 3.719 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.672e-05/0.1548, allocations: 7.438 kB / 345 MB, free: 3.711 MB / 286.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1548, allocations: 0 / 345 MB, free: 3.711 MB / 286.1 MB Notification: Performance of Templates: time 0.006601/0.1614, allocations: 2.843 MB / 347.8 MB, free: 0.8672 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