Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.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.PumpTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple") translateModel(OpenHydraulics.DevelopmentTests.PumpTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007737/0.000774, allocations: 102.9 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.0008323/0.0008322, allocations: 168.1 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 2.119/2.119, allocations: 205.4 MB / 222.8 MB, free: 5.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05051/0.05051, allocations: 11.85 MB / 282.9 MB, free: 9.457 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.0009542/0.0009542, allocations: 20 kB / 343.6 MB, free: 22.48 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1486, allocations: 50.22 MB / 393.8 MB, free: 4.207 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTestSimple): time 0.00556/0.1542, allocations: 3.856 MB / 397.6 MB, free: 340 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002549/0.1568, allocations: 0.9438 MB / 398.6 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003105/0.1572, allocations: 7.938 kB / 398.6 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002661/0.1575, allocations: 63.52 kB / 398.6 MB, free: 15.31 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:12:14-12:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:11:65-11:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:12:14-12:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:11:65-11:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/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.0009276/0.1584, allocations: 254.1 kB / 398.9 MB, free: 15.06 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003/0.1587, allocations: 71.86 kB / 399 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000832/0.1596, allocations: 0.6181 MB / 399.6 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004169/0.16, allocations: 181 kB / 399.8 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002938/0.1603, allocations: 183.3 kB / 399.9 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003657/0.1607, allocations: 223.1 kB / 400.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.494e-05/0.1607, allocations: 20 kB / 400.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001507/0.1609, allocations: 31.98 kB / 400.2 MB, free: 13.74 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.161, allocations: 83.61 kB / 400.3 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001192/0.1612, allocations: 113.5 kB / 400.4 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005116/0.1617, allocations: 403.2 kB / 400.8 MB, free: 13.14 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.1617, allocations: 0 / 400.8 MB, free: 13.14 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1617, allocations: 3.938 kB / 400.8 MB, free: 13.14 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.1617, allocations: 0 / 400.8 MB, free: 13.14 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001223/0.163, allocations: 0.6315 MB / 401.4 MB, free: 12.46 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/0.163, allocations: 12.03 kB / 401.4 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002463/0.1633, allocations: 59.38 kB / 401.5 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005266/0.1638, allocations: 325.4 kB / 401.8 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.626e-05/0.1639, allocations: 29 kB / 401.8 MB, free: 12.01 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.383e-05/0.164, allocations: 40 kB / 401.9 MB, free: 11.97 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009065/0.1649, allocations: 378.4 kB / 402.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.1649, allocations: 7.844 kB / 402.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.086e-05/0.165, allocations: 16 kB / 402.3 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.012e-05/0.165, allocations: 23.92 kB / 402.3 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007028/0.1657, allocations: 295.8 kB / 402.6 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002738/0.1685, allocations: 1.716 MB / 404.3 MB, free: 9.355 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000455/0.169, allocations: 162.7 kB / 404.5 MB, free: 9.188 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002618/0.1692, allocations: 84.81 kB / 404.5 MB, free: 9.102 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.041e-05/0.1693, allocations: 4 kB / 404.5 MB, free: 9.098 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.1693, allocations: 30.56 kB / 404.6 MB, free: 9.059 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 2.475e-06/0.1693, allocations: 0 / 404.6 MB, free: 9.059 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0007339/0.1701, allocations: 237 kB / 404.8 MB, free: 8.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.484e-05/0.1701, allocations: 55.39 kB / 404.9 MB, free: 8.754 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000689/0.1708, allocations: 425.6 kB / 405.3 MB, free: 8.328 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.1709, allocations: 25.7 kB / 405.3 MB, free: 8.297 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002297/0.1711, allocations: 231.6 kB / 405.5 MB, free: 8.062 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.397e-05/0.1712, allocations: 59.11 kB / 405.6 MB, free: 8.004 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.004e-05/0.1713, allocations: 12 kB / 405.6 MB, free: 7.992 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000199/0.1715, allocations: 346.8 kB / 405.9 MB, free: 7.645 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/0.1717, allocations: 77.09 kB / 406 MB, free: 7.566 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003187/0.172, allocations: 169.9 kB / 406.2 MB, free: 7.355 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002544/0.1723, allocations: 87.94 kB / 406.3 MB, free: 7.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.764e-06/0.1723, allocations: 4 kB / 406.3 MB, free: 7.266 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007435/0.1731, allocations: 296.8 kB / 406.6 MB, free: 6.969 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.1731, allocations: 8 kB / 406.6 MB, free: 6.961 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.1731, allocations: 0 / 406.6 MB, free: 6.961 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.544e-05/0.1732, allocations: 8 kB / 406.6 MB, free: 6.953 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003991/0.1736, allocations: 79.77 kB / 406.7 MB, free: 6.875 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/0.1736, allocations: 4.438 kB / 406.7 MB, free: 6.871 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003624/0.174, allocations: 47.53 kB / 406.7 MB, free: 6.824 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/0.174, allocations: 12 kB / 406.7 MB, free: 6.812 MB / 302.1 MB Warning: Assuming fixed start value for the following 1 variables: constantSpeed.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (33): * Single equations (assignments): 33 * 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.0003223/0.1744, allocations: 185.5 kB / 406.9 MB, free: 6.621 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.161e-05/0.1745, allocations: 39.61 kB / 406.9 MB, free: 6.582 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006262/0.1751, allocations: 219.4 kB / 407.2 MB, free: 6.355 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.1751, allocations: 0 / 407.2 MB, free: 6.355 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.1751, allocations: 3.938 kB / 407.2 MB, free: 6.352 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.1752, allocations: 0 / 407.2 MB, free: 6.352 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001391/0.1766, allocations: 0.7271 MB / 407.9 MB, free: 5.547 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.1766, allocations: 8 kB / 407.9 MB, free: 5.539 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000291/0.1769, allocations: 43.97 kB / 407.9 MB, free: 5.496 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.1769, allocations: 0 / 407.9 MB, free: 5.496 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.1769, allocations: 4 kB / 407.9 MB, free: 5.492 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.177, allocations: 3.938 kB / 407.9 MB, free: 5.488 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.177, allocations: 4 kB / 407.9 MB, free: 5.484 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007452/0.1777, allocations: 378.4 kB / 408.3 MB, free: 5.086 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002176/0.178, allocations: 144.6 kB / 408.5 MB, free: 4.926 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.143e-05/0.1781, allocations: 4.062 kB / 408.5 MB, free: 4.922 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000298/0.1784, allocations: 11.98 kB / 408.5 MB, free: 4.91 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.626e-05/0.1784, allocations: 19.88 kB / 408.5 MB, free: 4.891 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/0.1785, allocations: 8 kB / 408.5 MB, free: 4.883 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005112/0.179, allocations: 299.1 kB / 408.8 MB, free: 4.594 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.179, allocations: 0 / 408.8 MB, free: 4.594 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006642/0.1797, allocations: 95.84 kB / 408.9 MB, free: 4.5 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (constantSpeed.phi) * 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 (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 Backend phase and start with SimCode phase: time 0.0002068/0.1799, allocations: 111.2 kB / 409 MB, free: 4.383 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005194/0.1805, allocations: 167.7 kB / 409.2 MB, free: 4.219 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.1805, allocations: 4 kB / 409.2 MB, free: 4.215 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001935/0.1807, allocations: 72.97 kB / 409.2 MB, free: 4.145 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.1818, allocations: 136.8 kB / 409.4 MB, free: 4.016 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/0.1838, allocations: 0.9155 MB / 410.3 MB, free: 3.059 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005118/0.1844, allocations: 0.8307 MB / 411.1 MB, free: 2.199 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.1845, allocations: 35.42 kB / 411.1 MB, free: 2.164 MB / 302.1 MB Notification: Performance of SimCode: time 2.284e-06/0.1845, allocations: 4 kB / 411.1 MB, free: 2.16 MB / 302.1 MB Notification: Performance of Templates: time 0.01329/0.1978, allocations: 5.619 MB / 416.8 MB, free: 12.57 MB / 318.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.makefile make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.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.PumpTestSimpleCalcHelperMain.o OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimpleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimpleCalcHelperMain.o] Error 1