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.0006467/0.0006468, allocations: 92.16 kB / 16.02 MB, free: 80 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.0006675/0.0006676, allocations: 183.8 kB / 16.92 MB, free: 6.922 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.076/1.076, allocations: 205.4 MB / 223.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.0441/0.0441, allocations: 11.85 MB / 283.2 MB, free: 9.371 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.0004864/0.0004863, allocations: 23.98 kB / 344.2 MB, free: 22.12 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06561/0.0661, allocations: 50.21 MB / 394.4 MB, free: 3.852 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.DirectionalValveTest): time 0.006408/0.07252, allocations: 7.401 MB / 401.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00471/0.07724, allocations: 3.484 MB / 405.3 MB, free: 8.922 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000509/0.07777, allocations: 23.94 kB / 405.3 MB, free: 8.898 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004792/0.07826, allocations: 230.8 kB / 405.5 MB, free: 8.672 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008918/0.07916, allocations: 0.5321 MB / 406.1 MB, free: 8.137 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.08033, allocations: 0.7207 MB / 406.8 MB, free: 7.422 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001375/0.08172, allocations: 1.829 MB / 408.6 MB, free: 5.586 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005352/0.08226, allocations: 499.5 kB / 409.1 MB, free: 5.078 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004584/0.08273, allocations: 0.5288 MB / 409.6 MB, free: 4.547 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006032/0.08334, allocations: 0.657 MB / 410.3 MB, free: 3.887 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.007e-05/0.08344, allocations: 52 kB / 410.3 MB, free: 3.836 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000471/0.08391, allocations: 319.8 kB / 410.7 MB, free: 3.523 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002058/0.08413, allocations: 262.8 kB / 410.9 MB, free: 3.266 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004862/0.08462, allocations: 0.6621 MB / 411.6 MB, free: 2.594 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001132/0.08576, allocations: 1.512 MB / 413.1 MB, free: 1.078 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.08577, allocations: 0 / 413.1 MB, free: 1.078 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.08578, allocations: 0 / 413.1 MB, free: 1.078 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.888e-06/0.08579, allocations: 0 / 413.1 MB, free: 1.078 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.001877/0.08767, allocations: 1.363 MB / 414.4 MB, free: 15.66 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.841e-05/0.08771, allocations: 12.02 kB / 414.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002153/0.08793, allocations: 151.2 kB / 414.6 MB, free: 15.5 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00089/0.08883, allocations: 0.8152 MB / 415.4 MB, free: 14.64 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.972e-05/0.0889, allocations: 77.94 kB / 415.5 MB, free: 14.57 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.08903, allocations: 96 kB / 415.6 MB, free: 14.48 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001545/0.09058, allocations: 1.118 MB / 416.7 MB, free: 13.34 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/0.09061, allocations: 0 / 416.7 MB, free: 13.34 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.512e-05/0.09069, allocations: 40 kB / 416.7 MB, free: 13.3 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/0.09072, allocations: 24 kB / 416.8 MB, free: 13.28 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001474/0.09219, allocations: 1.015 MB / 417.8 MB, free: 12.27 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005286/0.09749, allocations: 5.999 MB / 423.8 MB, free: 5.555 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.09853, allocations: 0.7522 MB / 424.5 MB, free: 4.797 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005811/0.09912, allocations: 390.5 kB / 424.9 MB, free: 4.414 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001916/0.09932, allocations: 194.8 kB / 425.1 MB, free: 4.188 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.09936, allocations: 39.22 kB / 425.1 MB, free: 4.141 MB / 318.1 MB Notification: Performance of pre-optimization done (n=72): time 1.573e-06/0.09936, allocations: 0 / 425.1 MB, free: 4.141 MB / 318.1 MB Notification: Performance of matching and sorting (n=76): time 0.003945/0.1033, allocations: 2.289 MB / 427.4 MB, free: 1.801 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.1034, allocations: 60.06 kB / 427.5 MB, free: 1.727 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.1045, allocations: 1.066 MB / 428.6 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.673e-05/0.1045, allocations: 41.7 kB / 428.6 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000336/0.1048, allocations: 0.5386 MB / 429.1 MB, free: 48 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.1197/0.2246, allocations: 256.7 kB / 429.4 MB, free: 39.72 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.2247, allocations: 75.78 kB / 429.5 MB, free: 39.7 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.132e-05/0.2248, allocations: 339.6 kB / 429.8 MB, free: 39.4 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006017/0.2254, allocations: 351.1 kB / 430.1 MB, free: 39.39 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005258/0.2259, allocations: 0.4967 MB / 430.6 MB, free: 39.19 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005098/0.231, allocations: 1.851 MB / 432.5 MB, free: 38.97 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.231, allocations: 1.125 kB / 432.5 MB, free: 38.97 MB / 318.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00147/0.2325, allocations: 1.016 MB / 433.5 MB, free: 38.71 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.2325, allocations: 7.891 kB / 433.5 MB, free: 38.71 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.2326, allocations: 5.375 kB / 433.5 MB, free: 38.71 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.2326, allocations: 12.94 kB / 433.5 MB, free: 38.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007936/0.2334, allocations: 231.5 kB / 433.8 MB, free: 38.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.456e-05/0.2334, allocations: 11.55 kB / 433.8 MB, free: 38.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005638/0.234, allocations: 51.27 kB / 433.8 MB, free: 38.67 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.426e-05/0.2341, allocations: 46.78 kB / 433.9 MB, free: 38.66 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.0005342/0.2346, allocations: 428.2 kB / 434.3 MB, free: 38.41 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.2347, allocations: 110.2 kB / 434.4 MB, free: 38.41 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001466/0.2362, allocations: 0.9656 MB / 435.4 MB, free: 37.99 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.2362, allocations: 9.875 kB / 435.4 MB, free: 37.99 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2362, allocations: 3.938 kB / 435.4 MB, free: 37.99 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.2362, allocations: 5.406 kB / 435.4 MB, free: 37.99 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002713/0.239, allocations: 2.307 MB / 437.7 MB, free: 36.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.239, allocations: 6.875 kB / 437.7 MB, free: 36.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007144/0.2397, allocations: 194.1 kB / 437.9 MB, free: 36.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.113e-05/0.2397, allocations: 4.5 kB / 437.9 MB, free: 36.73 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.808e-05/0.2398, allocations: 26.72 kB / 437.9 MB, free: 36.72 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.231e-06/0.2398, allocations: 9.719 kB / 437.9 MB, free: 36.72 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.2398, allocations: 1.938 kB / 437.9 MB, free: 36.72 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/0.2415, allocations: 1.377 MB / 439.3 MB, free: 36.01 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002947/0.2418, allocations: 293.7 kB / 439.6 MB, free: 35.79 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.2419, allocations: 19.5 kB / 439.6 MB, free: 35.78 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004448/0.2424, allocations: 40.48 kB / 439.6 MB, free: 35.77 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.2425, allocations: 63.55 kB / 439.7 MB, free: 35.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.68e-05/0.2425, allocations: 32.45 kB / 439.7 MB, free: 35.75 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000765/0.2433, allocations: 0.7409 MB / 440.5 MB, free: 35.44 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2433, allocations: 1.469 kB / 440.5 MB, free: 35.44 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007129/0.244, allocations: 303 kB / 440.8 MB, free: 35.41 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.0008247/0.2449, allocations: 459.8 kB / 441.2 MB, free: 35.23 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001115/0.246, allocations: 0.786 MB / 442 MB, free: 34.95 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.246, allocations: 1.031 kB / 442 MB, free: 34.95 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005288/0.2465, allocations: 405.1 kB / 442.4 MB, free: 34.81 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001375/0.2479, allocations: 339.5 kB / 442.7 MB, free: 34.69 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002712/0.2506, allocations: 2.951 MB / 445.7 MB, free: 32.88 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004731/0.2511, allocations: 1.158 MB / 446.8 MB, free: 32.12 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002833/0.2514, allocations: 115.4 kB / 447 MB, free: 32.11 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2514, allocations: 4 kB / 447 MB, free: 32.1 MB / 318.1 MB Notification: Performance of Templates: time 0.01394/0.2654, allocations: 17.21 MB / 464.2 MB, free: 17.35 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