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.0008659/0.0008658, allocations: 84.14 kB / 17.58 MB, free: 5.758 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.0008479/0.000848, allocations: 190.4 kB / 18.48 MB, free: 5.203 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.637/1.637, allocations: 205.4 MB / 224.6 MB, free: 13.07 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.0004442/0.0004443, allocations: 8 kB / 281.4 MB, free: 3.719 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1089, allocations: 47.57 MB / 329 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.001347/0.1103, allocations: 0.95 MB / 329.9 MB, free: 3.105 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008601/0.1112, allocations: 421.9 kB / 330.3 MB, free: 2.695 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.187e-05/0.1112, allocations: 3.938 kB / 330.3 MB, free: 2.691 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.489e-05/0.1113, allocations: 0 / 330.3 MB, free: 2.691 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004134/0.1117, allocations: 59.86 kB / 330.4 MB, free: 2.633 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001266/0.1118, allocations: 51.88 kB / 330.5 MB, free: 2.582 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 6.054e-05/0.1119, allocations: 39.78 kB / 330.5 MB, free: 2.543 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.9e-05/0.112, allocations: 4 kB / 330.5 MB, free: 2.539 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.65e-05/0.112, allocations: 19.98 kB / 330.5 MB, free: 2.52 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.752e-05/0.1121, allocations: 15.92 kB / 330.5 MB, free: 2.504 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.1121, allocations: 4 kB / 330.5 MB, free: 2.5 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001984/0.1123, allocations: 111.8 kB / 330.6 MB, free: 2.391 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.121e-05/0.1123, allocations: 27.91 kB / 330.7 MB, free: 2.363 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.415e-05/0.1124, allocations: 49.58 kB / 330.7 MB, free: 2.309 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.1126, allocations: 115.8 kB / 330.8 MB, free: 2.195 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1126, allocations: 0 / 330.8 MB, free: 2.195 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1126, allocations: 0 / 330.8 MB, free: 2.195 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.1126, allocations: 0 / 330.8 MB, free: 2.195 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.0007315/0.1133, allocations: 0.5646 MB / 331.4 MB, free: 1.57 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.1134, allocations: 8.031 kB / 331.4 MB, free: 1.562 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001338/0.1135, allocations: 23.8 kB / 331.4 MB, free: 1.539 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.1137, allocations: 171 kB / 331.6 MB, free: 1.332 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.1137, allocations: 0 / 331.6 MB, free: 1.332 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.1138, allocations: 12 kB / 331.6 MB, free: 1.32 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003267/0.1141, allocations: 275.2 kB / 331.9 MB, free: 1.039 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.1141, allocations: 4 kB / 331.9 MB, free: 1.035 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.1141, allocations: 4 kB / 331.9 MB, free: 1.031 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.1141, allocations: 0 / 331.9 MB, free: 1.031 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000166/0.1143, allocations: 151.7 kB / 332 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002175/0.1145, allocations: 198.3 kB / 332.2 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003767/0.1149, allocations: 493.1 kB / 332.7 MB, free: 140 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003729/0.1153, allocations: 473.8 kB / 333.2 MB, free: 15.66 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.251e-06/0.1153, allocations: 0 / 333.2 MB, free: 15.66 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004797/0.1158, allocations: 484.8 kB / 333.6 MB, free: 15.14 MB / 286.1 MB Notification: Performance of pre-optimization done (n=46): time 1.022e-06/0.1158, allocations: 0 / 333.6 MB, free: 15.14 MB / 286.1 MB Notification: Performance of matching and sorting (n=46): time 0.0008282/0.1166, allocations: 0.7115 MB / 334.4 MB, free: 14.42 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/0.1168, allocations: 164.6 kB / 334.5 MB, free: 14.23 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.245e-05/0.1169, allocations: 105.8 kB / 334.6 MB, free: 14.11 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.1169, allocations: 33.64 kB / 334.7 MB, free: 14.07 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.802e-05/0.1169, allocations: 81.14 kB / 334.7 MB, free: 13.99 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.643e-05/0.117, allocations: 86.81 kB / 334.8 MB, free: 13.91 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.117, allocations: 0 / 334.8 MB, free: 13.91 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.1172, allocations: 326.8 kB / 335.1 MB, free: 13.58 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.377e-05/0.1173, allocations: 80.34 kB / 335.2 MB, free: 13.5 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.767e-05/0.1174, allocations: 118.4 kB / 335.3 MB, free: 13.38 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001851/0.1176, allocations: 204.3 kB / 335.5 MB, free: 13.17 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1176, allocations: 0 / 335.5 MB, free: 13.17 MB / 286.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003632/0.1179, allocations: 348.7 kB / 335.9 MB, free: 12.81 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.313e-05/0.118, allocations: 111.3 kB / 336 MB, free: 12.69 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.118, allocations: 0 / 336 MB, free: 12.69 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.1181, allocations: 4 kB / 336 MB, free: 12.68 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.91e-07/0.1181, allocations: 0 / 336 MB, free: 12.68 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.1181, allocations: 0 / 336 MB, free: 12.68 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.756e-05/0.1181, allocations: 31.78 kB / 336 MB, free: 12.65 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.1182, allocations: 8 kB / 336 MB, free: 12.64 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 ($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.0002894/0.1185, allocations: 291.7 kB / 336.3 MB, free: 12.34 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.1185, allocations: 27.81 kB / 336.3 MB, free: 12.31 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.95e-05/0.1185, allocations: 13.52 kB / 336.3 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1185, allocations: 0 / 336.3 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.1186, allocations: 0 / 336.3 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1186, allocations: 3.938 kB / 336.3 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000202/0.1188, allocations: 233.3 kB / 336.6 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1188, allocations: 3.938 kB / 336.6 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.62e-07/0.1188, allocations: 0 / 336.6 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1188, allocations: 0 / 336.6 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.582e-05/0.1188, allocations: 19.98 kB / 336.6 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.1188, allocations: 7.953 kB / 336.6 MB, free: 11.99 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.1188, allocations: 4 kB / 336.6 MB, free: 11.98 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.12, allocations: 1.224 MB / 337.8 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.066e-05/0.1201, allocations: 92.86 kB / 337.9 MB, free: 10.62 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.1202, allocations: 67.94 kB / 338 MB, free: 10.55 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.707e-05/0.1202, allocations: 8 kB / 338 MB, free: 10.54 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.423e-05/0.1203, allocations: 15.94 kB / 338 MB, free: 10.53 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.481e-05/0.1203, allocations: 20.03 kB / 338 MB, free: 10.51 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.048e-05/0.1204, allocations: 87.27 kB / 338.1 MB, free: 10.42 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1204, allocations: 0 / 338.1 MB, free: 10.42 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003207/0.1207, allocations: 88 kB / 338.2 MB, free: 10.34 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 (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.0005678/0.1213, allocations: 309.4 kB / 338.5 MB, free: 10.04 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001713/0.123, allocations: 2.119 MB / 340.6 MB, free: 7.891 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.123, allocations: 4.125 kB / 340.6 MB, free: 7.887 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001708/0.1247, allocations: 2.182 MB / 342.8 MB, free: 5.68 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.125, allocations: 24 kB / 342.8 MB, free: 5.656 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006917/0.1257, allocations: 445.1 kB / 343.3 MB, free: 5.184 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/0.126, allocations: 0.7208 MB / 344 MB, free: 4.43 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.582e-05/0.126, allocations: 7.438 kB / 344 MB, free: 4.422 MB / 286.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1261, allocations: 4 kB / 344 MB, free: 4.418 MB / 286.1 MB Notification: Performance of Templates: time 0.005461/0.1315, allocations: 2.839 MB / 346.8 MB, free: 1.578 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++ 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_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