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.001107/0.001107, allocations: 96.14 kB / 15.87 MB, free: 16 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.001141/0.001141, allocations: 197.8 kB / 16.79 MB, free: 6.828 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.491/1.491, allocations: 205.1 MB / 222.6 MB, free: 4.797 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05191/0.05191, allocations: 11.84 MB / 281.8 MB, free: 9.66 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.001382/0.001382, allocations: 72.12 kB / 341.8 MB, free: 22.44 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.117, allocations: 49.22 MB / 391 MB, free: 5.164 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTest): time 0.004391/0.1214, allocations: 3.347 MB / 394.4 MB, free: 1.797 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002997/0.1244, allocations: 2.119 MB / 396.5 MB, free: 15.67 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000172/0.1246, allocations: 4 kB / 396.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002904/0.125, allocations: 51.73 kB / 396.5 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004102/0.1254, allocations: 135 kB / 396.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007039/0.1261, allocations: 295 kB / 396.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003585/0.1265, allocations: 378.2 kB / 397.3 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001676/0.1266, allocations: 73.17 kB / 397.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.1268, allocations: 119.5 kB / 397.5 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001919/0.127, allocations: 147.3 kB / 397.6 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.647e-05/0.1271, allocations: 15.98 kB / 397.7 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003856/0.1275, allocations: 235.8 kB / 397.9 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.962e-05/0.1275, allocations: 47.83 kB / 397.9 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001488/0.1277, allocations: 147.2 kB / 398.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003542/0.1281, allocations: 323.3 kB / 398.4 MB, free: 13.74 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1281, allocations: 11.94 kB / 398.4 MB, free: 13.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.31e-07/0.1281, allocations: 0 / 398.4 MB, free: 13.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1281, allocations: 0 / 398.4 MB, free: 13.73 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.0009475/0.129, allocations: 0.5924 MB / 399 MB, free: 13.08 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.1291, allocations: 12.03 kB / 399 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/0.1292, allocations: 28.66 kB / 399 MB, free: 13.04 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003168/0.1296, allocations: 271.7 kB / 399.3 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.1296, allocations: 16.94 kB / 399.3 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.228e-05/0.1297, allocations: 32.03 kB / 399.4 MB, free: 12.69 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004814/0.1301, allocations: 275.7 kB / 399.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.1302, allocations: 0 / 399.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.682e-05/0.1302, allocations: 12 kB / 399.6 MB, free: 12.4 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.1302, allocations: 4 kB / 399.6 MB, free: 12.4 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003983/0.1306, allocations: 222.1 kB / 399.9 MB, free: 12.18 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.001951/0.1326, allocations: 1.448 MB / 401.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002787/0.1329, allocations: 146.8 kB / 401.4 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.133, allocations: 72.88 kB / 401.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001891/0.1332, allocations: 166.2 kB / 401.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.1333, allocations: 50.48 kB / 401.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 2.073e-06/0.1333, allocations: 0 / 401.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001849/0.1351, allocations: 0.722 MB / 402.5 MB, free: 9.293 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.1352, allocations: 51.41 kB / 402.5 MB, free: 9.23 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002503/0.1354, allocations: 270.6 kB / 402.8 MB, free: 8.953 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.1355, allocations: 29.7 kB / 402.8 MB, free: 8.918 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.1356, allocations: 160.2 kB / 403 MB, free: 8.754 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.764e-05/0.1357, allocations: 74.94 kB / 403 MB, free: 8.68 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.037e-05/0.1357, allocations: 57.83 kB / 403.1 MB, free: 8.617 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.1359, allocations: 334.8 kB / 403.4 MB, free: 8.281 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.136, allocations: 85.52 kB / 403.5 MB, free: 8.195 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/0.1362, allocations: 130.8 kB / 403.6 MB, free: 8.047 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003399/0.1366, allocations: 209.8 kB / 403.8 MB, free: 7.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.1366, allocations: 0 / 403.8 MB, free: 7.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004541/0.1371, allocations: 261.1 kB / 404.1 MB, free: 7.559 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.1371, allocations: 4 kB / 404.1 MB, free: 7.555 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1371, allocations: 0 / 404.1 MB, free: 7.555 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.1371, allocations: 4 kB / 404.1 MB, free: 7.551 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002721/0.1374, allocations: 71.89 kB / 404.2 MB, free: 7.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.1374, allocations: 4 kB / 404.2 MB, free: 7.477 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.1376, allocations: 24.08 kB / 404.2 MB, free: 7.453 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.1376, allocations: 11.94 kB / 404.2 MB, free: 7.441 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001833/0.1378, allocations: 150.6 kB / 404.3 MB, free: 7.285 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.14e-05/0.1378, allocations: 23.72 kB / 404.4 MB, free: 7.262 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004797/0.1383, allocations: 243.5 kB / 404.6 MB, free: 7.02 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.1383, allocations: 0 / 404.6 MB, free: 7.02 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1383, allocations: 0 / 404.6 MB, free: 7.02 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.1384, allocations: 3.984 kB / 404.6 MB, free: 7.016 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008469/0.1392, allocations: 0.624 MB / 405.2 MB, free: 6.332 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1392, allocations: 0 / 405.2 MB, free: 6.332 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002696/0.1395, allocations: 63.92 kB / 405.3 MB, free: 6.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1395, allocations: 4 kB / 405.3 MB, free: 6.266 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.1395, allocations: 4 kB / 405.3 MB, free: 6.262 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1395, allocations: 4 kB / 405.3 MB, free: 6.258 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1395, allocations: 0 / 405.3 MB, free: 6.258 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009591/0.1405, allocations: 408.3 kB / 405.7 MB, free: 5.84 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001538/0.1407, allocations: 120.8 kB / 405.8 MB, free: 5.703 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.769e-05/0.1407, allocations: 11.94 kB / 405.8 MB, free: 5.691 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002082/0.141, allocations: 4 kB / 405.8 MB, free: 5.688 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.048e-05/0.141, allocations: 19.97 kB / 405.9 MB, free: 5.668 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.1411, allocations: 7.938 kB / 405.9 MB, free: 5.66 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001897/0.1412, allocations: 201.9 kB / 406.1 MB, free: 5.465 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1413, allocations: 0 / 406.1 MB, free: 5.465 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004271/0.1417, allocations: 112 kB / 406.2 MB, free: 5.355 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003042/0.142, allocations: 187.1 kB / 406.4 MB, free: 5.164 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004254/0.1424, allocations: 187.5 kB / 406.5 MB, free: 4.984 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1424, allocations: 0 / 406.5 MB, free: 4.984 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001717/0.1426, allocations: 92.2 kB / 406.6 MB, free: 4.895 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004766/0.1431, allocations: 72.53 kB / 406.7 MB, free: 4.824 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.1442, allocations: 0.7449 MB / 407.4 MB, free: 4.043 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.1446, allocations: 0.756 MB / 408.2 MB, free: 3.262 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.682e-05/0.1447, allocations: 35.42 kB / 408.2 MB, free: 3.227 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1447, allocations: 0 / 408.2 MB, free: 3.227 MB / 302.1 MB Notification: Performance of Templates: time 0.00653/0.1512, allocations: 4.53 MB / 412.8 MB, free: 14.71 MB / 318.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.makefile make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.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.GenericRestrictionTestCalcHelperMain.o OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestCalcHelperMain.o] Error 1