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.001035/0.001035, allocations: 96.14 kB / 15.87 MB, free: 16 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.001126/0.001126, allocations: 194.4 kB / 16.79 MB, free: 6.812 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.434/1.434, allocations: 205.1 MB / 222.6 MB, free: 4.805 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05142/0.05142, allocations: 11.84 MB / 281.8 MB, free: 9.684 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.001509/0.001509, allocations: 60.84 kB / 341.8 MB, free: 22.46 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09451/0.09603, allocations: 49.25 MB / 391 MB, free: 5.168 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.TankTest): time 0.004125/0.1002, allocations: 2.243 MB / 393.3 MB, free: 2.906 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001439/0.1017, allocations: 0.6591 MB / 393.9 MB, free: 2.242 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000166/0.1019, allocations: 0 / 393.9 MB, free: 2.242 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.255e-05/0.102, allocations: 11.91 kB / 393.9 MB, free: 2.23 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004032/0.1024, allocations: 63.59 kB / 394 MB, free: 2.168 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001189/0.1026, allocations: 23.98 kB / 394 MB, free: 2.145 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002283/0.1028, allocations: 127.2 kB / 394.1 MB, free: 2.02 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.1029, allocations: 23.97 kB / 394.2 MB, free: 1.996 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.1031, allocations: 35.88 kB / 394.2 MB, free: 1.961 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.1032, allocations: 51.77 kB / 394.3 MB, free: 1.91 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.1032, allocations: 4 kB / 394.3 MB, free: 1.906 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.1033, allocations: 23.98 kB / 394.3 MB, free: 1.883 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.486e-05/0.1034, allocations: 7.938 kB / 394.3 MB, free: 1.875 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.048e-05/0.1035, allocations: 59.73 kB / 394.3 MB, free: 1.816 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.1036, allocations: 68.12 kB / 394.4 MB, free: 1.75 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.1036, allocations: 4 kB / 394.4 MB, free: 1.746 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1036, allocations: 0 / 394.4 MB, free: 1.746 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.1036, allocations: 0 / 394.4 MB, free: 1.746 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.0005983/0.1043, allocations: 424.8 kB / 394.8 MB, free: 1.277 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.1043, allocations: 8.031 kB / 394.8 MB, free: 1.27 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.755e-05/0.1044, allocations: 12.75 kB / 394.9 MB, free: 1.258 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.1046, allocations: 204.2 kB / 395.1 MB, free: 1.02 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.1046, allocations: 8.312 kB / 395.1 MB, free: 1.012 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.1047, allocations: 16.12 kB / 395.1 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.1049, allocations: 81.66 kB / 395.2 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.1049, allocations: 0 / 395.2 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.1049, allocations: 0 / 395.2 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.1049, allocations: 7.938 kB / 395.2 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.105, allocations: 55.97 kB / 395.2 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007235/0.1058, allocations: 0.4932 MB / 395.7 MB, free: 280 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.393e-05/0.1059, allocations: 50.5 kB / 395.8 MB, free: 220 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.315e-05/0.1059, allocations: 12.98 kB / 395.8 MB, free: 204 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.1059, allocations: 4 kB / 395.8 MB, free: 200 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.106, allocations: 30.56 kB / 395.8 MB, free: 160 kB / 286.1 MB Notification: Performance of pre-optimization done (n=5): time 1.523e-06/0.106, allocations: 0 / 395.8 MB, free: 160 kB / 286.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002642/0.1063, allocations: 115.2 kB / 395.9 MB, free: 32 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.482e-05/0.1063, allocations: 77.11 kB / 396 MB, free: 15.94 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.1065, allocations: 162.2 kB / 396.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.1065, allocations: 25.7 kB / 396.2 MB, free: 15.74 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.64e-05/0.1066, allocations: 111.9 kB / 396.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.922e-05/0.1066, allocations: 15.81 kB / 396.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.795e-05/0.1067, allocations: 25.7 kB / 396.3 MB, free: 15.58 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1069, allocations: 318.8 kB / 396.6 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.052e-05/0.1069, allocations: 12 kB / 396.6 MB, free: 15.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.061e-05/0.107, allocations: 27.97 kB / 396.7 MB, free: 15.22 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.902e-05/0.1071, allocations: 96.25 kB / 396.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1071, allocations: 0 / 396.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001561/0.1072, allocations: 107.2 kB / 396.9 MB, free: 14.99 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.379e-05/0.1073, allocations: 41.64 kB / 396.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1073, allocations: 0 / 396.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.1073, allocations: 0 / 396.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.1074, allocations: 11.98 kB / 396.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.1074, allocations: 4 kB / 396.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.714e-05/0.1075, allocations: 8.094 kB / 396.9 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.709e-06/0.1075, allocations: 4 kB / 396.9 MB, free: 14.92 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 9.781e-05/0.1076, allocations: 147.5 kB / 397.1 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.632e-05/0.1077, allocations: 11.84 kB / 397.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001758/0.1078, allocations: 119.6 kB / 397.2 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-06/0.1079, allocations: 0 / 397.2 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1079, allocations: 0 / 397.2 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1079, allocations: 0 / 397.2 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003757/0.1083, allocations: 388.9 kB / 397.6 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.1083, allocations: 8.031 kB / 397.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.088e-05/0.1083, allocations: 8 kB / 397.6 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.148e-05/0.1084, allocations: 7.938 kB / 397.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.1084, allocations: 3.938 kB / 397.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.1084, allocations: 0 / 397.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1084, allocations: 0 / 397.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.1086, allocations: 202 kB / 397.8 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.515e-05/0.1086, allocations: 104.9 kB / 397.9 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.37e-05/0.1087, allocations: 7.922 kB / 397.9 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.941e-05/0.1088, allocations: 0 / 397.9 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.459e-05/0.1088, allocations: 4 kB / 397.9 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.1088, allocations: 4 kB / 397.9 MB, free: 13.78 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001015/0.1089, allocations: 127.8 kB / 398.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1089, allocations: 0 / 398.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002573/0.1092, allocations: 31.91 kB / 398.1 MB, free: 13.62 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 0.0001427/0.1093, allocations: 115.2 kB / 398.2 MB, free: 13.5 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001727/0.1095, allocations: 95.33 kB / 398.3 MB, free: 13.4 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1095, allocations: 0 / 398.3 MB, free: 13.4 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.258e-05/0.1096, allocations: 79.39 kB / 398.4 MB, free: 13.31 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/0.11, allocations: 23.92 kB / 398.4 MB, free: 13.29 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005038/0.1105, allocations: 298.8 kB / 398.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.1108, allocations: 0.7009 MB / 399.4 MB, free: 12.23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.734e-05/0.1108, allocations: 23.36 kB / 399.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1108, allocations: 0 / 399.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of Templates: time 0.003369/0.1142, allocations: 1.676 MB / 401.1 MB, free: 10.55 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