Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Math.Random.TestTruncatedDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions") translateModel(ModelicaTest.Math.Random.TestTruncatedDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009965/0.0009967, allocations: 95.23 kB / 16.67 MB, free: 6.59 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.001306/0.001306, allocations: 180 kB / 17.57 MB, free: 6.191 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.062/2.062, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2729/0.2729, allocations: 43.59 MB / 315.6 MB, free: 420 kB / 254.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.0005978/0.0005978, allocations: 14.34 kB / 385.2 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1372, allocations: 58.87 MB / 444.1 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestTruncatedDistributions): time 0.0006943/0.1379, allocations: 240.6 kB / 444.3 MB, free: 4.949 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003397/0.1414, allocations: 2.376 MB / 446.7 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.499e-05/0.1414, allocations: 0 / 446.7 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.25e-05/0.1414, allocations: 0 / 446.7 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.405e-06/0.1415, allocations: 0 / 446.7 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001772/0.1432, allocations: 473.4 kB / 447.2 MB, free: 2.09 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 3.793e-05/0.1433, allocations: 4 kB / 447.2 MB, free: 2.086 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.621e-05/0.1434, allocations: 7.984 kB / 447.2 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.971e-05/0.1434, allocations: 0 / 447.2 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.137e-05/0.1434, allocations: 3.938 kB / 447.2 MB, free: 2.074 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.402e-06/0.1434, allocations: 0 / 447.2 MB, free: 2.074 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001378/0.1448, allocations: 0.7291 MB / 447.9 MB, free: 1.344 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.243e-05/0.1448, allocations: 3.938 kB / 447.9 MB, free: 1.34 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.751e-05/0.1449, allocations: 25.7 kB / 447.9 MB, free: 1.309 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007151/0.1456, allocations: 291.8 kB / 448.2 MB, free: 1.023 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1456, allocations: 7.938 kB / 448.2 MB, free: 1.016 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1456, allocations: 0 / 448.2 MB, free: 1.016 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1456, allocations: 4 kB / 448.2 MB, free: 1.012 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000531/0.1462, allocations: 433.1 kB / 448.7 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.1462, allocations: 8.031 kB / 448.7 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.645e-05/0.1463, allocations: 0.9375 kB / 448.7 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.916e-05/0.1464, allocations: 164.4 kB / 448.8 MB, free: 336 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.1464, allocations: 384 / 448.8 MB, free: 336 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.1464, allocations: 4.375 kB / 448.8 MB, free: 332 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.1465, allocations: 34.02 kB / 448.9 MB, free: 292 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1466, allocations: 0 / 448.9 MB, free: 292 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.1466, allocations: 4 kB / 448.9 MB, free: 288 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.1466, allocations: 0 / 448.9 MB, free: 288 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.7e-05/0.1466, allocations: 7.938 kB / 448.9 MB, free: 280 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000122/0.1468, allocations: 145.7 kB / 449 MB, free: 84 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.194e-05/0.1468, allocations: 18.61 kB / 449 MB, free: 56 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.49e-05/0.1468, allocations: 8.797 kB / 449 MB, free: 44 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.867e-06/0.1468, allocations: 0 / 449 MB, free: 44 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.569e-05/0.1469, allocations: 68.2 kB / 449.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 3.337e-06/0.1469, allocations: 3.984 kB / 449.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002074/0.1471, allocations: 67.39 kB / 449.2 MB, free: 15.88 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.759e-05/0.1472, allocations: 81.11 kB / 449.3 MB, free: 15.78 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.452e-05/0.1473, allocations: 89.86 kB / 449.4 MB, free: 15.68 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.1473, allocations: 29.64 kB / 449.4 MB, free: 15.65 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.768e-05/0.1474, allocations: 80.14 kB / 449.5 MB, free: 15.57 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.571e-05/0.1474, allocations: 0 / 449.5 MB, free: 15.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.415e-05/0.1474, allocations: 17.84 kB / 449.5 MB, free: 15.54 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.1476, allocations: 310.8 kB / 449.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.347e-05/0.1476, allocations: 4 kB / 449.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.133e-06/0.1476, allocations: 0 / 449.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.317e-05/0.1477, allocations: 64.25 kB / 449.8 MB, free: 15.14 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.1477, allocations: 0 / 449.8 MB, free: 15.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.264e-05/0.1478, allocations: 67.34 kB / 449.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.163e-05/0.1479, allocations: 35.83 kB / 449.9 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1479, allocations: 4.094 kB / 450 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.1479, allocations: 0 / 450 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.323e-06/0.1479, allocations: 0 / 450 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.793e-05/0.1479, allocations: 3.984 kB / 450 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.58e-05/0.1479, allocations: 4 kB / 450 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.148, allocations: 0 / 450 MB, free: 15.02 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001073/0.1481, allocations: 139.5 kB / 450.1 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.46e-05/0.1481, allocations: 7.938 kB / 450.1 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.549e-05/0.1481, allocations: 3.125 kB / 450.1 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1481, allocations: 4 kB / 450.1 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1481, allocations: 0 / 450.1 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.1481, allocations: 0 / 450.1 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.1483, allocations: 145.7 kB / 450.3 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1483, allocations: 0 / 450.3 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.152e-06/0.1483, allocations: 4 kB / 450.3 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.1483, allocations: 3.938 kB / 450.3 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.1483, allocations: 4 kB / 450.3 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.1483, allocations: 0 / 450.3 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.1483, allocations: 3.938 kB / 450.3 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/0.1485, allocations: 102.8 kB / 450.4 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.365e-05/0.1485, allocations: 77.11 kB / 450.4 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.1485, allocations: 3.938 kB / 450.4 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.262e-05/0.1486, allocations: 4 kB / 450.5 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.645e-05/0.1486, allocations: 0 / 450.5 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.1486, allocations: 0 / 450.5 MB, free: 14.41 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.688e-05/0.1486, allocations: 75.28 kB / 450.5 MB, free: 14.34 MB / 334.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1486, allocations: 4.031 kB / 450.5 MB, free: 14.34 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005694/0.1492, allocations: 152 kB / 450.7 MB, free: 14.19 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0009468/0.1502, allocations: 330.8 kB / 451 MB, free: 13.86 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001147/0.1503, allocations: 59.41 kB / 451.1 MB, free: 13.79 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.1503, allocations: 64 / 451.1 MB, free: 13.79 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.893e-05/0.1504, allocations: 67.34 kB / 451.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.1505, allocations: 6.641 kB / 451.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002301/0.1507, allocations: 108.4 kB / 451.2 MB, free: 13.57 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.151, allocations: 0.6692 MB / 451.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.875e-05/0.1511, allocations: 7.438 kB / 451.9 MB, free: 12.87 MB / 334.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1511, allocations: 0 / 451.9 MB, free: 12.87 MB / 334.1 MB Notification: Performance of Templates: time 0.007259/0.1583, allocations: 3.28 MB / 455.2 MB, free: 9.586 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributions.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 OMCppModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributionsCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributionsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Math.Random.TestTruncatedDistributionsCalcHelperMain.o] Error 1