Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.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/OpenHydraulics 1.0.0-master/package.mo", uses=false) Using package OpenHydraulics with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/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(OpenHydraulics.DevelopmentTests.ThrottleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest") translateModel(OpenHydraulics.DevelopmentTests.ThrottleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009269/0.0009269, allocations: 99.2 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 174.8 kB / 16.58 MB, free: 6.418 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.978/1.978, allocations: 205.4 MB / 222.7 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05206/0.05207, allocations: 11.85 MB / 282.9 MB, free: 9.469 MB / 238.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: OpenHydraulics requested package Modelica of version 3.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005886/0.0005887, allocations: 23.94 kB / 343.6 MB, free: 22.47 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1175, allocations: 50.21 MB / 393.8 MB, free: 4.211 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest): time 0.00228/0.1198, allocations: 1.847 MB / 395.6 MB, free: 2.352 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002481/0.1223, allocations: 1.735 MB / 397.3 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.1225, allocations: 4 kB / 397.4 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002164/0.1227, allocations: 39.73 kB / 397.4 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003107/0.123, allocations: 103.2 kB / 397.5 MB, free: 476 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005589/0.1236, allocations: 251.2 kB / 397.7 MB, free: 224 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.1238, allocations: 163.1 kB / 397.9 MB, free: 60 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.1239, allocations: 25.53 kB / 397.9 MB, free: 36 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.784e-05/0.124, allocations: 51.8 kB / 398 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.1241, allocations: 63.77 kB / 398 MB, free: 15.92 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.1242, allocations: 8 kB / 398 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000392/0.1246, allocations: 219.7 kB / 398.3 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.259e-05/0.1246, allocations: 11.94 kB / 398.3 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.715e-05/0.1247, allocations: 57.58 kB / 398.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000289/0.1249, allocations: 199.8 kB / 398.5 MB, free: 15.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.125, allocations: 0 / 398.5 MB, free: 15.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.125, allocations: 0 / 398.5 MB, free: 15.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.125, allocations: 0 / 398.5 MB, free: 15.43 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005445/0.1255, allocations: 450.7 kB / 399 MB, free: 14.94 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.1256, allocations: 12.03 kB / 399 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.1256, allocations: 15.81 kB / 399 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.1259, allocations: 210.8 kB / 399.2 MB, free: 14.67 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.1259, allocations: 4 kB / 399.2 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/0.1259, allocations: 12 kB / 399.2 MB, free: 14.65 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/0.1261, allocations: 125.6 kB / 399.3 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.1262, allocations: 0 / 399.3 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.87e-05/0.1262, allocations: 7.984 kB / 399.3 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1262, allocations: 3.938 kB / 399.3 MB, free: 14.51 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001982/0.1264, allocations: 123.9 kB / 399.5 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.1275, allocations: 0.9149 MB / 400.4 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.1277, allocations: 66.48 kB / 400.4 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.16e-05/0.1277, allocations: 28.98 kB / 400.5 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001228/0.1279, allocations: 85.09 kB / 400.6 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.1279, allocations: 34.5 kB / 400.6 MB, free: 13.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.273e-06/0.1279, allocations: 0 / 400.6 MB, free: 13.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002567/0.1282, allocations: 101.6 kB / 400.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.1282, allocations: 51.41 kB / 400.7 MB, free: 12.9 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.1284, allocations: 215.7 kB / 400.9 MB, free: 12.68 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.1284, allocations: 25.7 kB / 401 MB, free: 12.65 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.702e-05/0.1285, allocations: 120 kB / 401.1 MB, free: 12.53 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.1285, allocations: 19.75 kB / 401.1 MB, free: 12.51 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-06/0.1285, allocations: 0 / 401.1 MB, free: 12.51 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1287, allocations: 326.8 kB / 401.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.58e-05/0.1288, allocations: 27.98 kB / 401.5 MB, free: 12.15 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.481e-05/0.1288, allocations: 27.98 kB / 401.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.892e-05/0.1289, allocations: 28 kB / 401.5 MB, free: 12.1 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1289, allocations: 4.031 kB / 401.5 MB, free: 12.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001872/0.1291, allocations: 117.4 kB / 401.6 MB, free: 11.97 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1291, allocations: 6.656 kB / 401.6 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.1291, allocations: 0 / 401.6 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.1291, allocations: 0 / 401.6 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.381e-05/0.1292, allocations: 19.98 kB / 401.7 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.1292, allocations: 288 / 401.7 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.05e-05/0.1293, allocations: 11.84 kB / 401.7 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.1293, allocations: 7.984 kB / 401.7 MB, free: 11.93 MB / 302.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0001069/0.1295, allocations: 134.5 kB / 401.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.346e-05/0.1295, allocations: 11.81 kB / 401.8 MB, free: 11.78 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002108/0.1297, allocations: 94.66 kB / 401.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.1297, allocations: 4 kB / 401.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1297, allocations: 0 / 401.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1298, allocations: 0 / 401.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004199/0.1302, allocations: 395.2 kB / 402.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1302, allocations: 4.031 kB / 402.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.594e-05/0.1302, allocations: 15.98 kB / 402.3 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1303, allocations: 0 / 402.3 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.1303, allocations: 0 / 402.3 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.1303, allocations: 0 / 402.3 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.1303, allocations: 7.938 kB / 402.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.1305, allocations: 176.6 kB / 402.5 MB, free: 11.01 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.21e-05/0.1306, allocations: 116.8 kB / 402.6 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.1306, allocations: 8 kB / 402.6 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.003e-05/0.1307, allocations: 3.938 kB / 402.6 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.146e-05/0.1307, allocations: 11.98 kB / 402.6 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.1307, allocations: 0 / 402.6 MB, free: 10.86 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000129/0.1309, allocations: 151 kB / 402.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1309, allocations: 0 / 402.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00033/0.1312, allocations: 75.98 kB / 402.9 MB, free: 10.63 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.0002998/0.1315, allocations: 186.9 kB / 403 MB, free: 10.44 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001688/0.1317, allocations: 51.98 kB / 403.1 MB, free: 10.39 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1317, allocations: 0 / 403.1 MB, free: 10.39 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.036e-05/0.1317, allocations: 31.92 kB / 403.1 MB, free: 10.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.1321, allocations: 43.78 kB / 403.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005053/0.1326, allocations: 336.3 kB / 403.5 MB, free: 9.961 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.1329, allocations: 0.7087 MB / 404.2 MB, free: 9.227 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.648e-05/0.133, allocations: 23.42 kB / 404.2 MB, free: 9.203 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.133, allocations: 4 kB / 404.2 MB, free: 9.199 MB / 302.1 MB Notification: Performance of Templates: time 0.004534/0.1375, allocations: 2.785 MB / 407 MB, free: 6.43 MB / 302.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.makefile make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.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 OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTestCalcHelperMain.o OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTestCalcHelperMain.o] Error 1