Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.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.ServoValveMeteringTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest") translateModel(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007788/0.0007788, allocations: 99.36 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.0009288/0.0009289, allocations: 177.1 kB / 16.58 MB, free: 6.422 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.902/1.902, allocations: 205.4 MB / 222.8 MB, free: 5.633 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.0512/0.0512, allocations: 11.86 MB / 282.9 MB, free: 9.465 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.0005738/0.0005738, allocations: 14.5 kB / 343.6 MB, free: 22.48 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1198, allocations: 50.21 MB / 393.8 MB, free: 4.211 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest): time 0.004419/0.1243, allocations: 3.88 MB / 397.6 MB, free: 316 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004337/0.1286, allocations: 2.504 MB / 400.1 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003794/0.1291, allocations: 11.94 kB / 400.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007423/0.1298, allocations: 418.6 kB / 400.6 MB, free: 13.38 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:12:14-12:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:11:65-11:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.0008807/0.1307, allocations: 461.5 kB / 401 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001436/0.1321, allocations: 466.5 kB / 401.5 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008672/0.133, allocations: 0.7854 MB / 402.3 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003121/0.1333, allocations: 143.7 kB / 402.4 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003511/0.1337, allocations: 298.8 kB / 402.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004334/0.1341, allocations: 398.5 kB / 403.1 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.763e-05/0.1342, allocations: 24 kB / 403.1 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004709/0.1347, allocations: 203.8 kB / 403.3 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002033/0.1349, allocations: 223.2 kB / 403.5 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000145/0.1351, allocations: 169.2 kB / 403.7 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007632/0.1358, allocations: 0.7601 MB / 404.4 MB, free: 9.48 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.1358, allocations: 0 / 404.4 MB, free: 9.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1359, allocations: 0 / 404.4 MB, free: 9.48 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.1359, allocations: 0 / 404.4 MB, free: 9.48 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001514/0.1374, allocations: 1.085 MB / 405.5 MB, free: 8.344 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.1374, allocations: 8.031 kB / 405.5 MB, free: 8.336 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001345/0.1376, allocations: 110.6 kB / 405.7 MB, free: 8.227 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007648/0.1384, allocations: 0.6005 MB / 406.3 MB, free: 7.582 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/0.1384, allocations: 29 kB / 406.3 MB, free: 7.551 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.209e-05/0.1385, allocations: 40 kB / 406.3 MB, free: 7.512 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007197/0.1392, allocations: 450.4 kB / 406.8 MB, free: 7.066 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.1392, allocations: 3.938 kB / 406.8 MB, free: 7.062 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.263e-05/0.1392, allocations: 16 kB / 406.8 MB, free: 7.047 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.1393, allocations: 8 kB / 406.8 MB, free: 7.039 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007354/0.14, allocations: 455.8 kB / 407.2 MB, free: 6.598 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002856/0.1429, allocations: 2.489 MB / 409.7 MB, free: 3.824 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006787/0.1436, allocations: 319.6 kB / 410 MB, free: 3.508 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002378/0.1438, allocations: 124.7 kB / 410.2 MB, free: 3.383 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.702e-05/0.1439, allocations: 7.984 kB / 410.2 MB, free: 3.375 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.1439, allocations: 38.56 kB / 410.2 MB, free: 3.328 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 1.914e-06/0.1439, allocations: 0 / 410.2 MB, free: 3.328 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.0009096/0.1448, allocations: 464.8 kB / 410.7 MB, free: 2.867 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.1449, allocations: 51.41 kB / 410.7 MB, free: 2.805 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00174/0.1466, allocations: 1.364 MB / 412.1 MB, free: 1.422 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.1466, allocations: 29.7 kB / 412.1 MB, free: 1.387 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003905/0.147, allocations: 448.3 kB / 412.5 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.877e-05/0.1471, allocations: 94.64 kB / 412.6 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.959e-05/0.1472, allocations: 8 kB / 412.6 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.1473, allocations: 318 kB / 412.9 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003832/0.1477, allocations: 131.9 kB / 413.1 MB, free: 408 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003824/0.1481, allocations: 199.5 kB / 413.3 MB, free: 180 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003026/0.1485, allocations: 139.8 kB / 413.4 MB, free: 40 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.1485, allocations: 11.95 kB / 413.4 MB, free: 28 kB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001323/0.1498, allocations: 464.2 kB / 413.9 MB, free: 15.56 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.1498, allocations: 8.234 kB / 413.9 MB, free: 15.55 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.1499, allocations: 8 kB / 413.9 MB, free: 15.55 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.447e-05/0.1499, allocations: 11.88 kB / 413.9 MB, free: 15.54 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005901/0.1505, allocations: 83.89 kB / 414 MB, free: 15.45 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.997e-05/0.1505, allocations: 11.97 kB / 414 MB, free: 15.44 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005433/0.1511, allocations: 55.38 kB / 414 MB, free: 15.39 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.724e-05/0.1512, allocations: 19.98 kB / 414.1 MB, free: 15.37 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 3 (VR100.data.zetaLaminarKnown,VR10.data.zetaLaminarKnown,VR30.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.000478/0.1516, allocations: 297.7 kB / 414.4 MB, free: 15.07 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001882/0.1518, allocations: 98.73 kB / 414.5 MB, free: 14.97 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001311/0.1532, allocations: 466.4 kB / 414.9 MB, free: 14.51 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/0.1532, allocations: 4 kB / 414.9 MB, free: 14.5 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.1532, allocations: 0 / 414.9 MB, free: 14.5 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.1532, allocations: 3.984 kB / 414.9 MB, free: 14.5 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.1544, allocations: 0.6281 MB / 415.5 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.1544, allocations: 0 / 415.5 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004796/0.1549, allocations: 83.83 kB / 415.6 MB, free: 13.74 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.1549, allocations: 0 / 415.6 MB, free: 13.74 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.473e-05/0.155, allocations: 8 kB / 415.6 MB, free: 13.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.158e-06/0.155, allocations: 8 kB / 415.6 MB, free: 13.73 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.155, allocations: 0 / 415.6 MB, free: 13.73 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.1561, allocations: 490.9 kB / 416.1 MB, free: 13.23 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005906/0.1568, allocations: 235.7 kB / 416.4 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001589/0.1569, allocations: 7.953 kB / 416.4 MB, free: 12.97 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004528/0.1574, allocations: 15.98 kB / 416.4 MB, free: 12.96 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.1575, allocations: 27.97 kB / 416.4 MB, free: 12.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.548e-05/0.1576, allocations: 8 kB / 416.4 MB, free: 12.92 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.002115/0.1597, allocations: 0.9715 MB / 417.4 MB, free: 11.94 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1597, allocations: 0 / 417.4 MB, free: 11.94 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001018/0.1607, allocations: 171.8 kB / 417.5 MB, free: 11.77 MB / 318.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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.001573/0.1623, allocations: 422.9 kB / 418 MB, free: 11.45 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00105/0.1634, allocations: 316.4 kB / 418.3 MB, free: 11.14 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.1634, allocations: 0 / 418.3 MB, free: 11.14 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000417/0.1638, allocations: 151.8 kB / 418.4 MB, free: 10.99 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00162/0.1655, allocations: 204.5 kB / 418.6 MB, free: 10.79 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004192/0.1697, allocations: 1.76 MB / 420.4 MB, free: 8.992 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001119/0.1708, allocations: 1.023 MB / 421.4 MB, free: 7.938 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003397/0.1712, allocations: 63.42 kB / 421.5 MB, free: 7.875 MB / 318.1 MB Notification: Performance of SimCode: time 2.134e-06/0.1712, allocations: 0 / 421.5 MB, free: 7.875 MB / 318.1 MB Notification: Performance of Templates: time 0.2473/0.4185, allocations: 11.27 MB / 432.7 MB, free: 36.08 MB / 318.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.makefile make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.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.ServoValveMeteringTestCalcHelperMain.o OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTestCalcHelperMain.o] Error 1