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.0009033/0.0009033, allocations: 98.88 kB / 16.02 MB, free: 76 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.0006727/0.0006727, allocations: 186 kB / 16.92 MB, free: 6.777 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.072/1.072, allocations: 205.4 MB / 223.1 MB, free: 5.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04681/0.04681, 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.000481/0.0004811, allocations: 22.81 kB / 344.2 MB, free: 22.11 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06387/0.06436, allocations: 50.21 MB / 394.4 MB, free: 3.844 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest): time 0.00179/0.06616, allocations: 1.904 MB / 396.3 MB, free: 1.926 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002152/0.06833, allocations: 1.921 MB / 398.2 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.06844, allocations: 4 kB / 398.2 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001631/0.06861, allocations: 39.66 kB / 398.3 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002073/0.06883, allocations: 82.14 kB / 398.3 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005261/0.06936, allocations: 255.2 kB / 398.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001658/0.06954, allocations: 167.1 kB / 398.8 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.291e-05/0.06964, allocations: 25.53 kB / 398.8 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.633e-05/0.06971, allocations: 55.73 kB / 398.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.014e-05/0.0698, allocations: 63.7 kB / 398.9 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.06982, allocations: 8 kB / 398.9 MB, free: 15.31 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003588/0.07018, allocations: 223.7 kB / 399.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.055e-05/0.07022, allocations: 15.92 kB / 399.1 MB, free: 15.08 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.586e-05/0.0703, allocations: 101.3 kB / 399.2 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000227/0.07053, allocations: 195.9 kB / 399.4 MB, free: 14.78 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.07054, allocations: 0 / 399.4 MB, free: 14.78 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.07055, allocations: 0 / 399.4 MB, free: 14.78 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.07056, allocations: 0 / 399.4 MB, free: 14.78 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.0004107/0.07097, allocations: 450.8 kB / 399.9 MB, free: 14.29 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.07101, allocations: 12.03 kB / 399.9 MB, free: 14.28 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.772e-05/0.07106, allocations: 16.75 kB / 399.9 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.07124, allocations: 208.1 kB / 400.1 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.07126, allocations: 8.375 kB / 400.1 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.07129, allocations: 20.12 kB / 400.1 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.07149, allocations: 117.6 kB / 400.2 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.0715, allocations: 0 / 400.2 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.07152, allocations: 8 kB / 400.3 MB, free: 13.87 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.07153, allocations: 3.984 kB / 400.3 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001858/0.07172, allocations: 123.9 kB / 400.4 MB, free: 13.74 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009344/0.07267, allocations: 0.9266 MB / 401.3 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.07279, allocations: 54.5 kB / 401.4 MB, free: 12.6 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.811e-05/0.07285, allocations: 28.97 kB / 401.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.415e-05/0.07295, allocations: 85.09 kB / 401.5 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.07299, allocations: 42.56 kB / 401.5 MB, free: 12.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.07299, allocations: 0 / 401.5 MB, free: 12.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002271/0.07322, allocations: 101.5 kB / 401.6 MB, free: 12.31 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.504e-05/0.07326, allocations: 51.41 kB / 401.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.07343, allocations: 207.8 kB / 401.9 MB, free: 12.03 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.07345, allocations: 25.7 kB / 401.9 MB, free: 12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.146e-05/0.07353, allocations: 123.8 kB / 402 MB, free: 11.88 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.539e-05/0.07355, allocations: 15.75 kB / 402 MB, free: 11.86 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-05/0.07358, allocations: 17.66 kB / 402 MB, free: 11.84 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.206e-05/0.07368, allocations: 334.8 kB / 402.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.655e-05/0.07374, allocations: 23.98 kB / 402.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.025e-05/0.07381, allocations: 31.98 kB / 402.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001/0.07391, allocations: 60.84 kB / 402.5 MB, free: 11.38 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.07392, allocations: 0 / 402.5 MB, free: 11.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001719/0.0741, allocations: 113.4 kB / 402.6 MB, free: 11.27 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.07412, allocations: 8 kB / 402.6 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.07412, allocations: 0 / 402.6 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.055e-06/0.07414, allocations: 288 / 402.6 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.875e-05/0.07423, allocations: 20.02 kB / 402.6 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.07424, allocations: 4 kB / 402.6 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.574e-05/0.0743, allocations: 11.78 kB / 402.6 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.07432, allocations: 4 kB / 402.6 MB, free: 11.22 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 7.657e-05/0.0744, allocations: 130.6 kB / 402.8 MB, free: 11.08 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.333e-05/0.07444, allocations: 15.8 kB / 402.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001923/0.07464, allocations: 98.66 kB / 402.9 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.07465, allocations: 0 / 402.9 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.07466, allocations: 4 kB / 402.9 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.07467, allocations: 0 / 402.9 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003792/0.07505, allocations: 387.2 kB / 403.3 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.07506, allocations: 0 / 403.3 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.227e-05/0.07511, allocations: 8 kB / 403.3 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.07512, allocations: 4 kB / 403.3 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.07514, allocations: 7.922 kB / 403.3 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.07514, allocations: 3.938 kB / 403.3 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.07515, allocations: 4.031 kB / 403.3 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001596/0.07531, allocations: 184.5 kB / 403.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.093e-05/0.0754, allocations: 112.8 kB / 403.6 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.07542, allocations: 4 kB / 403.6 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.399e-05/0.0755, allocations: 4 kB / 403.6 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.25e-05/0.07552, allocations: 3.938 kB / 403.6 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-06/0.07553, allocations: 8 kB / 403.6 MB, free: 10.15 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.00012/0.07566, allocations: 159 kB / 403.8 MB, free: 9.992 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.07566, allocations: 0 / 403.8 MB, free: 9.992 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002949/0.07596, allocations: 72 kB / 403.8 MB, free: 9.922 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.0002292/0.0762, allocations: 179 kB / 404 MB, free: 9.734 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001436/0.07635, allocations: 59.97 kB / 404.1 MB, free: 9.676 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.07636, allocations: 4 kB / 404.1 MB, free: 9.672 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.502e-05/0.07641, allocations: 31.95 kB / 404.1 MB, free: 9.641 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.07674, allocations: 35.22 kB / 404.1 MB, free: 9.609 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000411/0.07716, allocations: 348.4 kB / 404.5 MB, free: 9.238 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/0.07739, allocations: 0.7204 MB / 405.2 MB, free: 8.492 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.911e-05/0.07744, allocations: 15.44 kB / 405.2 MB, free: 8.477 MB / 302.1 MB Notification: Performance of SimCode: time 2.81e-07/0.07744, allocations: 0 / 405.2 MB, free: 8.477 MB / 302.1 MB Notification: Performance of Templates: time 0.003865/0.08131, allocations: 2.781 MB / 408 MB, free: 5.715 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