Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.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.CheckValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2") translateModel(OpenHydraulics.DevelopmentTests.CheckValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005645/0.005645, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001246/0.001246, allocations: 188.6 kB / 16.78 MB, free: 5.809 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.502/1.502, allocations: 205.1 MB / 222.7 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.0519/0.0519, allocations: 11.83 MB / 281.8 MB, free: 9.652 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.001335/0.001335, allocations: 71.33 kB / 341.8 MB, free: 22.43 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09777/0.09912, allocations: 49.22 MB / 391 MB, free: 5.156 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest2): time 0.00637/0.1055, allocations: 5.516 MB / 396.5 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00382/0.1094, allocations: 2.311 MB / 398.8 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004466/0.1099, allocations: 19.94 kB / 398.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005844/0.1105, allocations: 147.2 kB / 399 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006543/0.1112, allocations: 306.1 kB / 399.3 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008284/0.112, allocations: 382.8 kB / 399.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009208/0.1129, allocations: 1.019 MB / 400.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003825/0.1133, allocations: 270.9 kB / 401 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003891/0.1137, allocations: 318.6 kB / 401.3 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004714/0.1142, allocations: 398.2 kB / 401.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.95e-05/0.1143, allocations: 36 kB / 401.7 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004688/0.1148, allocations: 223.8 kB / 401.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001735/0.115, allocations: 163.2 kB / 402.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003755/0.1154, allocations: 378 kB / 402.4 MB, free: 9.672 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007954/0.1162, allocations: 0.8069 MB / 403.2 MB, free: 8.863 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1162, allocations: 0 / 403.2 MB, free: 8.863 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.1162, allocations: 4 kB / 403.2 MB, free: 8.859 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.1162, allocations: 0 / 403.2 MB, free: 8.859 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001703/0.1179, allocations: 1.04 MB / 404.3 MB, free: 7.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.118, allocations: 8.031 kB / 404.3 MB, free: 7.762 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001971/0.1182, allocations: 88 kB / 404.4 MB, free: 7.676 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006378/0.1188, allocations: 0.4937 MB / 404.9 MB, free: 7.141 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.325e-05/0.1189, allocations: 45.25 kB / 404.9 MB, free: 7.094 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-05/0.119, allocations: 52 kB / 405 MB, free: 7.043 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009488/0.1199, allocations: 0.5647 MB / 405.5 MB, free: 6.473 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.12, allocations: 3.906 kB / 405.5 MB, free: 6.469 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.874e-05/0.12, allocations: 20 kB / 405.6 MB, free: 6.449 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/0.12, allocations: 12 kB / 405.6 MB, free: 6.438 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009166/0.121, allocations: 0.5283 MB / 406.1 MB, free: 5.91 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003495/0.1245, allocations: 2.85 MB / 408.9 MB, free: 2.762 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007399/0.1252, allocations: 443.4 kB / 409.4 MB, free: 2.32 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003423/0.1256, allocations: 200.7 kB / 409.6 MB, free: 2.121 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001147/0.1257, allocations: 97.08 kB / 409.7 MB, free: 2.008 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.301e-05/0.1257, allocations: 34.56 kB / 409.7 MB, free: 1.965 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 2.014e-06/0.1258, allocations: 0 / 409.7 MB, free: 1.965 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002673/0.1284, allocations: 1.245 MB / 411 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.25e-05/0.1285, allocations: 55.41 kB / 411 MB, free: 0.5938 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Sources.mo:517:5-517:73:writable] Warning: Parameter sinusoid.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008/0.1293, allocations: 0.6485 MB / 411.7 MB, free: 15.93 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.671e-05/0.1294, allocations: 29.7 kB / 411.7 MB, free: 15.89 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000239/0.1296, allocations: 324.1 kB / 412 MB, free: 15.57 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.1298, allocations: 149.8 kB / 412.1 MB, free: 15.43 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001504/0.1299, allocations: 98.14 kB / 412.2 MB, free: 15.32 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002181/0.1301, allocations: 374.8 kB / 412.6 MB, free: 14.95 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003078/0.1305, allocations: 153 kB / 412.8 MB, free: 14.8 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003973/0.1309, allocations: 260.1 kB / 413 MB, free: 14.51 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003157/0.134, allocations: 0.9371 MB / 413.9 MB, free: 13.54 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.134, allocations: 8 kB / 414 MB, free: 13.53 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009945/0.135, allocations: 0.531 MB / 414.5 MB, free: 12.99 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.1351, allocations: 11.94 kB / 414.5 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.1351, allocations: 4 kB / 414.5 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.1351, allocations: 4.344 kB / 414.5 MB, free: 12.97 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006172/0.1357, allocations: 119.9 kB / 414.6 MB, free: 12.86 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.1358, allocations: 7.938 kB / 414.6 MB, free: 12.85 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003426/0.1361, allocations: 31.97 kB / 414.7 MB, free: 12.82 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.881e-05/0.1362, allocations: 12 kB / 414.7 MB, free: 12.8 MB / 318.1 MB Warning: Assuming fixed start value for the following 1 variables: j1.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, max(0.0, 0.0))))))))))))))))) start = j1.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: 12 * Number of states: 0 () * Number of discrete variables: 2 (checkValve1.variableRestriction.data.zetaLaminarKnown,checkValve.variableRestriction.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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.0004609/0.1366, allocations: 285 kB / 415 MB, free: 12.52 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.1368, allocations: 63.16 kB / 415 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001075/0.1378, allocations: 0.53 MB / 415.5 MB, free: 11.92 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.1378, allocations: 4 kB / 415.5 MB, free: 11.92 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.1379, allocations: 3.984 kB / 415.6 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.1379, allocations: 0 / 415.6 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001999/0.1399, allocations: 1.225 MB / 416.8 MB, free: 10.63 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.1399, allocations: 0 / 416.8 MB, free: 10.63 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004812/0.1404, allocations: 107.9 kB / 416.9 MB, free: 10.53 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.1404, allocations: 0 / 416.9 MB, free: 10.53 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.743e-05/0.1404, allocations: 15.98 kB / 416.9 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.1404, allocations: 0 / 416.9 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.1405, allocations: 0 / 416.9 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001361/0.1418, allocations: 0.779 MB / 417.7 MB, free: 9.715 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002376/0.1421, allocations: 196.2 kB / 417.9 MB, free: 9.504 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.748e-05/0.1422, allocations: 8 kB / 417.9 MB, free: 9.496 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000274/0.1425, allocations: 19.98 kB / 417.9 MB, free: 9.477 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.326e-05/0.1425, allocations: 28.39 kB / 417.9 MB, free: 9.449 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.077e-05/0.1426, allocations: 23.98 kB / 417.9 MB, free: 9.426 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005602/0.1432, allocations: 467 kB / 418.4 MB, free: 8.977 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1432, allocations: 0 / 418.4 MB, free: 8.977 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006453/0.1438, allocations: 183.9 kB / 418.6 MB, free: 8.797 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (circuitTank.volumeOpen.m,speed.phi,speed.w,j1.volumeClosed.port[2].p) * 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 (49): * Single equations (assignments): 49 * 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.001158/0.145, allocations: 426.9 kB / 419 MB, free: 8.48 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008613/0.1459, allocations: 414.6 kB / 419.4 MB, free: 8.078 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.1459, allocations: 0.6875 kB / 419.4 MB, free: 8.078 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004135/0.1463, allocations: 218.3 kB / 419.6 MB, free: 7.863 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000926/0.1472, allocations: 202.7 kB / 419.8 MB, free: 7.66 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002648/0.1499, allocations: 1.709 MB / 421.5 MB, free: 5.918 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005433/0.1504, allocations: 0.9331 MB / 422.5 MB, free: 4.953 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002005/0.1506, allocations: 67.41 kB / 422.5 MB, free: 4.887 MB / 318.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1507, allocations: 4 kB / 422.5 MB, free: 4.883 MB / 318.1 MB Notification: Performance of Templates: time 0.163/0.3137, allocations: 10.17 MB / 432.7 MB, free: 38.34 MB / 318.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.makefile make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.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.CheckValveTest2CalcHelperMain.o OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2CalcHelperMain.o] Error 1