Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001074/0.001074, allocations: 93.3 kB / 16.96 MB, free: 6.461 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.001258/0.001258, allocations: 180.5 kB / 17.84 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 223.2 MB / 241.9 MB, free: 14.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002372/0.0002373, allocations: 12 kB / 301.4 MB, free: 6.23 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0956/0.09585, allocations: 50.42 MB / 351.9 MB, free: 3.805 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.001261/0.09718, allocations: 0.9391 MB / 352.8 MB, free: 2.855 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007504/0.09794, allocations: 431.6 kB / 353.2 MB, free: 2.434 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.917e-05/0.09798, allocations: 0 / 353.2 MB, free: 2.434 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.753e-05/0.09802, allocations: 3.938 kB / 353.2 MB, free: 2.43 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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.0004135/0.09844, allocations: 51.88 kB / 353.3 MB, free: 2.379 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001126/0.09856, allocations: 51.83 kB / 353.3 MB, free: 2.328 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.352e-05/0.09863, allocations: 39.89 kB / 353.4 MB, free: 2.289 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.943e-05/0.09869, allocations: 4 kB / 353.4 MB, free: 2.285 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.863e-05/0.09872, allocations: 15.92 kB / 353.4 MB, free: 2.27 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.087e-05/0.09877, allocations: 23.91 kB / 353.4 MB, free: 2.246 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.09879, allocations: 0 / 353.4 MB, free: 2.246 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001965/0.09899, allocations: 115.8 kB / 353.5 MB, free: 2.133 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.538e-05/0.09903, allocations: 27.92 kB / 353.6 MB, free: 2.105 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.501e-05/0.09909, allocations: 49.58 kB / 353.6 MB, free: 2.051 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.09925, allocations: 115.8 kB / 353.7 MB, free: 1.938 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.09926, allocations: 0 / 353.7 MB, free: 1.938 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.09927, allocations: 0 / 353.7 MB, free: 1.938 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.09928, allocations: 0 / 353.7 MB, free: 1.938 MB / 286.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.0005176/0.0998, allocations: 0.5604 MB / 354.3 MB, free: 1.316 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.09984, allocations: 8.031 kB / 354.3 MB, free: 1.309 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.09996, allocations: 23.8 kB / 354.3 MB, free: 1.285 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.1001, allocations: 187.2 kB / 354.5 MB, free: 1.062 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.1001, allocations: 4 kB / 354.5 MB, free: 1.059 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.1002, allocations: 4 kB / 354.5 MB, free: 1.055 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002903/0.1004, allocations: 267.2 kB / 354.8 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.1005, allocations: 0 / 354.8 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.1005, allocations: 4 kB / 354.8 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.1005, allocations: 3.953 kB / 354.8 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000145/0.1006, allocations: 151.9 kB / 354.9 MB, free: 0.625 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001784/0.1008, allocations: 198.3 kB / 355.1 MB, free: 388 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003794/0.1012, allocations: 497.2 kB / 355.6 MB, free: 15.87 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00033/0.1015, allocations: 473.6 kB / 356.1 MB, free: 15.4 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.124e-06/0.1016, allocations: 4 kB / 356.1 MB, free: 15.4 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004366/0.102, allocations: 488.5 kB / 356.5 MB, free: 14.88 MB / 302.1 MB Notification: Performance of pre-optimization done (n=46): time 1.092e-06/0.102, allocations: 0 / 356.5 MB, free: 14.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=46): time 0.0007353/0.1028, allocations: 0.7037 MB / 357.2 MB, free: 14.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.04e-05/0.1029, allocations: 160.5 kB / 357.4 MB, free: 13.97 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.178e-05/0.1029, allocations: 109.8 kB / 357.5 MB, free: 13.85 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.103, allocations: 25.7 kB / 357.5 MB, free: 13.82 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.103, allocations: 85.2 kB / 357.6 MB, free: 13.73 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.779e-05/0.1031, allocations: 86.81 kB / 357.7 MB, free: 13.65 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/0.1031, allocations: 4 kB / 357.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.1032, allocations: 326.8 kB / 358 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.153e-05/0.1033, allocations: 88.28 kB / 358.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.287e-05/0.1034, allocations: 106.4 kB / 358.2 MB, free: 13.12 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.1035, allocations: 192.4 kB / 358.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.1035, allocations: 0 / 358.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003288/0.1039, allocations: 356.7 kB / 358.7 MB, free: 12.55 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.097e-05/0.104, allocations: 111.3 kB / 358.9 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.104, allocations: 0 / 358.9 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.876e-06/0.104, allocations: 0 / 358.9 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-07/0.104, allocations: 0 / 358.9 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.104, allocations: 11.95 kB / 358.9 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.724e-05/0.1041, allocations: 19.75 kB / 358.9 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.1041, allocations: 11.98 kB / 358.9 MB, free: 12.39 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.0002499/0.1043, allocations: 303.7 kB / 359.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.554e-05/0.1044, allocations: 27.81 kB / 359.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.089e-05/0.1044, allocations: 5.891 kB / 359.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.1044, allocations: 0 / 359.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.1044, allocations: 8 kB / 359.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.1044, allocations: 11.92 kB / 359.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.1046, allocations: 229.3 kB / 359.5 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1046, allocations: 0 / 359.5 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/0.1046, allocations: 4 kB / 359.5 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1046, allocations: 0 / 359.5 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.571e-05/0.1046, allocations: 19.98 kB / 359.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1046, allocations: 0 / 359.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1047, allocations: 0 / 359.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.1058, allocations: 1.224 MB / 360.7 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.843e-05/0.1058, allocations: 104.8 kB / 360.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.61e-05/0.1059, allocations: 59.95 kB / 360.9 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.886e-05/0.106, allocations: 12 kB / 360.9 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.106, allocations: 11.98 kB / 360.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-05/0.106, allocations: 19.97 kB / 360.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.25e-05/0.1061, allocations: 79.28 kB / 361 MB, free: 10.17 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1061, allocations: 4 kB / 361 MB, free: 10.16 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000286/0.1064, allocations: 88.02 kB / 361.1 MB, free: 10.08 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.0005083/0.1069, allocations: 298.9 kB / 361.4 MB, free: 9.809 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001563/0.1085, allocations: 2.127 MB / 363.5 MB, free: 7.656 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1085, allocations: 0 / 363.5 MB, free: 7.656 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001462/0.1099, allocations: 2.178 MB / 365.7 MB, free: 5.453 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001862/0.1101, allocations: 24 kB / 365.7 MB, free: 5.43 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005719/0.1107, allocations: 437.3 kB / 366.1 MB, free: 4.965 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/0.111, allocations: 0.7247 MB / 366.9 MB, free: 4.207 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.034e-05/0.111, allocations: 7.438 kB / 366.9 MB, free: 4.199 MB / 302.1 MB Notification: Performance of SimCode: time 2.314e-06/0.111, allocations: 0 / 366.9 MB, free: 4.199 MB / 302.1 MB Notification: Performance of Templates: time 0.004481/0.1155, allocations: 2.865 MB / 369.7 MB, free: 1.34 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbersCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbersCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbersCalcHelperMain.o] Error 1