Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.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.ShuttleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest") translateModel(OpenHydraulics.DevelopmentTests.ShuttleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 102.6 kB / 15.71 MB, free: 460 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.001401/0.001401, allocations: 176 kB / 16.58 MB, free: 6.402 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.903/1.903, 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.05166/0.05166, allocations: 11.84 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.0005679/0.0005679, allocations: 22.5 kB / 343.6 MB, free: 22.47 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1191, allocations: 50.22 MB / 393.8 MB, free: 4.203 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ShuttleValveTest): time 0.003129/0.1223, allocations: 2.851 MB / 396.6 MB, free: 1.336 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003807/0.1261, allocations: 1.925 MB / 398.5 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002134/0.1264, allocations: 4 kB / 398.6 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002473/0.1266, allocations: 59.59 kB / 398.6 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003686/0.127, allocations: 166.6 kB / 398.8 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008698/0.1279, allocations: 275.1 kB / 399 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002764/0.1282, allocations: 290.3 kB / 399.3 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.1283, allocations: 65.58 kB / 399.4 MB, free: 14.56 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001841/0.1285, allocations: 95.64 kB / 399.5 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001959/0.1287, allocations: 107.5 kB / 399.6 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/0.1288, allocations: 8 kB / 399.6 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003445/0.1291, allocations: 171.8 kB / 399.8 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.961e-05/0.1292, allocations: 39.78 kB / 399.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.093e-05/0.1292, allocations: 69.58 kB / 399.9 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003086/0.1296, allocations: 251.7 kB / 400.1 MB, free: 13.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/0.1296, allocations: 0 / 400.1 MB, free: 13.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.955e-06/0.1296, allocations: 0 / 400.1 MB, free: 13.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.1296, allocations: 4 kB / 400.1 MB, free: 13.82 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0006684/0.1303, allocations: 0.5178 MB / 400.6 MB, free: 13.25 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.1303, allocations: 8.031 kB / 400.6 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.101e-05/0.1304, allocations: 27.62 kB / 400.7 MB, free: 13.22 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/0.1307, allocations: 254.5 kB / 400.9 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.1307, allocations: 16 kB / 400.9 MB, free: 12.91 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.971e-05/0.1308, allocations: 20 kB / 401 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004564/0.1312, allocations: 207.9 kB / 401.2 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.1312, allocations: 11.92 kB / 401.2 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/0.1313, allocations: 4 kB / 401.2 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.1313, allocations: 4 kB / 401.2 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003386/0.1316, allocations: 171.8 kB / 401.3 MB, free: 12.49 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001606/0.1332, allocations: 1.227 MB / 402.6 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004501/0.1337, allocations: 106.6 kB / 402.7 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.1339, allocations: 48.84 kB / 402.7 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001029/0.134, allocations: 89.23 kB / 402.8 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.134, allocations: 38.52 kB / 402.9 MB, free: 10.78 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.134, allocations: 0 / 402.9 MB, free: 10.78 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.002212/0.1362, allocations: 0.6335 MB / 403.5 MB, free: 10.14 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.1363, allocations: 51.41 kB / 403.5 MB, free: 10.08 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 sine1.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/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.0003751/0.1367, allocations: 262.6 kB / 403.8 MB, free: 9.809 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.1367, allocations: 25.7 kB / 403.8 MB, free: 9.777 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.1368, allocations: 167.9 kB / 404 MB, free: 9.609 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.308e-05/0.1369, allocations: 43.44 kB / 404 MB, free: 9.566 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.144e-05/0.1369, allocations: 4 kB / 404 MB, free: 9.562 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.1371, allocations: 330.8 kB / 404.4 MB, free: 9.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001963/0.1373, allocations: 75.95 kB / 404.4 MB, free: 9.156 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/0.1375, allocations: 108.2 kB / 404.5 MB, free: 9.035 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002105/0.1377, allocations: 87.84 kB / 404.6 MB, free: 8.953 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1377, allocations: 0 / 404.6 MB, free: 8.953 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005309/0.1383, allocations: 245.1 kB / 404.9 MB, free: 8.707 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.1383, allocations: 8.109 kB / 404.9 MB, free: 8.699 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/0.1383, allocations: 8.312 kB / 404.9 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.1384, allocations: 0 / 404.9 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002616/0.1386, allocations: 55.84 kB / 404.9 MB, free: 8.637 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.1386, allocations: 4 kB / 404.9 MB, free: 8.633 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.1388, allocations: 23.98 kB / 405 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.76e-05/0.1389, allocations: 15.97 kB / 405 MB, free: 8.594 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (18): * Single equations (assignments): 18 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001781/0.139, allocations: 130.7 kB / 405.1 MB, free: 8.457 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.197e-05/0.1391, allocations: 27.67 kB / 405.1 MB, free: 8.43 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000539/0.1396, allocations: 207.3 kB / 405.3 MB, free: 8.223 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.493e-06/0.1397, allocations: 4 kB / 405.3 MB, free: 8.219 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1397, allocations: 0 / 405.3 MB, free: 8.219 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1397, allocations: 0 / 405.3 MB, free: 8.219 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003859/0.1401, allocations: 281.5 kB / 405.6 MB, free: 7.895 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.1401, allocations: 0 / 405.6 MB, free: 7.895 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.1403, allocations: 31.97 kB / 405.6 MB, free: 7.863 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.1403, allocations: 4 kB / 405.6 MB, free: 7.859 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.1403, allocations: 7.953 kB / 405.6 MB, free: 7.852 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.1403, allocations: 3.938 kB / 405.7 MB, free: 7.848 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1403, allocations: 3.938 kB / 405.7 MB, free: 7.844 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005349/0.1409, allocations: 299.2 kB / 405.9 MB, free: 7.535 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/0.141, allocations: 112.8 kB / 406.1 MB, free: 7.406 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.296e-05/0.1411, allocations: 8 kB / 406.1 MB, free: 7.398 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000255/0.1413, allocations: 19.94 kB / 406.1 MB, free: 7.379 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.945e-05/0.1414, allocations: 11.97 kB / 406.1 MB, free: 7.367 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.1415, allocations: 4 kB / 406.1 MB, free: 7.363 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002893/0.1418, allocations: 190 kB / 406.3 MB, free: 7.18 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1418, allocations: 0 / 406.3 MB, free: 7.18 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004849/0.1423, allocations: 91.92 kB / 406.4 MB, free: 7.09 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (11): * Single equations (assignments): 11 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003881/0.1427, allocations: 167 kB / 406.5 MB, free: 6.918 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006181/0.1433, allocations: 175.8 kB / 406.7 MB, free: 6.746 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.1433, allocations: 4 kB / 406.7 MB, free: 6.742 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002726/0.1436, allocations: 76.2 kB / 406.8 MB, free: 6.668 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005266/0.1441, allocations: 59.91 kB / 406.8 MB, free: 6.613 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.1454, allocations: 0.5567 MB / 407.4 MB, free: 6.023 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006109/0.146, allocations: 0.7365 MB / 408.1 MB, free: 5.262 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.597e-05/0.1461, allocations: 31.36 kB / 408.2 MB, free: 5.23 MB / 302.1 MB Notification: Performance of SimCode: time 4e-07/0.1461, allocations: 0 / 408.2 MB, free: 5.23 MB / 302.1 MB Notification: Performance of Templates: time 0.00704/0.1532, allocations: 3.595 MB / 411.8 MB, free: 1.648 MB / 302.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.makefile make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.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.ShuttleValveTestCalcHelperMain.o OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTestCalcHelperMain.o] Error 1