Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.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.TankTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest") translateModel(OpenHydraulics.DevelopmentTests.TankTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008691/0.0008692, allocations: 99.36 kB / 15.71 MB, free: 452 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.001252/0.001252, allocations: 175.1 kB / 16.58 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.005/2.005, allocations: 205.4 MB / 222.8 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05218/0.05218, allocations: 11.85 MB / 282.9 MB, free: 9.484 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.0005807/0.0005807, allocations: 16 kB / 343.6 MB, free: 22.48 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1211, allocations: 50.21 MB / 393.8 MB, free: 4.223 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.TankTest): time 0.002279/0.1235, allocations: 1.851 MB / 395.6 MB, free: 2.359 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009711/0.1244, allocations: 0.6012 MB / 396.2 MB, free: 1.754 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.447e-05/0.1245, allocations: 7.938 kB / 396.2 MB, free: 1.746 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.131e-05/0.1246, allocations: 7.922 kB / 396.2 MB, free: 1.738 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002978/0.1249, allocations: 87.36 kB / 396.3 MB, free: 1.652 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001042/0.125, allocations: 31.53 kB / 396.4 MB, free: 1.625 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.1252, allocations: 123.3 kB / 396.5 MB, free: 1.504 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.852e-05/0.1253, allocations: 19.98 kB / 396.5 MB, free: 1.484 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.417e-05/0.1254, allocations: 43.78 kB / 396.5 MB, free: 1.441 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.551e-05/0.1255, allocations: 39.86 kB / 396.6 MB, free: 1.402 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.1255, allocations: 4 kB / 396.6 MB, free: 1.398 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.67e-05/0.1255, allocations: 11.98 kB / 396.6 MB, free: 1.387 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.564e-05/0.1256, allocations: 11.94 kB / 396.6 MB, free: 1.375 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.491e-05/0.1256, allocations: 49.64 kB / 396.6 MB, free: 1.32 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.1258, allocations: 76.03 kB / 396.7 MB, free: 1.246 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1258, allocations: 4 kB / 396.7 MB, free: 1.242 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1258, allocations: 0 / 396.7 MB, free: 1.242 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.645e-06/0.1258, allocations: 0 / 396.7 MB, free: 1.242 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0003627/0.1262, allocations: 408.6 kB / 397.1 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.639e-05/0.1262, allocations: 12.03 kB / 397.1 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.833e-05/0.1262, allocations: 11.89 kB / 397.1 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.1264, allocations: 210.2 kB / 397.4 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.1264, allocations: 8 kB / 397.4 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.1265, allocations: 4 kB / 397.4 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.1266, allocations: 93.66 kB / 397.5 MB, free: 424 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.954e-06/0.1267, allocations: 0 / 397.5 MB, free: 424 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.1267, allocations: 0 / 397.5 MB, free: 424 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.1267, allocations: 0 / 397.5 MB, free: 424 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.1268, allocations: 51.97 kB / 397.5 MB, free: 372 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000654/0.1275, allocations: 0.501 MB / 398 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.348e-05/0.1276, allocations: 42.56 kB / 398.1 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.365e-05/0.1276, allocations: 20.92 kB / 398.1 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.1276, allocations: 3.984 kB / 398.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.1276, allocations: 38.52 kB / 398.1 MB, free: 15.66 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.733e-06/0.1277, allocations: 4 kB / 398.1 MB, free: 15.65 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002263/0.1279, allocations: 99.28 kB / 398.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/0.1279, allocations: 85.11 kB / 398.3 MB, free: 15.44 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.1281, allocations: 154.2 kB / 398.4 MB, free: 15.28 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.1281, allocations: 29.7 kB / 398.5 MB, free: 15.25 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.102e-05/0.1282, allocations: 111.9 kB / 398.6 MB, free: 15.13 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.454e-05/0.1282, allocations: 11.81 kB / 398.6 MB, free: 15.12 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/0.1282, allocations: 0 / 398.6 MB, free: 15.12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.1284, allocations: 322.8 kB / 398.9 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.336e-05/0.1284, allocations: 15.94 kB / 398.9 MB, free: 14.78 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.412e-05/0.1284, allocations: 15.98 kB / 398.9 MB, free: 14.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.933e-05/0.1285, allocations: 49.7 kB / 399 MB, free: 14.71 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1285, allocations: 3.938 kB / 399 MB, free: 14.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000141/0.1287, allocations: 111.3 kB / 399.1 MB, free: 14.59 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.777e-05/0.1287, allocations: 37.66 kB / 399.1 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.1287, allocations: 240 / 399.1 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.1287, allocations: 0 / 399.1 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.1289, allocations: 15.98 kB / 399.2 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.1289, allocations: 3.984 kB / 399.2 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.169e-05/0.129, allocations: 7.844 kB / 399.2 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.129, allocations: 4 kB / 399.2 MB, free: 14.51 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001157/0.1291, allocations: 147.5 kB / 399.3 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.012e-05/0.1291, allocations: 11.91 kB / 399.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001899/0.1293, allocations: 115.6 kB / 399.4 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.1293, allocations: 0 / 399.4 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.1294, allocations: 0 / 399.4 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1294, allocations: 0 / 399.4 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003833/0.1297, allocations: 385 kB / 399.8 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.1298, allocations: 7.953 kB / 399.8 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.754e-05/0.1298, allocations: 11.94 kB / 399.8 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.1298, allocations: 8.031 kB / 399.8 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.1298, allocations: 0 / 399.8 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1299, allocations: 0 / 399.8 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.1299, allocations: 3.938 kB / 399.8 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/0.13, allocations: 198.4 kB / 400 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.984e-05/0.1301, allocations: 108.9 kB / 400.1 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.1302, allocations: 4.062 kB / 400.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.411e-05/0.1302, allocations: 4 kB / 400.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.94e-05/0.1303, allocations: 8 kB / 400.2 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.802e-06/0.1303, allocations: 3.984 kB / 400.2 MB, free: 13.38 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001011/0.1304, allocations: 127.8 kB / 400.3 MB, free: 13.25 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1304, allocations: 0 / 400.3 MB, free: 13.25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002421/0.1307, allocations: 24 kB / 400.3 MB, free: 13.23 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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001428/0.1308, allocations: 107.2 kB / 400.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001705/0.131, allocations: 95.39 kB / 400.5 MB, free: 13.01 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.131, allocations: 4 kB / 400.5 MB, free: 13 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.965e-05/0.1311, allocations: 83.27 kB / 400.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.1314, allocations: 31.92 kB / 400.6 MB, free: 12.88 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004438/0.1319, allocations: 315.4 kB / 400.9 MB, free: 12.54 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.1322, allocations: 0.7009 MB / 401.6 MB, free: 11.81 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.477e-05/0.1322, allocations: 15.44 kB / 401.7 MB, free: 11.79 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1322, allocations: 0 / 401.7 MB, free: 11.79 MB / 302.1 MB Notification: Performance of Templates: time 0.003801/0.136, allocations: 1.649 MB / 403.3 MB, free: 10.15 MB / 302.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.makefile make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.TankTestCalcHelperMain.o OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.TankTestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.TankTestCalcHelperMain.o] Error 1