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.0006617/0.0006617, allocations: 92 kB / 16.02 MB, free: 80 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.0006666/0.0006666, allocations: 179.3 kB / 16.92 MB, free: 6.652 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.081/1.081, allocations: 205.4 MB / 223.1 MB, free: 5.48 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04657/0.04657, allocations: 11.86 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.000473/0.000473, allocations: 14.5 kB / 344.2 MB, free: 22.12 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06501/0.06549, allocations: 50.22 MB / 394.4 MB, free: 3.855 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.TankTest): time 0.001794/0.06731, allocations: 1.908 MB / 396.3 MB, free: 1.934 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008483/0.06818, allocations: 0.6319 MB / 396.9 MB, free: 1.297 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.011e-05/0.06828, allocations: 8 kB / 396.9 MB, free: 1.289 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.894e-05/0.06832, allocations: 7.922 kB / 397 MB, free: 1.281 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002275/0.06855, allocations: 67.58 kB / 397 MB, free: 1.215 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.49e-05/0.06864, allocations: 19.97 kB / 397 MB, free: 1.195 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.06878, allocations: 127.2 kB / 397.2 MB, free: 1.07 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.449e-05/0.06887, allocations: 20 kB / 397.2 MB, free: 1.051 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.551e-05/0.06896, allocations: 47.78 kB / 397.2 MB, free: 1.004 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.287e-05/0.06905, allocations: 47.84 kB / 397.3 MB, free: 0.957 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.06907, allocations: 7.938 kB / 397.3 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.233e-05/0.06913, allocations: 16 kB / 397.3 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.654e-05/0.06915, allocations: 15.86 kB / 397.3 MB, free: 0.918 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.822e-05/0.06921, allocations: 81.42 kB / 397.4 MB, free: 0.832 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.132e-05/0.06931, allocations: 68.11 kB / 397.5 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.06932, allocations: 0 / 397.5 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.06933, allocations: 0 / 397.5 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.237e-06/0.06933, allocations: 0 / 397.5 MB, free: 0.7656 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.0003394/0.06968, allocations: 412.8 kB / 397.9 MB, free: 316 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.543e-05/0.06971, allocations: 8.031 kB / 397.9 MB, free: 308 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.078e-05/0.06974, allocations: 8.844 kB / 397.9 MB, free: 300 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.0699, allocations: 200.1 kB / 398.1 MB, free: 60 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.06992, allocations: 4.375 kB / 398.1 MB, free: 56 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.06994, allocations: 12.12 kB / 398.1 MB, free: 44 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.07008, allocations: 81.64 kB / 398.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.361e-06/0.0701, allocations: 0 / 398.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.07011, allocations: 4 kB / 398.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.07012, allocations: 4 kB / 398.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.479e-05/0.07021, allocations: 59.91 kB / 398.2 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005018/0.07072, allocations: 0.5047 MB / 398.7 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.764e-05/0.07079, allocations: 34.56 kB / 398.8 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.765e-05/0.07082, allocations: 20.97 kB / 398.8 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.07084, allocations: 0 / 398.8 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.07086, allocations: 42.5 kB / 398.8 MB, free: 15.19 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 7.91e-07/0.07087, allocations: 0 / 398.8 MB, free: 15.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.000176/0.07105, allocations: 103.4 kB / 398.9 MB, free: 15.07 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.07109, allocations: 77.11 kB / 399 MB, free: 14.98 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.07121, allocations: 162.2 kB / 399.2 MB, free: 14.81 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.07123, allocations: 33.7 kB / 399.2 MB, free: 14.77 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.712e-05/0.07128, allocations: 104 kB / 399.3 MB, free: 14.67 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.097e-05/0.0713, allocations: 11.81 kB / 399.3 MB, free: 14.66 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.07133, allocations: 21.7 kB / 399.3 MB, free: 14.63 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.192e-05/0.07142, allocations: 318.8 kB / 399.7 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.111e-05/0.07146, allocations: 15.98 kB / 399.7 MB, free: 14.29 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.997e-05/0.07149, allocations: 23.98 kB / 399.7 MB, free: 14.27 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.723e-05/0.07158, allocations: 92.2 kB / 399.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.07158, allocations: 0 / 399.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001284/0.07172, allocations: 115.3 kB / 399.9 MB, free: 14.04 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.07175, allocations: 33.64 kB / 399.9 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-06/0.07175, allocations: 0 / 399.9 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/0.07177, allocations: 0 / 399.9 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.449e-05/0.07186, allocations: 23.98 kB / 400 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.07187, allocations: 3.938 kB / 400 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.528e-05/0.07193, allocations: 7.844 kB / 400 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.07194, allocations: 4 kB / 400 MB, free: 13.96 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.386e-05/0.07203, allocations: 143.5 kB / 400.1 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.07207, allocations: 11.84 kB / 400.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001467/0.07222, allocations: 119.6 kB / 400.2 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.07223, allocations: 0 / 400.2 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.07224, allocations: 4 kB / 400.2 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.07224, allocations: 0 / 400.2 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003054/0.07255, allocations: 385.3 kB / 400.6 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.07257, allocations: 0 / 400.6 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.048e-05/0.07262, allocations: 7.984 kB / 400.6 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.07263, allocations: 7.938 kB / 400.6 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.07264, allocations: 4 kB / 400.6 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.07265, allocations: 0 / 400.6 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.07265, allocations: 3.938 kB / 400.6 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.0728, allocations: 210 kB / 400.8 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.533e-05/0.07287, allocations: 100.8 kB / 400.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.07289, allocations: 0 / 400.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.112e-05/0.07296, allocations: 0 / 400.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.754e-05/0.07299, allocations: 7.984 kB / 401 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.073, allocations: 4 kB / 401 MB, free: 12.83 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.55e-05/0.07309, allocations: 131.8 kB / 401.1 MB, free: 12.7 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.07309, allocations: 0 / 401.1 MB, free: 12.7 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002201/0.07332, allocations: 28 kB / 401.1 MB, free: 12.68 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.412e-05/0.07342, allocations: 111.2 kB / 401.2 MB, free: 12.56 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001201/0.07355, allocations: 91.39 kB / 401.3 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.07355, allocations: 0 / 401.3 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.171e-05/0.07361, allocations: 83.33 kB / 401.4 MB, free: 12.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.07391, allocations: 35.92 kB / 401.4 MB, free: 12.33 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003558/0.07428, allocations: 323.4 kB / 401.7 MB, free: 11.98 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002034/0.07449, allocations: 0.697 MB / 402.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.864e-05/0.07453, allocations: 15.44 kB / 402.5 MB, free: 11.24 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.07453, allocations: 0 / 402.5 MB, free: 11.24 MB / 302.1 MB Notification: Performance of Templates: time 0.002626/0.07716, allocations: 1.664 MB / 404.1 MB, free: 9.586 MB / 302.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.makefile make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.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.TankTestCalcHelperMain.o OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.TankTestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.TankTestCalcHelperMain.o] Error 1