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.0006397/0.0006397, allocations: 98.8 kB / 16.02 MB, free: 76 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.0006747/0.0006746, allocations: 186.9 kB / 16.92 MB, free: 6.75 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.087/1.087, allocations: 205.4 MB / 223.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04576/0.04576, allocations: 11.85 MB / 283.2 MB, free: 9.371 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.0004784/0.0004785, allocations: 16.22 kB / 344.2 MB, free: 22.12 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06612/0.0666, allocations: 50.22 MB / 394.4 MB, free: 3.852 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank): time 0.002512/0.06915, allocations: 2.674 MB / 397.1 MB, free: 1.16 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009357/0.07009, allocations: 0.7331 MB / 397.8 MB, free: 432 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.867e-05/0.07018, allocations: 4 kB / 397.8 MB, free: 428 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.584e-05/0.07028, allocations: 23.83 kB / 397.8 MB, free: 404 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002548/0.07054, allocations: 99.36 kB / 397.9 MB, free: 304 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001164/0.07067, allocations: 39.89 kB / 398 MB, free: 264 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002111/0.07088, allocations: 242.7 kB / 398.2 MB, free: 20 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.07101, allocations: 45.64 kB / 398.3 MB, free: 15.97 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.07112, allocations: 79.72 kB / 398.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.07126, allocations: 95.55 kB / 398.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.07129, allocations: 8 kB / 398.4 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.585e-05/0.07137, allocations: 35.86 kB / 398.5 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.693e-05/0.07141, allocations: 19.92 kB / 398.5 MB, free: 15.74 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.07151, allocations: 125.2 kB / 398.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.07167, allocations: 151.8 kB / 398.8 MB, free: 15.46 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.07168, allocations: 0 / 398.8 MB, free: 15.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.07168, allocations: 0 / 398.8 MB, free: 15.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.507e-06/0.07169, allocations: 0 / 398.8 MB, free: 15.46 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0004983/0.07219, allocations: 484.5 kB / 399.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.07223, allocations: 8.031 kB / 399.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.613e-05/0.07233, allocations: 24.73 kB / 399.3 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.07253, allocations: 220 kB / 399.5 MB, free: 14.65 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.07255, allocations: 16.38 kB / 399.5 MB, free: 14.63 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.07258, allocations: 20.12 kB / 399.5 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002863/0.07288, allocations: 191.7 kB / 399.7 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.0729, allocations: 3.984 kB / 399.7 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.07292, allocations: 4 kB / 399.7 MB, free: 14.4 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.07293, allocations: 4 kB / 399.7 MB, free: 14.4 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002218/0.07315, allocations: 124.9 kB / 399.8 MB, free: 14.28 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.0009376/0.0741, allocations: 0.9528 MB / 400.8 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002465/0.07435, allocations: 154.7 kB / 400.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.07447, allocations: 64.83 kB / 401 MB, free: 12.98 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.07449, allocations: 0 / 401 MB, free: 12.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.07452, allocations: 34.56 kB / 401 MB, free: 12.94 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.012e-06/0.07452, allocations: 0 / 401 MB, free: 12.94 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.001535/0.07607, allocations: 0.7873 MB / 401.8 MB, free: 12.08 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.07611, allocations: 85.09 kB / 401.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.07625, allocations: 174.7 kB / 402.1 MB, free: 11.8 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.07627, allocations: 29.7 kB / 402.1 MB, free: 11.77 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.399e-05/0.07634, allocations: 128.3 kB / 402.2 MB, free: 11.64 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.344e-05/0.07639, allocations: 67 kB / 402.3 MB, free: 11.57 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-05/0.07643, allocations: 21.7 kB / 402.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.549e-05/0.07653, allocations: 330.8 kB / 402.6 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.07667, allocations: 76.75 kB / 402.7 MB, free: 11.13 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.07681, allocations: 100.2 kB / 402.8 MB, free: 11.02 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002886/0.07711, allocations: 221.8 kB / 403 MB, free: 10.78 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.07712, allocations: 0 / 403 MB, free: 10.78 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003599/0.07749, allocations: 240.2 kB / 403.3 MB, free: 10.53 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/0.07753, allocations: 33.64 kB / 403.3 MB, free: 10.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.07754, allocations: 4 kB / 403.3 MB, free: 10.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.937e-06/0.07755, allocations: 7.875 kB / 403.3 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/0.07779, allocations: 60.05 kB / 403.4 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.07781, allocations: 4 kB / 403.4 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.07793, allocations: 12 kB / 403.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.07795, allocations: 7.984 kB / 403.4 MB, free: 10.4 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.0001571/0.07811, allocations: 163.9 kB / 403.5 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.786e-05/0.07815, allocations: 15.81 kB / 403.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004319/0.07859, allocations: 277 kB / 403.8 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.0786, allocations: 0 / 403.8 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.07861, allocations: 0 / 403.8 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.07862, allocations: 3.984 kB / 403.8 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006563/0.07928, allocations: 0.5858 MB / 404.4 MB, free: 9.273 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.07929, allocations: 3.984 kB / 404.4 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002193/0.07952, allocations: 55.91 kB / 404.5 MB, free: 9.215 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.07953, allocations: 0 / 404.5 MB, free: 9.215 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.07955, allocations: 8 kB / 404.5 MB, free: 9.207 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.07956, allocations: 4 kB / 404.5 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.07956, allocations: 48 / 404.5 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005238/0.08009, allocations: 421.4 kB / 404.9 MB, free: 8.77 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.386e-05/0.08018, allocations: 112.8 kB / 405 MB, free: 8.641 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/0.08022, allocations: 11.94 kB / 405 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.08036, allocations: 11.92 kB / 405 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.0804, allocations: 15.98 kB / 405.1 MB, free: 8.602 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.08042, allocations: 8 kB / 405.1 MB, free: 8.594 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.614e-05/0.08051, allocations: 135.2 kB / 405.2 MB, free: 8.461 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.08051, allocations: 0 / 405.2 MB, free: 8.461 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.08078, allocations: 52.06 kB / 405.2 MB, free: 8.41 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 9.884e-05/0.08088, allocations: 119.1 kB / 405.4 MB, free: 8.285 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003355/0.08123, allocations: 226.9 kB / 405.6 MB, free: 8.051 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.08124, allocations: 0 / 405.6 MB, free: 8.051 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001662/0.08141, allocations: 143.5 kB / 405.7 MB, free: 7.898 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.08172, allocations: 43.91 kB / 405.8 MB, free: 7.855 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006978/0.08242, allocations: 0.6363 MB / 406.4 MB, free: 7.188 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.08267, allocations: 0.729 MB / 407.1 MB, free: 6.434 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.078e-05/0.08274, allocations: 23.42 kB / 407.2 MB, free: 6.41 MB / 302.1 MB Notification: Performance of SimCode: time 1.9e-07/0.08275, allocations: 4 kB / 407.2 MB, free: 6.406 MB / 302.1 MB Notification: Performance of Templates: time 0.003804/0.08655, allocations: 2.77 MB / 409.9 MB, free: 3.656 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