Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.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.ShuttleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest") translateModel(OpenHydraulics.DevelopmentTests.ShuttleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006417/0.0006417, allocations: 98.8 kB / 16.02 MB, free: 76 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.0006619/0.0006619, allocations: 182.2 kB / 16.92 MB, free: 6.918 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.089/1.089, allocations: 205.4 MB / 223.1 MB, free: 5.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04702/0.04702, allocations: 11.85 MB / 283.2 MB, free: 9.367 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.0004943/0.0004943, allocations: 16.22 kB / 344.2 MB, free: 22.12 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06375/0.06425, allocations: 50.22 MB / 394.4 MB, free: 3.855 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ShuttleValveTest): time 0.002598/0.06686, allocations: 2.989 MB / 397.4 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002482/0.06936, allocations: 2.084 MB / 399.5 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001597/0.06953, allocations: 4 kB / 399.5 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001868/0.06973, allocations: 55.72 kB / 399.5 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002216/0.06996, allocations: 95.23 kB / 399.6 MB, free: 14.6 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005986/0.07056, allocations: 291.1 kB / 399.9 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002632/0.07083, allocations: 298.3 kB / 400.2 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.07099, allocations: 78.41 kB / 400.3 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.07113, allocations: 95.58 kB / 400.4 MB, free: 13.85 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.07127, allocations: 115.4 kB / 400.5 MB, free: 13.74 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.0713, allocations: 12 kB / 400.5 MB, free: 13.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002681/0.07158, allocations: 179.8 kB / 400.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.876e-05/0.07162, allocations: 35.78 kB / 400.7 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.07174, allocations: 145 kB / 400.8 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000257/0.072, allocations: 247.4 kB / 401.1 MB, free: 13.12 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.07201, allocations: 0 / 401.1 MB, free: 13.12 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.82e-07/0.07201, allocations: 0 / 401.1 MB, free: 13.12 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.07203, allocations: 0 / 401.1 MB, free: 13.12 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0005704/0.0726, allocations: 0.5257 MB / 401.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.739e-05/0.07264, allocations: 8.031 kB / 401.6 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.957e-05/0.07269, allocations: 32.56 kB / 401.7 MB, free: 12.51 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.07293, allocations: 255.7 kB / 401.9 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.07295, allocations: 16.38 kB / 401.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.081e-05/0.07299, allocations: 20.12 kB / 401.9 MB, free: 12.19 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003355/0.07333, allocations: 211.9 kB / 402.1 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.07335, allocations: 3.938 kB / 402.1 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.07337, allocations: 8 kB / 402.2 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.07338, allocations: 4 kB / 402.2 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003051/0.07369, allocations: 171.8 kB / 402.3 MB, free: 11.78 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.07487, allocations: 1.224 MB / 403.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003215/0.0752, allocations: 110.6 kB / 403.7 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.07533, allocations: 48.84 kB / 403.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.162e-05/0.07541, allocations: 89.08 kB / 403.8 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.07544, allocations: 38.5 kB / 403.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.07544, allocations: 0 / 403.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.002149/0.0776, allocations: 0.6292 MB / 404.5 MB, free: 9.438 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.07764, allocations: 63.34 kB / 404.5 MB, free: 9.363 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 sine1.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Sources.mo:517:5-517:73:writable] Warning: Parameter sine.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.00026/0.07791, allocations: 258.7 kB / 404.8 MB, free: 9.102 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.07794, allocations: 25.7 kB / 404.8 MB, free: 9.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.137e-05/0.07802, allocations: 167.8 kB / 405 MB, free: 8.902 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.07806, allocations: 31.55 kB / 405 MB, free: 8.871 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.708e-05/0.0781, allocations: 17.72 kB / 405 MB, free: 8.848 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.432e-05/0.0782, allocations: 342.8 kB / 405.3 MB, free: 8.504 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/0.0784, allocations: 75.86 kB / 405.4 MB, free: 8.43 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/0.0786, allocations: 112.2 kB / 405.5 MB, free: 8.305 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000377/0.07899, allocations: 196.2 kB / 405.7 MB, free: 8.098 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.079, allocations: 0 / 405.7 MB, free: 8.098 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004696/0.07947, allocations: 245.3 kB / 406 MB, free: 7.852 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.07949, allocations: 4 kB / 406 MB, free: 7.848 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.0795, allocations: 0.9375 kB / 406 MB, free: 7.848 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.07952, allocations: 4 kB / 406 MB, free: 7.844 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.07971, allocations: 47.97 kB / 406 MB, free: 7.797 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.07972, allocations: 4 kB / 406 MB, free: 7.793 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.07988, allocations: 23.89 kB / 406 MB, free: 7.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.0799, allocations: 11.98 kB / 406.1 MB, free: 7.758 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 initialization (18): * Single equations (assignments): 18 * 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.0001025/0.08001, allocations: 130.7 kB / 406.2 MB, free: 7.621 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.035e-05/0.08006, allocations: 23.66 kB / 406.2 MB, free: 7.598 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004676/0.08053, allocations: 227.1 kB / 406.4 MB, free: 7.371 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.08054, allocations: 0 / 406.4 MB, free: 7.371 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.08055, allocations: 4 kB / 406.4 MB, free: 7.367 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.08056, allocations: 0 / 406.4 MB, free: 7.367 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002541/0.08082, allocations: 281.4 kB / 406.7 MB, free: 7.043 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.08083, allocations: 0 / 406.7 MB, free: 7.043 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.08099, allocations: 43.91 kB / 406.8 MB, free: 7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.081, allocations: 4 kB / 406.8 MB, free: 6.996 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.08102, allocations: 4 kB / 406.8 MB, free: 6.992 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.08103, allocations: 3.984 kB / 406.8 MB, free: 6.988 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.08103, allocations: 0 / 406.8 MB, free: 6.988 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004273/0.08146, allocations: 299.3 kB / 407.1 MB, free: 6.68 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.633e-05/0.08155, allocations: 112.8 kB / 407.2 MB, free: 6.551 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.603e-05/0.08159, allocations: 4 kB / 407.2 MB, free: 6.547 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.08175, allocations: 23.92 kB / 407.2 MB, free: 6.523 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.0818, allocations: 7.984 kB / 407.2 MB, free: 6.516 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.08181, allocations: 7.984 kB / 407.2 MB, free: 6.508 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001391/0.08196, allocations: 182 kB / 407.4 MB, free: 6.332 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.08196, allocations: 0 / 407.4 MB, free: 6.332 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003207/0.08229, allocations: 87.98 kB / 407.5 MB, free: 6.246 MB / 302.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 (11): * Single equations (assignments): 11 * 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.0002064/0.0825, allocations: 159.2 kB / 407.6 MB, free: 6.082 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004148/0.08292, allocations: 191.8 kB / 407.8 MB, free: 5.898 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.08294, allocations: 0 / 407.8 MB, free: 5.898 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001924/0.08313, allocations: 83.89 kB / 407.9 MB, free: 5.816 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/0.08351, allocations: 56.39 kB / 408 MB, free: 5.762 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008125/0.08433, allocations: 0.588 MB / 408.5 MB, free: 5.141 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.0846, allocations: 0.7365 MB / 409.3 MB, free: 4.379 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.159e-05/0.08467, allocations: 27.42 kB / 409.3 MB, free: 4.352 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.08468, allocations: 0 / 409.3 MB, free: 4.352 MB / 302.1 MB Notification: Performance of Templates: time 0.004695/0.08938, allocations: 3.584 MB / 412.9 MB, free: 0.7773 MB / 302.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.makefile make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.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.ShuttleValveTestCalcHelperMain.o OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTestCalcHelperMain.o] Error 1