Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.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.RestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple") translateModel(OpenHydraulics.DevelopmentTests.RestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009857/0.0009857, allocations: 99.19 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.0006572/0.0006571, allocations: 182.6 kB / 16.92 MB, free: 6.914 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.081/1.081, 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.04614/0.04614, allocations: 11.86 MB / 283.2 MB, free: 9.355 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.0004802/0.0004802, allocations: 19.09 kB / 344.2 MB, free: 22.11 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06609/0.06658, allocations: 50.21 MB / 394.4 MB, free: 3.844 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.RestrictionTestSimple): time 0.001916/0.06852, allocations: 2.063 MB / 396.5 MB, free: 1.766 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007837/0.06932, allocations: 0.6552 MB / 397.1 MB, free: 1.105 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.297e-05/0.0694, allocations: 4 kB / 397.1 MB, free: 1.102 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.142e-05/0.06943, allocations: 11.91 kB / 397.1 MB, free: 1.09 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002242/0.06966, allocations: 59.61 kB / 397.2 MB, free: 1.031 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.813e-05/0.06976, allocations: 27.95 kB / 397.2 MB, free: 1.004 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.06992, allocations: 147.1 kB / 397.4 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.845e-05/0.07002, allocations: 29.11 kB / 397.4 MB, free: 0.832 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.05e-05/0.07012, allocations: 43.84 kB / 397.4 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.054e-05/0.0702, allocations: 51.72 kB / 397.5 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.07023, allocations: 8 kB / 397.5 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.265e-05/0.07029, allocations: 16 kB / 397.5 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.245e-05/0.07032, allocations: 23.84 kB / 397.5 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.094e-05/0.07039, allocations: 77.44 kB / 397.6 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001002/0.07049, allocations: 80.03 kB / 397.7 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.0705, allocations: 8 kB / 397.7 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.07051, allocations: 0 / 397.7 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.916e-06/0.07052, allocations: 0 / 397.7 MB, free: 0.5234 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004375/0.07096, allocations: 428.8 kB / 398.1 MB, free: 52 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.87e-05/0.071, allocations: 12.03 kB / 398.1 MB, free: 40 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.972e-05/0.07104, allocations: 16.69 kB / 398.1 MB, free: 24 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.07122, allocations: 198.7 kB / 398.3 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-06/0.07124, allocations: 12.38 kB / 398.3 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.07126, allocations: 8.125 kB / 398.3 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.07148, allocations: 105.6 kB / 398.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-06/0.0715, allocations: 0 / 398.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.07151, allocations: 4 kB / 398.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.07153, allocations: 4 kB / 398.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002319/0.07176, allocations: 99.83 kB / 398.6 MB, free: 15.56 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00058/0.07235, allocations: 0.5784 MB / 399.1 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.07255, allocations: 94.53 kB / 399.2 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.07268, allocations: 52.83 kB / 399.3 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.0727, allocations: 4 kB / 399.3 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.711e-05/0.07272, allocations: 34.56 kB / 399.3 MB, free: 14.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.07273, allocations: 0 / 399.3 MB, free: 14.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.001325/0.07406, allocations: 488.3 kB / 399.8 MB, free: 14.19 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.07411, allocations: 81.11 kB / 399.9 MB, free: 14.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.752e-05/0.07421, allocations: 145.8 kB / 400 MB, free: 13.94 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.07424, allocations: 29.7 kB / 400 MB, free: 13.9 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.946e-05/0.07428, allocations: 100 kB / 400.1 MB, free: 13.8 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.07431, allocations: 39.39 kB / 400.2 MB, free: 13.76 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.664e-05/0.07435, allocations: 17.7 kB / 400.2 MB, free: 13.74 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.934e-05/0.07444, allocations: 318.8 kB / 400.5 MB, free: 13.42 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001664/0.07461, allocations: 59.95 kB / 400.6 MB, free: 13.36 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001707/0.07479, allocations: 77.59 kB / 400.6 MB, free: 13.28 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003455/0.07514, allocations: 189 kB / 400.8 MB, free: 13.07 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.07515, allocations: 0 / 400.8 MB, free: 13.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004025/0.07556, allocations: 199.9 kB / 401 MB, free: 12.87 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.07559, allocations: 37.69 kB / 401.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.0756, allocations: 0 / 401.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.07562, allocations: 4.078 kB / 401.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.07578, allocations: 39.84 kB / 401.1 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-06/0.0758, allocations: 4.031 kB / 401.1 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.07592, allocations: 19.98 kB / 401.1 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.07594, allocations: 4 kB / 401.1 MB, free: 12.75 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 9 * 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 8.288e-05/0.07603, allocations: 144.4 kB / 401.3 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.164e-05/0.07606, allocations: 19.84 kB / 401.3 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004708/0.07654, allocations: 235.8 kB / 401.5 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.07655, allocations: 4 kB / 401.5 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.07656, allocations: 0 / 401.5 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.07657, allocations: 0 / 401.5 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.07676, allocations: 221.5 kB / 401.7 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.07677, allocations: 0 / 401.7 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001484/0.07692, allocations: 35.91 kB / 401.8 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.07693, allocations: 0 / 401.8 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.07695, allocations: 8 kB / 401.8 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.07696, allocations: 0 / 401.8 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.07696, allocations: 0 / 401.8 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004396/0.0774, allocations: 316.9 kB / 402.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.573e-05/0.07748, allocations: 100.9 kB / 402.2 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.07751, allocations: 4 kB / 402.2 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.07766, allocations: 19.92 kB / 402.2 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.0777, allocations: 15.98 kB / 402.2 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.07772, allocations: 4 kB / 402.2 MB, free: 11.54 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.405e-05/0.07779, allocations: 111.2 kB / 402.3 MB, free: 11.43 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.252e-06/0.07779, allocations: 0 / 402.3 MB, free: 11.43 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002322/0.07803, allocations: 35.94 kB / 402.4 MB, free: 11.39 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (13): * Single equations (assignments): 12 * 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.0001036/0.07814, allocations: 107.2 kB / 402.5 MB, free: 11.28 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000416/0.07856, allocations: 195.2 kB / 402.7 MB, free: 11.07 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.07857, allocations: 0 / 402.7 MB, free: 11.07 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002048/0.07878, allocations: 143.3 kB / 402.8 MB, free: 10.92 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.0791, allocations: 31.92 kB / 402.8 MB, free: 10.89 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004022/0.07951, allocations: 381.2 kB / 403.2 MB, free: 10.48 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/0.07973, allocations: 0.7048 MB / 403.9 MB, free: 9.754 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.449e-05/0.07978, allocations: 15.44 kB / 403.9 MB, free: 9.738 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.07979, allocations: 0 / 403.9 MB, free: 9.738 MB / 302.1 MB Notification: Performance of Templates: time 0.002739/0.08253, allocations: 1.866 MB / 405.8 MB, free: 7.883 MB / 302.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.makefile make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.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.RestrictionTestSimpleCalcHelperMain.o OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimpleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimpleCalcHelperMain.o] Error 1