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.001185/0.001185, allocations: 102.7 kB / 15.71 MB, free: 460 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.001909/0.001909, allocations: 177.1 kB / 16.58 MB, free: 6.867 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.034/2.034, allocations: 205.4 MB / 222.8 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.0522/0.0522, allocations: 11.85 MB / 282.9 MB, free: 9.465 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.000678/0.0006781, allocations: 22.34 kB / 343.6 MB, free: 22.47 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1325, allocations: 50.21 MB / 393.8 MB, free: 4.211 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.RestrictionTestSimple): time 0.003408/0.136, allocations: 2.001 MB / 395.8 MB, free: 2.195 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.1373, allocations: 0.6167 MB / 396.4 MB, free: 1.574 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000175/0.1375, allocations: 4 kB / 396.4 MB, free: 1.57 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.049e-05/0.1376, allocations: 11.86 kB / 396.4 MB, free: 1.559 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004892/0.1381, allocations: 91.36 kB / 396.5 MB, free: 1.469 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001455/0.1383, allocations: 19.97 kB / 396.5 MB, free: 1.449 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002606/0.1386, allocations: 147.2 kB / 396.7 MB, free: 1.305 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.1387, allocations: 25.09 kB / 396.7 MB, free: 1.281 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001781/0.1389, allocations: 47.78 kB / 396.7 MB, free: 1.234 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.139, allocations: 51.78 kB / 396.8 MB, free: 1.184 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.1391, allocations: 8 kB / 396.8 MB, free: 1.176 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.489e-05/0.1392, allocations: 11.98 kB / 396.8 MB, free: 1.164 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.893e-05/0.1392, allocations: 19.91 kB / 396.8 MB, free: 1.145 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.653e-05/0.1393, allocations: 49.64 kB / 396.9 MB, free: 1.09 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.1395, allocations: 80.09 kB / 396.9 MB, free: 1.012 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/0.1395, allocations: 0 / 396.9 MB, free: 1.012 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.1395, allocations: 3.938 kB / 396.9 MB, free: 1.008 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1395, allocations: 0 / 396.9 MB, free: 1.008 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.0006861/0.1402, allocations: 432.6 kB / 397.4 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.1402, allocations: 8.031 kB / 397.4 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.504e-05/0.1403, allocations: 15.81 kB / 397.4 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002852/0.1406, allocations: 213.3 kB / 397.6 MB, free: 268 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.1406, allocations: 0 / 397.6 MB, free: 268 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.1407, allocations: 12 kB / 397.6 MB, free: 256 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002956/0.141, allocations: 101.6 kB / 397.7 MB, free: 148 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.141, allocations: 0 / 397.7 MB, free: 148 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.141, allocations: 4 kB / 397.7 MB, free: 144 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.141, allocations: 3.953 kB / 397.7 MB, free: 140 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002492/0.1413, allocations: 99.88 kB / 397.8 MB, free: 40 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009214/0.1422, allocations: 0.5864 MB / 398.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002955/0.1425, allocations: 90.53 kB / 398.5 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001948/0.1427, allocations: 52.83 kB / 398.5 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.524e-05/0.1428, allocations: 8 kB / 398.6 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.311e-05/0.1428, allocations: 30.56 kB / 398.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 2.415e-06/0.1428, allocations: 0 / 398.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.002066/0.1449, allocations: 480.7 kB / 399.1 MB, free: 14.67 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.404e-05/0.145, allocations: 85.06 kB / 399.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.1452, allocations: 138.4 kB / 399.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.1453, allocations: 29.7 kB / 399.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.15e-05/0.1454, allocations: 100.1 kB / 399.4 MB, free: 14.29 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.525e-05/0.1454, allocations: 35.45 kB / 399.4 MB, free: 14.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.119e-05/0.1454, allocations: 4 kB / 399.4 MB, free: 14.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.1456, allocations: 318.8 kB / 399.7 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002363/0.1459, allocations: 59.95 kB / 399.8 MB, free: 13.87 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002517/0.1461, allocations: 73.67 kB / 399.9 MB, free: 13.79 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002566/0.1464, allocations: 85.61 kB / 400 MB, free: 13.7 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1464, allocations: 0 / 400 MB, free: 13.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000603/0.147, allocations: 203.1 kB / 400.2 MB, free: 13.49 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.413e-05/0.1471, allocations: 29.7 kB / 400.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.1471, allocations: 4.031 kB / 400.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.1471, allocations: 7.938 kB / 400.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/0.1474, allocations: 27.97 kB / 400.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.433e-05/0.1474, allocations: 4.656 kB / 400.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001858/0.1476, allocations: 23.94 kB / 400.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/0.1476, allocations: 8 kB / 400.3 MB, free: 13.38 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001788/0.1478, allocations: 152.3 kB / 400.4 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.326e-05/0.1479, allocations: 7.906 kB / 400.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007325/0.1486, allocations: 235.8 kB / 400.7 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.333e-06/0.1487, allocations: 3.984 kB / 400.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.1487, allocations: 0 / 400.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.1487, allocations: 3.984 kB / 400.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003831/0.1491, allocations: 229.5 kB / 400.9 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.1491, allocations: 4 kB / 400.9 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002041/0.1493, allocations: 35.92 kB / 400.9 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.1493, allocations: 0 / 400.9 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.1494, allocations: 3.984 kB / 400.9 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.1494, allocations: 0 / 400.9 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1494, allocations: 0 / 400.9 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006581/0.15, allocations: 309 kB / 401.2 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.1502, allocations: 100.9 kB / 401.3 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.276e-05/0.1502, allocations: 7.984 kB / 401.3 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.1505, allocations: 15.98 kB / 401.3 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.074e-05/0.1505, allocations: 15.98 kB / 401.4 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.1506, allocations: 4 kB / 401.4 MB, free: 12.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001174/0.1507, allocations: 111.2 kB / 401.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1507, allocations: 4 kB / 401.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003994/0.1511, allocations: 32 kB / 401.5 MB, free: 12.02 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 (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.0002242/0.1513, allocations: 107.2 kB / 401.6 MB, free: 11.9 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006351/0.152, allocations: 195.2 kB / 401.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.152, allocations: 3.938 kB / 401.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002853/0.1523, allocations: 136.7 kB / 401.9 MB, free: 11.55 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005513/0.1529, allocations: 35.31 kB / 402 MB, free: 11.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000811/0.1537, allocations: 369 kB / 402.3 MB, free: 11.12 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004272/0.1541, allocations: 0.7087 MB / 403 MB, free: 10.39 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.245e-05/0.1542, allocations: 19.42 kB / 403.1 MB, free: 10.37 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1542, allocations: 0 / 403.1 MB, free: 10.37 MB / 302.1 MB Notification: Performance of Templates: time 0.006188/0.1604, allocations: 1.861 MB / 404.9 MB, free: 8.52 MB / 302.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.makefile make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.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.RestrictionTestSimpleCalcHelperMain.o OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimpleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimpleCalcHelperMain.o] Error 1