Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.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.CheckValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest") translateModel(OpenHydraulics.DevelopmentTests.CheckValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000727/0.000727, allocations: 99.59 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.0008885/0.0008887, allocations: 173.6 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 2.142/2.142, allocations: 205.4 MB / 222.7 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.05403/0.05403, 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.0007064/0.0007065, allocations: 20 kB / 343.6 MB, free: 22.46 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1317, allocations: 50.21 MB / 393.8 MB, free: 4.203 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest): time 0.004454/0.1362, allocations: 3.268 MB / 397 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00304/0.1393, allocations: 1.755 MB / 398.8 MB, free: 15.15 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002445/0.1396, allocations: 4 kB / 398.8 MB, free: 15.15 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004066/0.14, allocations: 91.5 kB / 398.9 MB, free: 15.06 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.000547/0.1405, allocations: 210.5 kB / 399.1 MB, free: 14.85 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006712/0.1412, allocations: 247.2 kB / 399.3 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005282/0.1418, allocations: 465.8 kB / 399.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002202/0.142, allocations: 89.48 kB / 399.9 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002224/0.1422, allocations: 151.4 kB / 400 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003008/0.1425, allocations: 175.2 kB / 400.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.893e-05/0.1426, allocations: 12 kB / 400.2 MB, free: 13.74 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003994/0.143, allocations: 203.8 kB / 400.4 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.426e-05/0.1431, allocations: 63.69 kB / 400.5 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.1432, allocations: 97.52 kB / 400.6 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000535/0.1437, allocations: 435.2 kB / 401 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.1438, allocations: 0 / 401 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.1438, allocations: 0 / 401 MB, free: 12.95 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.064e-06/0.1438, allocations: 0 / 401 MB, free: 12.95 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001092/0.1449, allocations: 0.631 MB / 401.6 MB, free: 12.27 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.1449, allocations: 8.031 kB / 401.6 MB, free: 12.26 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001764/0.1451, allocations: 55.47 kB / 401.7 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004448/0.1456, allocations: 314.2 kB / 402 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.222e-05/0.1456, allocations: 24.56 kB / 402 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.264e-05/0.1457, allocations: 31.98 kB / 402 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005521/0.1462, allocations: 315.7 kB / 402.4 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.1463, allocations: 0 / 402.4 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.267e-05/0.1463, allocations: 12 kB / 402.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/0.1463, allocations: 19.88 kB / 402.4 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004977/0.1468, allocations: 262.1 kB / 402.6 MB, free: 11.2 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002042/0.1489, allocations: 1.465 MB / 404.1 MB, free: 9.57 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004278/0.1493, allocations: 225.2 kB / 404.3 MB, free: 9.344 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001929/0.1495, allocations: 101.2 kB / 404.4 MB, free: 9.242 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000111/0.1496, allocations: 93.03 kB / 404.5 MB, free: 9.133 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.1497, allocations: 30.56 kB / 404.5 MB, free: 9.094 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 4.92e-06/0.1497, allocations: 4 kB / 404.5 MB, free: 9.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.002161/0.1519, allocations: 0.9031 MB / 405.5 MB, free: 8.137 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.604e-05/0.1519, allocations: 55.41 kB / 405.5 MB, free: 8.07 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 sinusoid.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.0005207/0.1525, allocations: 377.6 kB / 405.9 MB, free: 7.695 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.1525, allocations: 29.7 kB / 405.9 MB, free: 7.66 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001891/0.1527, allocations: 188.6 kB / 406.1 MB, free: 7.469 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.943e-05/0.1528, allocations: 98.55 kB / 406.2 MB, free: 7.371 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.338e-05/0.1528, allocations: 8 kB / 406.2 MB, free: 7.363 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002042/0.153, allocations: 342.8 kB / 406.5 MB, free: 7.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003084/0.1534, allocations: 97.38 kB / 406.6 MB, free: 6.922 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003709/0.1538, allocations: 164.7 kB / 406.8 MB, free: 6.734 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003267/0.1541, allocations: 111.9 kB / 406.9 MB, free: 6.625 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1541, allocations: 0 / 406.9 MB, free: 6.625 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008757/0.155, allocations: 321.1 kB / 407.2 MB, free: 6.305 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/0.155, allocations: 11.95 kB / 407.2 MB, free: 6.293 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.1551, allocations: 4 kB / 407.2 MB, free: 6.289 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.1551, allocations: 4 kB / 407.2 MB, free: 6.285 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005061/0.1556, allocations: 83.89 kB / 407.3 MB, free: 6.203 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.75e-05/0.1556, allocations: 7.922 kB / 407.3 MB, free: 6.195 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002616/0.1559, allocations: 23.94 kB / 407.3 MB, free: 6.172 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.868e-05/0.156, allocations: 11.98 kB / 407.3 MB, free: 6.16 MB / 302.1 MB Warning: Assuming fixed start value for the following 1 variables: idealPump.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of rotation of pump" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (checkValve.variableRestriction.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0002562/0.1562, allocations: 165.8 kB / 407.5 MB, free: 5.988 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.993e-05/0.1563, allocations: 39.52 kB / 407.5 MB, free: 5.949 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007063/0.157, allocations: 325.9 kB / 407.9 MB, free: 5.625 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/0.157, allocations: 4 kB / 407.9 MB, free: 5.621 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.157, allocations: 0 / 407.9 MB, free: 5.621 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.1571, allocations: 0 / 407.9 MB, free: 5.621 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/0.1583, allocations: 0.7679 MB / 408.6 MB, free: 4.797 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.1584, allocations: 0 / 408.6 MB, free: 4.797 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003414/0.1587, allocations: 79.88 kB / 408.7 MB, free: 4.719 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1587, allocations: 0 / 408.7 MB, free: 4.719 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.464e-05/0.1588, allocations: 8 kB / 408.7 MB, free: 4.711 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.1588, allocations: 0 / 408.7 MB, free: 4.711 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1588, allocations: 0 / 408.7 MB, free: 4.711 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008415/0.1596, allocations: 0.5028 MB / 409.2 MB, free: 4.191 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000163/0.1598, allocations: 152.5 kB / 409.4 MB, free: 4.023 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.405e-05/0.1599, allocations: 12.06 kB / 409.4 MB, free: 4.012 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.16, allocations: 15.98 kB / 409.4 MB, free: 3.996 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.022e-05/0.1601, allocations: 11.98 kB / 409.4 MB, free: 3.984 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.6e-05/0.1601, allocations: 15.98 kB / 409.4 MB, free: 3.969 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000441/0.1606, allocations: 267.2 kB / 409.7 MB, free: 3.707 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1606, allocations: 0 / 409.7 MB, free: 3.707 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004996/0.1611, allocations: 116 kB / 409.8 MB, free: 3.594 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (idealPump.phi,circuitTank.volumeOpen.m) * 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 (30): * Single equations (assignments): 30 * 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.001076/0.1622, allocations: 414.4 kB / 410.2 MB, free: 3.293 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005633/0.1628, allocations: 239.8 kB / 410.4 MB, free: 3.059 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1628, allocations: 0 / 410.4 MB, free: 3.059 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002597/0.1631, allocations: 124.8 kB / 410.6 MB, free: 2.938 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006323/0.1637, allocations: 101.9 kB / 410.7 MB, free: 2.84 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/0.1655, allocations: 0.9764 MB / 411.6 MB, free: 1.824 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004921/0.166, allocations: 0.7951 MB / 412.4 MB, free: 1.004 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.1661, allocations: 39.42 kB / 412.5 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1661, allocations: 4 kB / 412.5 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of Templates: time 0.01029/0.1764, allocations: 5.789 MB / 418.3 MB, free: 11.18 MB / 318.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.makefile make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.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.CheckValveTestCalcHelperMain.o OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTestCalcHelperMain.o] Error 1