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.0006467/0.0006468, 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.0006693/0.0006693, allocations: 186.7 kB / 16.92 MB, free: 6.73 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.064/1.064, allocations: 205.4 MB / 223.1 MB, free: 5.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.0464/0.0464, allocations: 11.84 MB / 283.2 MB, free: 9.34 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.0004949/0.000495, allocations: 24.19 kB / 344.2 MB, free: 22.12 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.065/0.06551, allocations: 50.21 MB / 394.4 MB, free: 3.859 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest2): time 0.002664/0.06818, allocations: 2.845 MB / 397.2 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002724/0.07092, allocations: 2.334 MB / 399.6 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001605/0.07109, allocations: 4 kB / 399.6 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002832/0.07138, allocations: 75.64 kB / 399.7 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000365/0.07176, allocations: 163 kB / 399.8 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007324/0.0725, allocations: 355 kB / 400.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003368/0.07284, allocations: 358.2 kB / 400.5 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.07296, allocations: 56.94 kB / 400.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.07313, allocations: 119.4 kB / 400.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.07331, allocations: 147.2 kB / 400.8 MB, free: 13.4 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.869e-05/0.07334, allocations: 12 kB / 400.8 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003924/0.07374, allocations: 271.7 kB / 401.1 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.665e-05/0.07383, allocations: 55.69 kB / 401.2 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.07395, allocations: 168.8 kB / 401.3 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003738/0.07433, allocations: 363.2 kB / 401.7 MB, free: 12.54 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.07434, allocations: 0 / 401.7 MB, free: 12.54 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.31e-07/0.07435, allocations: 3.938 kB / 401.7 MB, free: 12.54 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.07436, allocations: 4 kB / 401.7 MB, free: 12.53 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.0006435/0.07501, allocations: 0.5805 MB / 402.3 MB, free: 11.9 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.826e-05/0.07504, allocations: 8.031 kB / 402.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.734e-05/0.07511, allocations: 32.56 kB / 402.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.0754, allocations: 303.4 kB / 402.6 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.07542, allocations: 20.38 kB / 402.6 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.024e-05/0.07546, allocations: 16 kB / 402.6 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003574/0.07582, allocations: 231.2 kB / 402.9 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.07584, allocations: 4 kB / 402.9 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.07587, allocations: 8 kB / 402.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.07588, allocations: 4 kB / 402.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003898/0.07627, allocations: 249.6 kB / 403.1 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.07759, allocations: 1.321 MB / 404.4 MB, free: 9.488 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003438/0.07794, allocations: 178.6 kB / 404.6 MB, free: 9.305 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.0781, allocations: 80.86 kB / 404.7 MB, free: 9.223 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001556/0.07827, allocations: 178.2 kB / 404.9 MB, free: 9.012 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/0.07829, allocations: 34.5 kB / 404.9 MB, free: 8.969 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 1.252e-06/0.0783, allocations: 4 kB / 404.9 MB, free: 8.965 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.02621/0.1045, allocations: 2.854 MB / 407.8 MB, free: 6.074 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/0.1046, allocations: 63.33 kB / 407.8 MB, free: 6 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.0003522/0.1049, allocations: 357.6 kB / 408.2 MB, free: 5.645 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.184e-05/0.105, allocations: 29.7 kB / 408.2 MB, free: 5.609 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.1051, allocations: 176.7 kB / 408.4 MB, free: 5.43 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.125e-05/0.1052, allocations: 110.4 kB / 408.5 MB, free: 5.32 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.011e-05/0.1053, allocations: 29.7 kB / 408.5 MB, free: 5.285 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1054, allocations: 350.8 kB / 408.9 MB, free: 4.934 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007991/0.1062, allocations: 295.8 kB / 409.1 MB, free: 4.645 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008082/0.107, allocations: 342.2 kB / 409.5 MB, free: 4.301 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001621/0.1086, allocations: 0.6114 MB / 410.1 MB, free: 3.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1086, allocations: 0 / 410.1 MB, free: 3.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002547/0.1112, allocations: 0.9241 MB / 411 MB, free: 2.742 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.1112, allocations: 8 kB / 411 MB, free: 2.734 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1112, allocations: 0 / 411 MB, free: 2.734 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002024/0.1133, allocations: 1.044 MB / 412.1 MB, free: 1.684 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/0.1135, allocations: 63.89 kB / 412.1 MB, free: 1.621 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005078/0.1186, allocations: 1.858 MB / 414 MB, free: 15.71 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005537/0.1192, allocations: 51.97 kB / 414 MB, free: 15.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.938e-05/0.1192, allocations: 23.95 kB / 414.1 MB, free: 15.64 MB / 318.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.000191/0.1194, allocations: 154.7 kB / 414.2 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.781e-05/0.1195, allocations: 31.62 kB / 414.2 MB, free: 15.45 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002826/0.1223, allocations: 0.9815 MB / 415.2 MB, free: 14.45 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.1224, allocations: 7.938 kB / 415.2 MB, free: 14.45 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.1224, allocations: 0 / 415.2 MB, free: 14.45 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1224, allocations: 0 / 415.2 MB, free: 14.45 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004606/0.127, allocations: 1.877 MB / 417.1 MB, free: 12.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.127, allocations: 0 / 417.1 MB, free: 12.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/0.1272, allocations: 55.91 kB / 417.2 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001781/0.129, allocations: 0.8954 MB / 418.1 MB, free: 11.54 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.361e-05/0.1291, allocations: 15.98 kB / 418.1 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002799/0.1319, allocations: 1.69 MB / 419.8 MB, free: 9.781 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1319, allocations: 0 / 419.8 MB, free: 9.781 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002269/0.1342, allocations: 0.8926 MB / 420.7 MB, free: 8.859 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001876/0.1344, allocations: 180.6 kB / 420.8 MB, free: 8.664 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.861e-05/0.1345, allocations: 8 kB / 420.8 MB, free: 8.656 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005386/0.135, allocations: 47.95 kB / 420.9 MB, free: 8.609 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.138e-05/0.1351, allocations: 27.95 kB / 420.9 MB, free: 8.582 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.939e-05/0.1351, allocations: 15.98 kB / 420.9 MB, free: 8.566 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002263/0.1353, allocations: 259.2 kB / 421.2 MB, free: 8.312 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1354, allocations: 0 / 421.2 MB, free: 8.312 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005644/0.1359, allocations: 231.9 kB / 421.4 MB, free: 8.086 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001173/0.1371, allocations: 0.5311 MB / 421.9 MB, free: 7.652 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004463/0.1416, allocations: 0.8001 MB / 422.7 MB, free: 6.852 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1416, allocations: 0 / 422.7 MB, free: 6.852 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001434/0.143, allocations: 399.9 kB / 423.1 MB, free: 6.461 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005138/0.1436, allocations: 85.25 kB / 423.2 MB, free: 6.379 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.145, allocations: 0.9488 MB / 424.2 MB, free: 5.387 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.1453, allocations: 0.784 MB / 424.9 MB, free: 4.578 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.62e-05/0.1454, allocations: 39.42 kB / 425 MB, free: 4.539 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1455, allocations: 0 / 425 MB, free: 4.539 MB / 318.1 MB Notification: Performance of Templates: time 0.1225/0.2679, allocations: 10.66 MB / 435.6 MB, free: 34.62 MB / 318.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.makefile make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.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.ThrottleValveTest2CalcHelperMain.o OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2CalcHelperMain.o] Error 1