Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.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.GenericRestrictionTestOpenTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank") translateModel(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005994/0.005994, allocations: 100.1 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 187.3 kB / 16.78 MB, free: 5.809 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.498/1.498, allocations: 205.1 MB / 222.6 MB, free: 4.734 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05161/0.05161, allocations: 11.84 MB / 281.8 MB, free: 9.688 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.001303/0.001303, allocations: 63.91 kB / 341.8 MB, free: 22.44 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1067, allocations: 49.24 MB / 391 MB, free: 5.156 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank): time 0.004374/0.1112, allocations: 3.025 MB / 394 MB, free: 2.109 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.1125, allocations: 0.7525 MB / 394.8 MB, free: 1.352 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.1127, allocations: 4 kB / 394.8 MB, free: 1.348 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001406/0.1128, allocations: 15.84 kB / 394.8 MB, free: 1.332 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003196/0.1131, allocations: 107.2 kB / 394.9 MB, free: 1.227 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001651/0.1133, allocations: 39.95 kB / 395 MB, free: 1.188 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002801/0.1136, allocations: 238.7 kB / 395.2 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001665/0.1138, allocations: 57.14 kB / 395.2 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.1139, allocations: 83.66 kB / 395.3 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.1141, allocations: 95.55 kB / 395.4 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.1141, allocations: 8 kB / 395.4 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.1142, allocations: 27.98 kB / 395.5 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.603e-05/0.1143, allocations: 35.78 kB / 395.5 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.908e-05/0.1144, allocations: 99.53 kB / 395.6 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.1146, allocations: 155.9 kB / 395.7 MB, free: 412 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1146, allocations: 0 / 395.7 MB, free: 412 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1146, allocations: 0 / 395.7 MB, free: 412 kB / 286.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.1146, allocations: 0 / 395.7 MB, free: 412 kB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007101/0.1153, allocations: 0.5004 MB / 396.2 MB, free: 15.85 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.1154, allocations: 8.031 kB / 396.2 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001131/0.1155, allocations: 20.75 kB / 396.3 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003075/0.1158, allocations: 224 kB / 396.5 MB, free: 15.56 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.1158, allocations: 16.31 kB / 396.5 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.167e-05/0.1159, allocations: 24.12 kB / 396.5 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003295/0.1162, allocations: 187.7 kB / 396.7 MB, free: 15.33 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.1162, allocations: 0 / 396.7 MB, free: 15.33 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.1163, allocations: 8 kB / 396.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-06/0.1163, allocations: 4 kB / 396.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002393/0.1165, allocations: 116.9 kB / 396.8 MB, free: 15.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.001125/0.1176, allocations: 0.9411 MB / 397.8 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002809/0.1179, allocations: 150.7 kB / 397.9 MB, free: 13.99 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.1181, allocations: 64.83 kB / 398 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.1181, allocations: 0 / 398 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.1181, allocations: 34.5 kB / 398 MB, free: 13.88 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.353e-06/0.1181, allocations: 0 / 398 MB, free: 13.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.001823/0.12, allocations: 0.756 MB / 398.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.477e-05/0.1201, allocations: 81.11 kB / 398.9 MB, free: 12.96 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.1202, allocations: 178.7 kB / 399 MB, free: 12.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.1203, allocations: 33.7 kB / 399.1 MB, free: 12.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.637e-05/0.1204, allocations: 128.3 kB / 399.2 MB, free: 12.61 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.913e-05/0.1204, allocations: 63.02 kB / 399.2 MB, free: 12.54 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.195e-05/0.1205, allocations: 45.69 kB / 399.3 MB, free: 12.49 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.1207, allocations: 330.8 kB / 399.6 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.1208, allocations: 60.81 kB / 399.7 MB, free: 12.1 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000151/0.121, allocations: 96.25 kB / 399.8 MB, free: 11.99 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003182/0.1213, allocations: 213.8 kB / 400 MB, free: 11.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.1213, allocations: 4 kB / 400 MB, free: 11.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004086/0.1217, allocations: 236.2 kB / 400.2 MB, free: 11.51 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.768e-05/0.1218, allocations: 29.7 kB / 400.2 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.1218, allocations: 7.938 kB / 400.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.1218, allocations: 4 kB / 400.3 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002925/0.1221, allocations: 59.95 kB / 400.3 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.1222, allocations: 8.031 kB / 400.3 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.1223, allocations: 12 kB / 400.3 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.863e-05/0.1223, allocations: 7.984 kB / 400.3 MB, free: 11.38 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: 5 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * 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.0002863/0.1226, allocations: 160.4 kB / 400.5 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.498e-05/0.1227, allocations: 15.81 kB / 400.5 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000503/0.1232, allocations: 265.1 kB / 400.8 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.1232, allocations: 0 / 400.8 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.1232, allocations: 3.938 kB / 400.8 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.1232, allocations: 3.984 kB / 400.8 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007703/0.124, allocations: 0.5742 MB / 401.4 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.124, allocations: 0 / 401.4 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002803/0.1243, allocations: 59.89 kB / 401.4 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1243, allocations: 4 kB / 401.4 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.1243, allocations: 4 kB / 401.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.1243, allocations: 4 kB / 401.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1243, allocations: 0 / 401.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006056/0.1249, allocations: 404.7 kB / 401.8 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.331e-05/0.125, allocations: 112.8 kB / 401.9 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.521e-05/0.1251, allocations: 8.062 kB / 401.9 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.1252, allocations: 12 kB / 401.9 MB, free: 9.633 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.607e-05/0.1253, allocations: 11.97 kB / 402 MB, free: 9.621 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.1253, allocations: 8 kB / 402 MB, free: 9.613 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001201/0.1254, allocations: 131.2 kB / 402.1 MB, free: 9.484 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1255, allocations: 0 / 402.1 MB, free: 9.484 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003433/0.1258, allocations: 55.98 kB / 402.2 MB, free: 9.43 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (idealPump.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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * 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.0001636/0.126, allocations: 115.2 kB / 402.3 MB, free: 9.309 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004084/0.1264, allocations: 215.1 kB / 402.5 MB, free: 9.086 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1264, allocations: 0 / 402.5 MB, free: 9.086 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000192/0.1266, allocations: 139.7 kB / 402.6 MB, free: 8.938 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.127, allocations: 44.11 kB / 402.7 MB, free: 8.895 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009596/0.128, allocations: 0.5788 MB / 403.2 MB, free: 8.285 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.1283, allocations: 0.7368 MB / 404 MB, free: 7.523 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.411e-05/0.1284, allocations: 27.38 kB / 404 MB, free: 7.496 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1284, allocations: 0 / 404 MB, free: 7.496 MB / 302.1 MB Notification: Performance of Templates: time 0.004816/0.1332, allocations: 2.781 MB / 406.8 MB, free: 4.734 MB / 302.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.makefile make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.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.GenericRestrictionTestOpenTankCalcHelperMain.o OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTankCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTankCalcHelperMain.o] Error 1