Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.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.GenericRestrictionTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest") translateModel(OpenHydraulics.DevelopmentTests.GenericRestrictionTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008025/0.0008026, allocations: 98.89 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.0008509/0.0008507, allocations: 180.9 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.101/2.101, allocations: 205.4 MB / 222.8 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.0512/0.0512, allocations: 11.85 MB / 282.9 MB, free: 9.484 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.0005664/0.0005664, allocations: 20 kB / 343.6 MB, free: 22.48 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.122, allocations: 50.22 MB / 393.8 MB, free: 4.219 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTest): time 0.003705/0.1258, allocations: 2.866 MB / 396.6 MB, free: 1.336 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002936/0.1287, allocations: 1.887 MB / 398.5 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002316/0.129, allocations: 4 kB / 398.5 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003014/0.1293, allocations: 55.59 kB / 398.6 MB, free: 15.38 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.0005524/0.1299, allocations: 170.8 kB / 398.8 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008316/0.1307, allocations: 271.2 kB / 399 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000421/0.1311, allocations: 362.2 kB / 399.4 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002102/0.1314, allocations: 60.89 kB / 399.4 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001918/0.1316, allocations: 111.6 kB / 399.5 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002383/0.1318, allocations: 139.4 kB / 399.7 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.275e-05/0.1319, allocations: 12 kB / 399.7 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004164/0.1323, allocations: 227.8 kB / 399.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.16e-05/0.1324, allocations: 47.78 kB / 400 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.961e-05/0.1325, allocations: 73.58 kB / 400 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004394/0.1329, allocations: 327.4 kB / 400.3 MB, free: 13.61 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1329, allocations: 0 / 400.3 MB, free: 13.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.507e-06/0.1329, allocations: 0 / 400.3 MB, free: 13.61 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.1329, allocations: 0 / 400.3 MB, free: 13.61 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0009011/0.1338, allocations: 0.5456 MB / 400.9 MB, free: 13.01 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.1339, allocations: 12.03 kB / 400.9 MB, free: 13 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001395/0.134, allocations: 35.58 kB / 400.9 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003139/0.1344, allocations: 254.6 kB / 401.2 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.1344, allocations: 20.56 kB / 401.2 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/0.1344, allocations: 19.91 kB / 401.2 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004664/0.1349, allocations: 279.7 kB / 401.5 MB, free: 12.36 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.1349, allocations: 3.938 kB / 401.5 MB, free: 12.35 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.943e-05/0.135, allocations: 12 kB / 401.5 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.699e-06/0.135, allocations: 11.92 kB / 401.5 MB, free: 12.33 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003923/0.1354, allocations: 226.1 kB / 401.7 MB, free: 12.11 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.001878/0.1373, allocations: 1.452 MB / 403.2 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002871/0.1376, allocations: 142.8 kB / 403.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.1377, allocations: 72.88 kB / 403.4 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001828/0.1379, allocations: 174.1 kB / 403.6 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.138, allocations: 38.56 kB / 403.6 MB, free: 9.996 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 1.452e-06/0.138, allocations: 0 / 403.6 MB, free: 9.996 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.00177/0.1398, allocations: 0.7653 MB / 404.4 MB, free: 9.18 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.1398, allocations: 51.41 kB / 404.4 MB, free: 9.117 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002726/0.1401, allocations: 274.6 kB / 404.7 MB, free: 8.836 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.1401, allocations: 25.7 kB / 404.7 MB, free: 8.805 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.1402, allocations: 168.1 kB / 404.9 MB, free: 8.633 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.228e-05/0.1403, allocations: 71.02 kB / 405 MB, free: 8.562 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.191e-05/0.1403, allocations: 4 kB / 405 MB, free: 8.559 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1405, allocations: 330.8 kB / 405.3 MB, free: 8.227 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.1407, allocations: 97.12 kB / 405.4 MB, free: 8.129 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.1409, allocations: 138.8 kB / 405.5 MB, free: 7.973 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.141, allocations: 84.02 kB / 405.6 MB, free: 7.891 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1411, allocations: 0 / 405.6 MB, free: 7.891 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004654/0.1415, allocations: 261.2 kB / 405.9 MB, free: 7.629 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.1416, allocations: 10.19 kB / 405.9 MB, free: 7.621 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.1416, allocations: 4.156 kB / 405.9 MB, free: 7.617 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.1416, allocations: 8 kB / 405.9 MB, free: 7.609 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002626/0.1419, allocations: 67.89 kB / 405.9 MB, free: 7.543 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/0.1419, allocations: 7.984 kB / 406 MB, free: 7.535 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.142, allocations: 15.95 kB / 406 MB, free: 7.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.383e-05/0.1421, allocations: 12 kB / 406 MB, free: 7.508 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: 7 * 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 (28): * Single equations (assignments): 28 * 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.000206/0.1423, allocations: 154.7 kB / 406.1 MB, free: 7.348 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.144e-05/0.1423, allocations: 23.72 kB / 406.2 MB, free: 7.324 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005066/0.1428, allocations: 251.5 kB / 406.4 MB, free: 7.074 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1429, allocations: 4 kB / 406.4 MB, free: 7.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.1429, allocations: 4 kB / 406.4 MB, free: 7.066 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.1429, allocations: 0 / 406.4 MB, free: 7.066 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008928/0.1438, allocations: 0.6244 MB / 407 MB, free: 6.383 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.1438, allocations: 12.02 kB / 407 MB, free: 6.371 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002479/0.1441, allocations: 67.78 kB / 407.1 MB, free: 6.305 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1441, allocations: 0 / 407.1 MB, free: 6.305 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/0.1441, allocations: 8 kB / 407.1 MB, free: 6.297 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.1441, allocations: 7.938 kB / 407.1 MB, free: 6.289 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1441, allocations: 0 / 407.1 MB, free: 6.289 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006027/0.1447, allocations: 412 kB / 407.5 MB, free: 5.867 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.1449, allocations: 124.7 kB / 407.6 MB, free: 5.727 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.227e-05/0.1449, allocations: 7.984 kB / 407.7 MB, free: 5.719 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.1451, allocations: 16.06 kB / 407.7 MB, free: 5.703 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.714e-05/0.1451, allocations: 19.92 kB / 407.7 MB, free: 5.684 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.1452, allocations: 8 kB / 407.7 MB, free: 5.676 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001814/0.1453, allocations: 194 kB / 407.9 MB, free: 5.488 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1454, allocations: 3.938 kB / 407.9 MB, free: 5.484 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004591/0.1458, allocations: 115.9 kB / 408 MB, free: 5.371 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (22): * Single equations (assignments): 22 * 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.0003078/0.1461, allocations: 183.1 kB / 408.2 MB, free: 5.184 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000407/0.1465, allocations: 187.8 kB / 408.4 MB, free: 5 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1466, allocations: 0 / 408.4 MB, free: 5 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.1467, allocations: 92.27 kB / 408.5 MB, free: 4.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004853/0.1472, allocations: 68.47 kB / 408.5 MB, free: 4.844 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.1484, allocations: 0.7941 MB / 409.3 MB, free: 4.012 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.1488, allocations: 0.7638 MB / 410.1 MB, free: 3.223 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.721e-05/0.1489, allocations: 31.42 kB / 410.1 MB, free: 3.191 MB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1489, allocations: 0 / 410.1 MB, free: 3.191 MB / 302.1 MB Notification: Performance of Templates: time 0.007345/0.1562, allocations: 4.513 MB / 414.6 MB, free: 14.7 MB / 318.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.makefile make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.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.GenericRestrictionTestCalcHelperMain.o OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestCalcHelperMain.o] Error 1