Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.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.ThrottleValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2") translateModel(OpenHydraulics.DevelopmentTests.ThrottleValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007689/0.0007689, allocations: 99.98 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.001028/0.001028, allocations: 180 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 1.935/1.935, allocations: 205.4 MB / 222.8 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05197/0.05197, allocations: 11.85 MB / 282.9 MB, free: 9.465 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.0006247/0.0006247, allocations: 16 kB / 343.6 MB, free: 22.48 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1213, allocations: 50.21 MB / 393.8 MB, free: 4.211 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest2): time 0.003379/0.1247, allocations: 2.718 MB / 396.5 MB, free: 1.473 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003296/0.128, allocations: 2.153 MB / 398.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000176/0.1282, allocations: 4 kB / 398.6 MB, free: 15.31 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003754/0.1286, allocations: 79.56 kB / 398.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004886/0.1291, allocations: 198.7 kB / 398.9 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009678/0.1301, allocations: 342.7 kB / 399.2 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003675/0.1305, allocations: 342.2 kB / 399.6 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.1306, allocations: 45 kB / 399.6 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001831/0.1308, allocations: 119.5 kB / 399.7 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002318/0.1311, allocations: 139.4 kB / 399.9 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.246e-05/0.1311, allocations: 12 kB / 399.9 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004448/0.1316, allocations: 259.7 kB / 400.1 MB, free: 13.81 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.708e-05/0.1316, allocations: 51.72 kB / 400.2 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.029e-05/0.1317, allocations: 81.52 kB / 400.3 MB, free: 13.67 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004587/0.1322, allocations: 371 kB / 400.6 MB, free: 13.31 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.1322, allocations: 4 kB / 400.6 MB, free: 13.3 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1322, allocations: 0 / 400.6 MB, free: 13.3 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1322, allocations: 0 / 400.6 MB, free: 13.3 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008003/0.133, allocations: 0.5765 MB / 401.2 MB, free: 12.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.1331, allocations: 8.031 kB / 401.2 MB, free: 12.67 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.217e-05/0.1332, allocations: 43.58 kB / 401.3 MB, free: 12.63 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003553/0.1335, allocations: 290.3 kB / 401.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.1335, allocations: 12.44 kB / 401.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.093e-05/0.1336, allocations: 24 kB / 401.6 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003918/0.134, allocations: 219.2 kB / 401.8 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.134, allocations: 0 / 401.8 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.435e-05/0.134, allocations: 12 kB / 401.8 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.134, allocations: 4 kB / 401.8 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000405/0.1345, allocations: 249.6 kB / 402.1 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001572/0.136, allocations: 1.329 MB / 403.4 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003774/0.1364, allocations: 181.4 kB / 403.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/0.1366, allocations: 84.83 kB / 403.6 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001795/0.1368, allocations: 166.2 kB / 403.8 MB, free: 9.801 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.1368, allocations: 46.55 kB / 403.9 MB, free: 9.746 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 1.292e-06/0.1368, allocations: 0 / 403.9 MB, free: 9.746 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.02273/0.1596, allocations: 2.844 MB / 406.7 MB, free: 6.863 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.1597, allocations: 59.41 kB / 406.8 MB, free: 6.793 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Sources.mo:517:5-517:73:writable] Warning: Parameter sine.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004816/0.1601, allocations: 353.5 kB / 407.1 MB, free: 6.441 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.952e-05/0.1602, allocations: 33.7 kB / 407.1 MB, free: 6.402 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.1604, allocations: 184.7 kB / 407.3 MB, free: 6.215 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.1605, allocations: 98.5 kB / 407.4 MB, free: 6.117 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.035e-05/0.1605, allocations: 4 kB / 407.4 MB, free: 6.113 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.1607, allocations: 346.8 kB / 407.8 MB, free: 5.766 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007829/0.1615, allocations: 299.8 kB / 408 MB, free: 5.473 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008107/0.1623, allocations: 346.1 kB / 408.4 MB, free: 5.125 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008206/0.1631, allocations: 299.7 kB / 408.7 MB, free: 4.832 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.1631, allocations: 0 / 408.7 MB, free: 4.832 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.003073/0.1662, allocations: 0.9671 MB / 409.6 MB, free: 3.852 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/0.1663, allocations: 11.95 kB / 409.7 MB, free: 3.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.1663, allocations: 0 / 409.7 MB, free: 3.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002154/0.1684, allocations: 1.044 MB / 410.7 MB, free: 2.789 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002801/0.1687, allocations: 59.89 kB / 410.8 MB, free: 2.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003003/0.1718, allocations: 1.745 MB / 412.5 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006124/0.1724, allocations: 51.92 kB / 412.6 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.698e-05/0.1725, allocations: 19.98 kB / 412.6 MB, free: 0.8633 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (throttleValve.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002583/0.1727, allocations: 163.1 kB / 412.7 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.906e-05/0.1728, allocations: 39.52 kB / 412.8 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002858/0.1757, allocations: 0.9737 MB / 413.7 MB, free: 15.67 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.1757, allocations: 7.953 kB / 413.8 MB, free: 15.66 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/0.1757, allocations: 0 / 413.8 MB, free: 15.66 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.1757, allocations: 3.984 kB / 413.8 MB, free: 15.66 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004625/0.1804, allocations: 1.857 MB / 415.6 MB, free: 13.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.1804, allocations: 4 kB / 415.6 MB, free: 13.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002422/0.1806, allocations: 63.95 kB / 415.7 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001834/0.1825, allocations: 0.8837 MB / 416.6 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.422e-05/0.1826, allocations: 19.97 kB / 416.6 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002815/0.1854, allocations: 1.682 MB / 418.3 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.1854, allocations: 0 / 418.3 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002253/0.1877, allocations: 0.9045 MB / 419.2 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002439/0.1879, allocations: 184.6 kB / 419.4 MB, free: 9.887 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.611e-05/0.188, allocations: 7.953 kB / 419.4 MB, free: 9.879 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004909/0.1885, allocations: 43.97 kB / 419.4 MB, free: 9.836 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.674e-05/0.1886, allocations: 23.97 kB / 419.4 MB, free: 9.812 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.451e-05/0.1886, allocations: 15.98 kB / 419.4 MB, free: 9.797 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002923/0.1889, allocations: 259.2 kB / 419.7 MB, free: 9.543 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1889, allocations: 0 / 419.7 MB, free: 9.543 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007897/0.1897, allocations: 223.9 kB / 419.9 MB, free: 9.324 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001398/0.1911, allocations: 0.5295 MB / 420.4 MB, free: 8.902 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002228/0.1934, allocations: 0.7028 MB / 421.1 MB, free: 8.199 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1934, allocations: 0 / 421.1 MB, free: 8.199 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001342/0.1947, allocations: 391.9 kB / 421.5 MB, free: 7.816 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006203/0.1954, allocations: 89.25 kB / 421.6 MB, free: 7.73 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/0.1971, allocations: 0.9097 MB / 422.5 MB, free: 6.777 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/0.1974, allocations: 0.7879 MB / 423.3 MB, free: 5.965 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.1976, allocations: 35.42 kB / 423.3 MB, free: 5.93 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1976, allocations: 0 / 423.3 MB, free: 5.93 MB / 318.1 MB Notification: Performance of Templates: time 0.2525/0.4501, allocations: 10.67 MB / 434 MB, free: 40.61 MB / 318.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.makefile make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.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.ThrottleValveTest2CalcHelperMain.o OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2CalcHelperMain.o] Error 1