Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest.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.DirectionalValveTest,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest") translateModel(OpenHydraulics.DevelopmentTests.DirectionalValveTest,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 96.14 kB / 15.87 MB, free: 16 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.001144/0.001144, allocations: 196 kB / 16.79 MB, free: 6.812 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.493/1.493, allocations: 205.1 MB / 222.6 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.0514/0.0514, allocations: 11.85 MB / 281.8 MB, free: 9.625 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.001454/0.001454, allocations: 71.56 kB / 341.8 MB, free: 22.43 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1138, allocations: 49.22 MB / 391 MB, free: 5.152 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.DirectionalValveTest): time 0.009431/0.1233, allocations: 7.86 MB / 398.9 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007749/0.1311, allocations: 3.527 MB / 402.4 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007435/0.1319, allocations: 23.88 kB / 402.4 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000744/0.1327, allocations: 238.8 kB / 402.7 MB, free: 9.457 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001384/0.1341, allocations: 0.5243 MB / 403.2 MB, free: 8.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001863/0.136, allocations: 0.7324 MB / 403.9 MB, free: 8.203 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001781/0.1378, allocations: 1.829 MB / 405.7 MB, free: 6.367 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000669/0.1385, allocations: 495.5 kB / 406.2 MB, free: 5.863 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005961/0.1391, allocations: 0.5639 MB / 406.8 MB, free: 5.297 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007491/0.1398, allocations: 0.6883 MB / 407.5 MB, free: 4.605 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001444/0.14, allocations: 64 kB / 407.5 MB, free: 4.543 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006751/0.1407, allocations: 331.8 kB / 407.9 MB, free: 4.219 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002992/0.141, allocations: 286.7 kB / 408.1 MB, free: 3.938 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006677/0.1417, allocations: 0.6644 MB / 408.8 MB, free: 3.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001521/0.1432, allocations: 1.548 MB / 410.4 MB, free: 1.719 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.1432, allocations: 0 / 410.4 MB, free: 1.719 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1432, allocations: 0 / 410.4 MB, free: 1.719 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.371e-05/0.1432, allocations: 0 / 410.4 MB, free: 1.719 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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.002883/0.1461, allocations: 1.616 MB / 412 MB, free: 52 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.1462, allocations: 8.031 kB / 412 MB, free: 44 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000356/0.1465, allocations: 155.3 kB / 412.1 MB, free: 15.88 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/0.1477, allocations: 0.8113 MB / 412.9 MB, free: 15.03 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.861e-05/0.1478, allocations: 85.94 kB / 413 MB, free: 14.95 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/0.1479, allocations: 99.89 kB / 413.1 MB, free: 14.85 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00178/0.1497, allocations: 1.11 MB / 414.2 MB, free: 13.72 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.678e-05/0.1497, allocations: 3.984 kB / 414.2 MB, free: 13.72 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.459e-05/0.1498, allocations: 40 kB / 414.3 MB, free: 13.68 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.135e-05/0.1499, allocations: 24 kB / 414.3 MB, free: 13.66 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00164/0.1515, allocations: 1.011 MB / 415.3 MB, free: 12.64 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006565/0.1581, allocations: 5.999 MB / 421.3 MB, free: 5.934 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001198/0.1593, allocations: 0.7572 MB / 422.1 MB, free: 5.168 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006632/0.16, allocations: 382.7 kB / 422.4 MB, free: 4.793 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002421/0.1602, allocations: 190.8 kB / 422.6 MB, free: 4.57 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/0.1603, allocations: 43.16 kB / 422.7 MB, free: 4.52 MB / 318.1 MB Notification: Performance of pre-optimization done (n=72): time 3.517e-06/0.1603, allocations: 0 / 422.7 MB, free: 4.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=76): time 0.00484/0.1651, allocations: 2.266 MB / 424.9 MB, free: 2.203 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/0.1652, allocations: 64 kB / 425 MB, free: 2.125 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/0.1665, allocations: 1.062 MB / 426.1 MB, free: 1.043 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.997e-05/0.1666, allocations: 37.7 kB / 426.1 MB, free: 1 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004105/0.167, allocations: 0.5425 MB / 426.6 MB, free: 460 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001953/0.1672, allocations: 268 kB / 426.9 MB, free: 188 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002492/0.1674, allocations: 158.5 kB / 427.1 MB, free: 24 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.2213/0.3887, allocations: 341.1 kB / 427.4 MB, free: 40.57 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008678/0.3896, allocations: 346 kB / 427.7 MB, free: 40.56 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006949/0.3903, allocations: 0.4944 MB / 428.2 MB, free: 40.36 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00583/0.3962, allocations: 1.798 MB / 430 MB, free: 40.01 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.3962, allocations: 3.094 kB / 430 MB, free: 40.01 MB / 318.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002087/0.3983, allocations: 1.012 MB / 431 MB, free: 39.62 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/0.3983, allocations: 11.31 kB / 431 MB, free: 39.62 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.3984, allocations: 5.438 kB / 431 MB, free: 39.62 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.77e-05/0.3984, allocations: 12.98 kB / 431.1 MB, free: 39.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009768/0.3994, allocations: 227.8 kB / 431.3 MB, free: 39.61 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.163e-05/0.3994, allocations: 15 kB / 431.3 MB, free: 39.6 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008211/0.4003, allocations: 57.56 kB / 431.4 MB, free: 39.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.881e-05/0.4003, allocations: 44.53 kB / 431.4 MB, free: 39.58 MB / 318.1 MB Warning: Assuming fixed start value for the following 3 variables: idealPump.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of rotation of pump" type: Real valve4_3pos.j2.volumeClosed.port[2].p:VARIABLE(flow=false min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))))))))))) start = valve4_3pos.P2A.p_init unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real [3] valve4_3pos.j3.volumeClosed.port[2].p:VARIABLE(flow=false min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))))))))))) start = valve4_3pos.P2B.p_init unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 (valve4_3pos.A2T.data.zetaLaminarKnown,valve4_3pos.P2B.data.zetaLaminarKnown,valve4_3pos.B2T.data.zetaLaminarKnown,valve4_3pos.P2A.data.zetaLaminarKnown,restriction.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * 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.0008349/0.4012, allocations: 433.3 kB / 431.8 MB, free: 39.33 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001839/0.4014, allocations: 109.6 kB / 431.9 MB, free: 39.33 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001932/0.4033, allocations: 0.9547 MB / 432.9 MB, free: 38.93 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.4033, allocations: 8.188 kB / 432.9 MB, free: 38.93 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.4034, allocations: 5.719 kB / 432.9 MB, free: 38.93 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.4034, allocations: 4.906 kB / 432.9 MB, free: 38.93 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003787/0.4072, allocations: 2.309 MB / 435.2 MB, free: 37.71 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.4072, allocations: 7.141 kB / 435.2 MB, free: 37.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008495/0.408, allocations: 188.5 kB / 435.4 MB, free: 37.69 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.158e-05/0.4081, allocations: 4.375 kB / 435.4 MB, free: 37.69 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.574e-05/0.4081, allocations: 28.14 kB / 435.4 MB, free: 37.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.139e-05/0.4082, allocations: 8.656 kB / 435.4 MB, free: 37.68 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.349e-06/0.4082, allocations: 2.75 kB / 435.4 MB, free: 37.68 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002471/0.4106, allocations: 1.371 MB / 436.8 MB, free: 37.02 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005092/0.4112, allocations: 275.9 kB / 437.1 MB, free: 36.84 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/0.4113, allocations: 19.98 kB / 437.1 MB, free: 36.83 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005/0.4118, allocations: 42.62 kB / 437.1 MB, free: 36.81 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/0.412, allocations: 63.45 kB / 437.2 MB, free: 36.8 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.05e-05/0.4121, allocations: 29.11 kB / 437.2 MB, free: 36.79 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001294/0.4134, allocations: 0.737 MB / 438 MB, free: 36.49 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.4134, allocations: 0 / 438 MB, free: 36.49 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001108/0.4145, allocations: 304.3 kB / 438.3 MB, free: 36.46 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (idealPump.phi,circuitTank.volumeOpen.m,valve4_3pos.j2.volumeClosed.port[2].p,valve4_3pos.j3.volumeClosed.port[2].p,valve4_3pos.dynamicResponse.y,valve4_3pos.dynamicResponse.yd) * 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 (86): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * 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.001032/0.4155, allocations: 481.1 kB / 438.7 MB, free: 36.27 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001581/0.4171, allocations: 0.7857 MB / 439.5 MB, free: 35.98 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.4171, allocations: 0 / 439.5 MB, free: 35.98 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000692/0.4178, allocations: 401 kB / 439.9 MB, free: 35.84 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.4194, allocations: 333.4 kB / 440.2 MB, free: 35.73 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003737/0.4231, allocations: 2.844 MB / 443.1 MB, free: 33.96 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006423/0.4238, allocations: 1.153 MB / 444.2 MB, free: 33.21 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003824/0.4242, allocations: 110.6 kB / 444.3 MB, free: 33.19 MB / 318.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4242, allocations: 0 / 444.3 MB, free: 33.19 MB / 318.1 MB Notification: Performance of Templates: time 0.0241/0.4483, allocations: 17.36 MB / 461.7 MB, free: 18.51 MB / 318.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest.makefile make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest.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 OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTestCalcHelperMain.o OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTestCalcHelperMain.o] Error 1