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.005702/0.005702, allocations: 101 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.001167/0.001167, allocations: 190 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.47/1.47, allocations: 205.1 MB / 222.6 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05389/0.05389, allocations: 11.84 MB / 281.8 MB, free: 9.641 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.001257/0.001257, allocations: 67.34 kB / 341.8 MB, free: 22.41 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09132/0.09259, allocations: 49.22 MB / 391 MB, free: 5.137 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ShuttleValveTest): time 0.004088/0.09671, allocations: 3.355 MB / 394.4 MB, free: 1.762 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002613/0.09935, allocations: 2.134 MB / 396.5 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001557/0.09952, allocations: 7.938 kB / 396.5 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002431/0.0998, allocations: 51.67 kB / 396.6 MB, free: 15.56 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002251/0.1, allocations: 103.2 kB / 396.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006056/0.1006, allocations: 290.5 kB / 396.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002534/0.1009, allocations: 290.4 kB / 397.2 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.1011, allocations: 86.39 kB / 397.3 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001494/0.1012, allocations: 99.58 kB / 397.4 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.1014, allocations: 115.5 kB / 397.5 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.789e-05/0.1014, allocations: 12 kB / 397.5 MB, free: 14.58 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002914/0.1017, allocations: 187.8 kB / 397.7 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.96e-05/0.1018, allocations: 43.72 kB / 397.8 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.1019, allocations: 123.4 kB / 397.9 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002891/0.1022, allocations: 255.4 kB / 398.1 MB, free: 13.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1022, allocations: 0 / 398.1 MB, free: 13.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1022, allocations: 0 / 398.1 MB, free: 13.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.1022, allocations: 0 / 398.1 MB, free: 13.98 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.0007119/0.1029, allocations: 0.5568 MB / 398.7 MB, free: 13.38 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.103, allocations: 12.03 kB / 398.7 MB, free: 13.37 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.163e-05/0.103, allocations: 28.66 kB / 398.7 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.1033, allocations: 259.6 kB / 399 MB, free: 13.05 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.1033, allocations: 16.31 kB / 399 MB, free: 13.03 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.043e-05/0.1034, allocations: 20.12 kB / 399 MB, free: 13.01 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003691/0.1037, allocations: 203.9 kB / 399.2 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.1038, allocations: 0 / 399.2 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.1038, allocations: 12 kB / 399.2 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.1038, allocations: 8 kB / 399.2 MB, free: 12.78 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003195/0.1041, allocations: 159.7 kB / 399.4 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001319/0.1054, allocations: 1.212 MB / 400.6 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003744/0.1058, allocations: 114.5 kB / 400.7 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.106, allocations: 40.84 kB / 400.8 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.772e-05/0.1061, allocations: 89.09 kB / 400.8 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.1061, allocations: 42.5 kB / 400.9 MB, free: 10.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.1061, allocations: 0 / 400.9 MB, free: 10.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.002143/0.1082, allocations: 0.512 MB / 401.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.1083, allocations: 51.41 kB / 401.4 MB, free: 10.34 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.0003573/0.1087, allocations: 258.7 kB / 401.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.1087, allocations: 29.7 kB / 401.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.339e-05/0.1088, allocations: 171.9 kB / 401.9 MB, free: 9.875 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.1088, allocations: 35.45 kB / 401.9 MB, free: 9.84 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.469e-05/0.1089, allocations: 37.61 kB / 402 MB, free: 9.797 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.109, allocations: 334.8 kB / 402.3 MB, free: 9.461 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.1092, allocations: 63.95 kB / 402.4 MB, free: 9.398 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.1094, allocations: 108.8 kB / 402.5 MB, free: 9.277 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003606/0.1098, allocations: 172.1 kB / 402.6 MB, free: 9.094 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1098, allocations: 0 / 402.6 MB, free: 9.094 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004647/0.1103, allocations: 221.2 kB / 402.8 MB, free: 8.871 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.1103, allocations: 18.55 kB / 402.9 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1103, allocations: 4 kB / 402.9 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.1103, allocations: 4 kB / 402.9 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/0.1105, allocations: 35.97 kB / 402.9 MB, free: 8.812 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.1105, allocations: 4 kB / 402.9 MB, free: 8.809 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.1107, allocations: 11.98 kB / 402.9 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.1107, allocations: 15.98 kB / 402.9 MB, free: 8.781 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.0001162/0.1109, allocations: 134.7 kB / 403.1 MB, free: 8.641 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.863e-05/0.1109, allocations: 27.66 kB / 403.1 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004687/0.1114, allocations: 191.2 kB / 403.3 MB, free: 8.422 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.1114, allocations: 0 / 403.3 MB, free: 8.422 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1114, allocations: 0 / 403.3 MB, free: 8.422 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1114, allocations: 0 / 403.3 MB, free: 8.422 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/0.1117, allocations: 289.4 kB / 403.6 MB, free: 8.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1117, allocations: 7.938 kB / 403.6 MB, free: 8.082 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001588/0.1119, allocations: 35.97 kB / 403.6 MB, free: 8.047 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1119, allocations: 0 / 403.6 MB, free: 8.047 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.1119, allocations: 0 / 403.6 MB, free: 8.047 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1119, allocations: 0 / 403.6 MB, free: 8.047 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1119, allocations: 0 / 403.6 MB, free: 8.047 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004487/0.1124, allocations: 287.2 kB / 403.9 MB, free: 7.75 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.316e-05/0.1125, allocations: 108.9 kB / 404 MB, free: 7.625 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.437e-05/0.1125, allocations: 0 / 404 MB, free: 7.625 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.1127, allocations: 23.92 kB / 404 MB, free: 7.602 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.9e-05/0.1127, allocations: 11.92 kB / 404 MB, free: 7.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.1128, allocations: 0 / 404 MB, free: 7.59 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001597/0.1129, allocations: 194 kB / 404.2 MB, free: 7.402 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1129, allocations: 0 / 404.2 MB, free: 7.402 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003575/0.1133, allocations: 84 kB / 404.3 MB, free: 7.32 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.0002618/0.1136, allocations: 163.1 kB / 404.5 MB, free: 7.152 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004238/0.114, allocations: 159.8 kB / 404.6 MB, free: 6.996 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.114, allocations: 4 kB / 404.6 MB, free: 6.992 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001753/0.1142, allocations: 67.89 kB / 404.7 MB, free: 6.926 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000433/0.1146, allocations: 68.64 kB / 404.8 MB, free: 6.855 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009021/0.1155, allocations: 0.5391 MB / 405.3 MB, free: 6.289 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.1158, allocations: 0.7404 MB / 406 MB, free: 5.523 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.347e-05/0.1159, allocations: 31.42 kB / 406.1 MB, free: 5.492 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1159, allocations: 3.938 kB / 406.1 MB, free: 5.488 MB / 302.1 MB Notification: Performance of Templates: time 0.005051/0.121, allocations: 3.611 MB / 409.7 MB, free: 1.891 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