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.0009754/0.0009754, allocations: 88.2 kB / 16.03 MB, free: 56 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.0006617/0.0006616, allocations: 187.8 kB / 16.93 MB, free: 6.891 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.07/1.07, allocations: 205.4 MB / 223.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04548/0.04548, allocations: 11.86 MB / 283.3 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.0004809/0.0004809, allocations: 12 kB / 344.2 MB, free: 22.12 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06384/0.06433, allocations: 50.22 MB / 394.4 MB, free: 3.859 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest2): time 0.004473/0.06882, allocations: 5.107 MB / 399.5 MB, free: 14.72 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003041/0.07187, allocations: 2.292 MB / 401.8 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003614/0.07224, allocations: 8 kB / 401.8 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003904/0.07264, allocations: 151.2 kB / 402 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000615/0.07327, allocations: 310.1 kB / 402.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007694/0.07405, allocations: 375.1 kB / 402.6 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008941/0.07495, allocations: 1.027 MB / 403.7 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003281/0.07529, allocations: 259 kB / 403.9 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003623/0.07566, allocations: 310.5 kB / 404.2 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000393/0.07606, allocations: 366.3 kB / 404.6 MB, free: 9.648 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.303e-05/0.07614, allocations: 28 kB / 404.6 MB, free: 9.621 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003745/0.07652, allocations: 227.7 kB / 404.8 MB, free: 9.398 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001317/0.07666, allocations: 143.4 kB / 405 MB, free: 9.258 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003/0.07697, allocations: 391.7 kB / 405.3 MB, free: 8.867 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006573/0.07763, allocations: 0.7948 MB / 406.1 MB, free: 8.07 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.744e-06/0.07764, allocations: 0 / 406.1 MB, free: 8.07 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.62e-07/0.07765, allocations: 0 / 406.1 MB, free: 8.07 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.07766, allocations: 0 / 406.1 MB, free: 8.07 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.001185/0.07885, allocations: 0.9076 MB / 407 MB, free: 7.113 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.874e-05/0.07888, allocations: 12.03 kB / 407.1 MB, free: 7.102 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001531/0.07904, allocations: 80 kB / 407.1 MB, free: 7.023 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005351/0.07958, allocations: 0.5014 MB / 407.6 MB, free: 6.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.065e-05/0.07963, allocations: 49.25 kB / 407.7 MB, free: 6.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.309e-05/0.07972, allocations: 55.91 kB / 407.7 MB, free: 6.375 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008459/0.08057, allocations: 0.5609 MB / 408.3 MB, free: 5.809 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.0806, allocations: 0 / 408.3 MB, free: 5.809 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.807e-05/0.08065, allocations: 23.98 kB / 408.3 MB, free: 5.785 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.08067, allocations: 12 kB / 408.3 MB, free: 5.773 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000849/0.08152, allocations: 0.5283 MB / 408.9 MB, free: 5.246 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.002811/0.08435, allocations: 2.846 MB / 411.7 MB, free: 2.102 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006485/0.085, allocations: 443.4 kB / 412.1 MB, free: 1.66 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003038/0.08532, allocations: 200.7 kB / 412.3 MB, free: 1.461 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.248e-05/0.08542, allocations: 97.08 kB / 412.4 MB, free: 1.348 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.08545, allocations: 34.56 kB / 412.5 MB, free: 1.305 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 1.383e-06/0.08546, allocations: 4 kB / 412.5 MB, free: 1.301 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002125/0.08759, allocations: 1.257 MB / 413.7 MB, free: 15.98 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.08763, allocations: 59.34 kB / 413.8 MB, free: 15.91 MB / 318.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.0006561/0.08829, allocations: 0.6523 MB / 414.4 MB, free: 15.25 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.686e-05/0.08834, allocations: 29.7 kB / 414.5 MB, free: 15.21 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001988/0.08854, allocations: 324 kB / 414.8 MB, free: 14.89 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.08865, allocations: 145.9 kB / 414.9 MB, free: 14.75 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.797e-05/0.08872, allocations: 45.69 kB / 415 MB, free: 14.7 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.08885, allocations: 374.8 kB / 415.3 MB, free: 14.32 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002809/0.08914, allocations: 157 kB / 415.5 MB, free: 14.17 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003201/0.08947, allocations: 252.2 kB / 415.7 MB, free: 13.89 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002905/0.09238, allocations: 0.9722 MB / 416.7 MB, free: 12.88 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.0924, allocations: 4 kB / 416.7 MB, free: 12.88 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008096/0.09321, allocations: 0.5387 MB / 417.3 MB, free: 12.33 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.09323, allocations: 8 kB / 417.3 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.09325, allocations: 4 kB / 417.3 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.09326, allocations: 4 kB / 417.3 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004439/0.09371, allocations: 123.7 kB / 417.4 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.09373, allocations: 4.344 kB / 417.4 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002588/0.094, allocations: 31.98 kB / 417.4 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.619e-05/0.09404, allocations: 27.98 kB / 417.5 MB, free: 12.13 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.0003075/0.09435, allocations: 269.4 kB / 417.7 MB, free: 11.86 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.157e-05/0.09444, allocations: 63.19 kB / 417.8 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00092/0.09537, allocations: 0.5377 MB / 418.3 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.09538, allocations: 4 kB / 418.3 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.09539, allocations: 0 / 418.3 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.0954, allocations: 3.984 kB / 418.3 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001583/0.09699, allocations: 1.224 MB / 419.5 MB, free: 9.965 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.666e-06/0.09701, allocations: 0 / 419.5 MB, free: 9.965 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004376/0.09745, allocations: 115.8 kB / 419.7 MB, free: 9.852 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.09746, allocations: 0 / 419.7 MB, free: 9.852 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.755e-05/0.09749, allocations: 8 kB / 419.7 MB, free: 9.844 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.0975, allocations: 4 kB / 419.7 MB, free: 9.84 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.09751, allocations: 3.984 kB / 419.7 MB, free: 9.836 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.09861, allocations: 0.779 MB / 420.5 MB, free: 9.039 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001981/0.09882, allocations: 192.3 kB / 420.6 MB, free: 8.832 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.918e-05/0.0989, allocations: 11.98 kB / 420.7 MB, free: 8.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002593/0.09917, allocations: 27.89 kB / 420.7 MB, free: 8.793 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.065e-05/0.09924, allocations: 36.47 kB / 420.7 MB, free: 8.758 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.881e-05/0.09927, allocations: 19.94 kB / 420.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004708/0.09975, allocations: 467 kB / 421.2 MB, free: 8.289 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09975, allocations: 0 / 421.2 MB, free: 8.289 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000471/0.1002, allocations: 183.9 kB / 421.4 MB, free: 8.109 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.0007882/0.101, allocations: 425.7 kB / 421.8 MB, free: 7.797 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006827/0.1017, allocations: 422.6 kB / 422.2 MB, free: 7.387 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1017, allocations: 0 / 422.2 MB, free: 7.387 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003251/0.1021, allocations: 210.4 kB / 422.4 MB, free: 7.18 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007969/0.1029, allocations: 203.3 kB / 422.6 MB, free: 6.977 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00198/0.1049, allocations: 1.812 MB / 424.4 MB, free: 5.125 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004276/0.1053, allocations: 0.9369 MB / 425.4 MB, free: 4.16 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001627/0.1055, allocations: 71.41 kB / 425.4 MB, free: 4.09 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1055, allocations: 0 / 425.4 MB, free: 4.09 MB / 318.1 MB Notification: Performance of Templates: time 0.1274/0.2328, allocations: 10.09 MB / 435.5 MB, free: 37.68 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