Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternData_ExternData.Examples.XMLTestXPath.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-master/package.mo", uses=false) Using package ExternData with version 3.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ExternData.Examples.XMLTestXPath,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTestXPath") translateModel(ExternData.Examples.XMLTestXPath,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTestXPath") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009498/0.0009503, allocations: 102.1 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.001457/0.001457, allocations: 174.9 kB / 16.58 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.585/1.585, allocations: 223.3 MB / 240.6 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-master/package.mo): time 0.2275/0.2275, allocations: 2.955 MB / 294.7 MB, free: 3.867 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003261/0.0003262, allocations: 8 kB / 356.5 MB, free: 3.695 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1275, allocations: 51.34 MB / 407.8 MB, free: 312 kB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestXPath): time 0.002219/0.1298, allocations: 1.377 MB / 409.2 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002176/0.132, allocations: 1.495 MB / 410.7 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.027e-05/0.1321, allocations: 4 kB / 410.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003187/0.1324, allocations: 43.83 kB / 410.7 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002537/0.1327, allocations: 95.66 kB / 410.8 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000195/0.1329, allocations: 59.86 kB / 410.9 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.133, allocations: 79.75 kB / 411 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.926e-05/0.1331, allocations: 16.22 kB / 411 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.827e-05/0.1332, allocations: 35.84 kB / 411 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001756/0.1334, allocations: 35.78 kB / 411.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.1334, allocations: 4 kB / 411.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002754/0.1337, allocations: 187.8 kB / 411.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.144e-05/0.1337, allocations: 19.91 kB / 411.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.731e-05/0.1338, allocations: 37.64 kB / 411.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002403/0.134, allocations: 159.9 kB / 411.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.134, allocations: 0 / 411.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1341, allocations: 4 kB / 411.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.1341, allocations: 0 / 411.5 MB, free: 12.64 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005768/0.1347, allocations: 444.7 kB / 411.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.1347, allocations: 8.031 kB / 411.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.317e-05/0.1347, allocations: 15.84 kB / 411.9 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.135, allocations: 194.8 kB / 412.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.135, allocations: 7.953 kB / 412.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.135, allocations: 4 kB / 412.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002198/0.1352, allocations: 103.3 kB / 412.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.1353, allocations: 0 / 412.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.1353, allocations: 0 / 412.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.1353, allocations: 0 / 412.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.1354, allocations: 59.95 kB / 412.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004194/0.1358, allocations: 305.7 kB / 412.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002411/0.1361, allocations: 101.2 kB / 412.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.1362, allocations: 61.75 kB / 412.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/0.1362, allocations: 0 / 412.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002543/0.1365, allocations: 142.7 kB / 412.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.1365, allocations: 0 / 412.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004479/0.137, allocations: 239.3 kB / 413.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.189e-05/0.137, allocations: 106.8 kB / 413.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.1372, allocations: 141.7 kB / 413.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.1372, allocations: 29.7 kB / 413.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.411e-05/0.1373, allocations: 92.12 kB / 413.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/0.1373, allocations: 23.66 kB / 413.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-06/0.1373, allocations: 7.938 kB / 413.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1374, allocations: 330.8 kB / 413.8 MB, free: 10 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.02e-05/0.1375, allocations: 35.98 kB / 413.9 MB, free: 9.969 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.802e-05/0.1376, allocations: 53.69 kB / 413.9 MB, free: 9.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.1377, allocations: 73.53 kB / 414 MB, free: 9.832 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1377, allocations: 0 / 414 MB, free: 9.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002827/0.138, allocations: 191.5 kB / 414.2 MB, free: 9.633 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.379e-05/0.1381, allocations: 41.69 kB / 414.2 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1381, allocations: 3.938 kB / 414.2 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.1381, allocations: 4.031 kB / 414.2 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.936e-05/0.1382, allocations: 15.98 kB / 414.2 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.1382, allocations: 0 / 414.2 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.735e-05/0.1383, allocations: 8 kB / 414.3 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/0.1383, allocations: 4 kB / 414.3 MB, free: 9.551 MB / 350.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: 7 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.0001334/0.1384, allocations: 163.5 kB / 414.4 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.003e-05/0.1385, allocations: 7.906 kB / 414.4 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.021e-05/0.1385, allocations: 16.36 kB / 414.4 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1385, allocations: 0 / 414.4 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1385, allocations: 0 / 414.4 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.1385, allocations: 0 / 414.4 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000168/0.1387, allocations: 205.5 kB / 414.6 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1387, allocations: 0 / 414.6 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.191e-05/0.1388, allocations: 23.94 kB / 414.7 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.1388, allocations: 0 / 414.7 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.1388, allocations: 4 kB / 414.7 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.1388, allocations: 3.984 kB / 414.7 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1388, allocations: 0 / 414.7 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000339/0.1391, allocations: 251.4 kB / 414.9 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.151e-05/0.1392, allocations: 88.95 kB / 415 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.186e-05/0.1392, allocations: 11.98 kB / 415 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.351e-05/0.1393, allocations: 4 kB / 415 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.496e-05/0.1394, allocations: 7.984 kB / 415 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-05/0.1394, allocations: 8 kB / 415 MB, free: 8.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.166e-05/0.1395, allocations: 109.9 kB / 415.1 MB, free: 8.555 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1395, allocations: 0 / 415.1 MB, free: 8.555 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003028/0.1398, allocations: 71.98 kB / 415.2 MB, free: 8.484 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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.0009629/0.1408, allocations: 435.7 kB / 415.6 MB, free: 8.176 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003084/0.1411, allocations: 195.3 kB / 415.8 MB, free: 7.973 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.1411, allocations: 0 / 415.8 MB, free: 7.973 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.1413, allocations: 139.3 kB / 416 MB, free: 7.824 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.1415, allocations: 23.17 kB / 416 MB, free: 7.805 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004414/0.1419, allocations: 261.6 kB / 416.2 MB, free: 7.508 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.1422, allocations: 0.7004 MB / 416.9 MB, free: 6.781 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.513e-05/0.1423, allocations: 11.44 kB / 417 MB, free: 6.77 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1423, allocations: 0 / 417 MB, free: 6.77 MB / 350.1 MB Notification: Performance of Templates: time 0.004756/0.147, allocations: 2.608 MB / 419.6 MB, free: 4.172 MB / 350.1 MB make -j1 -f ExternData_ExternData.Examples.XMLTestXPath.makefile make -j1 -f ExternData_ExternData.Examples.XMLTestXPath.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-master/Resources/Include" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-master/Resources/Include" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppExternData_ExternData.Examples.XMLTestXPathCalcHelperMain.o OMCppExternData_ExternData.Examples.XMLTestXPathCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppExternData_ExternData.Examples.XMLTestXPathCalcHelperMain.o] Error 1