Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.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.ThrottleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest") translateModel(OpenHydraulics.DevelopmentTests.ThrottleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005195/0.005195, allocations: 96.19 kB / 15.87 MB, free: 6.297 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.001233/0.001233, allocations: 200.5 kB / 16.79 MB, free: 6.223 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.538/1.538, allocations: 205.1 MB / 222.6 MB, free: 4.938 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05199/0.05199, allocations: 11.82 MB / 281.8 MB, free: 9.895 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.001363/0.001363, allocations: 67.58 kB / 341.8 MB, free: 22.46 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09983/0.1012, allocations: 49.23 MB / 391 MB, free: 5.176 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest): time 0.00343/0.1047, allocations: 2.259 MB / 393.3 MB, free: 2.898 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00262/0.1073, allocations: 1.952 MB / 395.2 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001326/0.1075, allocations: 7.875 kB / 395.2 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002359/0.1077, allocations: 35.81 kB / 395.3 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002699/0.108, allocations: 79.45 kB / 395.3 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005883/0.1086, allocations: 255.2 kB / 395.6 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002136/0.1088, allocations: 171.1 kB / 395.8 MB, free: 408 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.109, allocations: 25.53 kB / 395.8 MB, free: 384 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.978e-05/0.109, allocations: 55.78 kB / 395.8 MB, free: 328 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.191e-05/0.1091, allocations: 67.64 kB / 395.9 MB, free: 260 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.1092, allocations: 4 kB / 395.9 MB, free: 256 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004046/0.1096, allocations: 231.8 kB / 396.1 MB, free: 24 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.084e-05/0.1096, allocations: 27.91 kB / 396.2 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.721e-05/0.1097, allocations: 63.56 kB / 396.2 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002782/0.11, allocations: 199.9 kB / 396.4 MB, free: 15.74 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.11, allocations: 0 / 396.4 MB, free: 15.74 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.11, allocations: 4 kB / 396.4 MB, free: 15.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.11, allocations: 0 / 396.4 MB, free: 15.73 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005847/0.1106, allocations: 470.8 kB / 396.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.1107, allocations: 8.031 kB / 396.9 MB, free: 15.22 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.304e-05/0.1107, allocations: 20.75 kB / 396.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.111, allocations: 220 kB / 397.1 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.111, allocations: 4.375 kB / 397.1 MB, free: 14.94 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.111, allocations: 16.12 kB / 397.1 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002281/0.1113, allocations: 117.6 kB / 397.3 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.1113, allocations: 0 / 397.3 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.719e-05/0.1113, allocations: 4 kB / 397.3 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1113, allocations: 0 / 397.3 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002031/0.1115, allocations: 123.9 kB / 397.4 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001156/0.1127, allocations: 0.9227 MB / 398.3 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.1128, allocations: 54.56 kB / 398.4 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.086e-05/0.1129, allocations: 28.97 kB / 398.4 MB, free: 13.51 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001132/0.113, allocations: 85.11 kB / 398.5 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.1131, allocations: 38.55 kB / 398.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 2.825e-06/0.1131, allocations: 0 / 398.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002757/0.1134, allocations: 101.4 kB / 398.6 MB, free: 13.25 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.1134, allocations: 51.41 kB / 398.7 MB, free: 13.19 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002109/0.1136, allocations: 211.7 kB / 398.9 MB, free: 12.98 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.1137, allocations: 25.7 kB / 398.9 MB, free: 12.95 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.767e-05/0.1138, allocations: 119.8 kB / 399 MB, free: 12.82 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.1138, allocations: 23.73 kB / 399 MB, free: 12.8 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.176e-05/0.1138, allocations: 25.7 kB / 399.1 MB, free: 12.77 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.114, allocations: 330.8 kB / 399.4 MB, free: 12.44 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.51e-05/0.1141, allocations: 27.98 kB / 399.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.066e-05/0.1141, allocations: 31.88 kB / 399.4 MB, free: 12.38 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.1142, allocations: 60.84 kB / 399.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1143, allocations: 0 / 399.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002015/0.1145, allocations: 121.5 kB / 399.6 MB, free: 12.19 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.1145, allocations: 4 kB / 399.6 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.1145, allocations: 0 / 399.6 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.1145, allocations: 0 / 399.6 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.699e-05/0.1146, allocations: 19.98 kB / 399.6 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1146, allocations: 0 / 399.6 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.316e-05/0.1147, allocations: 11.84 kB / 399.7 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.1147, allocations: 11.97 kB / 399.7 MB, free: 12.14 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * 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 9.069e-05/0.1148, allocations: 122.7 kB / 399.8 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.132e-05/0.1149, allocations: 19.81 kB / 399.8 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002268/0.1151, allocations: 111 kB / 399.9 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1151, allocations: 0 / 399.9 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1151, allocations: 0 / 399.9 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.1151, allocations: 0 / 399.9 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004496/0.1156, allocations: 395.2 kB / 400.3 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1156, allocations: 0 / 400.3 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.949e-05/0.1157, allocations: 16.02 kB / 400.3 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1157, allocations: 3.938 kB / 400.3 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.1157, allocations: 0 / 400.3 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.1157, allocations: 4 kB / 400.3 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1157, allocations: 0 / 400.3 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002062/0.1159, allocations: 180.2 kB / 400.5 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.695e-05/0.116, allocations: 104.8 kB / 400.6 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.135e-05/0.116, allocations: 11.98 kB / 400.6 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.426e-05/0.1161, allocations: 0 / 400.6 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.185e-05/0.1161, allocations: 7.938 kB / 400.6 MB, free: 11.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.1161, allocations: 0 / 400.6 MB, free: 11.08 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001408/0.1163, allocations: 155 kB / 400.8 MB, free: 10.93 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1163, allocations: 0 / 400.8 MB, free: 10.93 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003542/0.1166, allocations: 75.98 kB / 400.8 MB, free: 10.85 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.0003017/0.117, allocations: 179.1 kB / 401 MB, free: 10.66 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001825/0.1171, allocations: 63.91 kB / 401.1 MB, free: 10.6 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1172, allocations: 0 / 401.1 MB, free: 10.6 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.621e-05/0.1172, allocations: 16 kB / 401.1 MB, free: 10.59 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/0.1176, allocations: 55.75 kB / 401.1 MB, free: 10.54 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005275/0.1182, allocations: 338.4 kB / 401.5 MB, free: 10.17 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.1185, allocations: 0.7088 MB / 402.2 MB, free: 9.438 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.248e-05/0.1186, allocations: 19.44 kB / 402.2 MB, free: 9.418 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.1186, allocations: 0 / 402.2 MB, free: 9.418 MB / 302.1 MB Notification: Performance of Templates: time 0.004562/0.1231, allocations: 2.806 MB / 405 MB, free: 6.633 MB / 302.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.makefile make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.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.ThrottleValveTestCalcHelperMain.o OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTestCalcHelperMain.o] Error 1