Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternData_ExternData.Examples.XMLTestInnerOuter.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.XMLTestInnerOuter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTestInnerOuter") translateModel(ExternData.Examples.XMLTestInnerOuter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTestInnerOuter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009024/0.0009025, allocations: 100.5 kB / 15.71 MB, free: 452 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.001417/0.001417, allocations: 174.9 kB / 16.58 MB, free: 6.422 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.661/1.661, allocations: 223.3 MB / 240.6 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-master/package.mo): time 0.2095/0.2095, allocations: 2.952 MB / 294.7 MB, free: 3.922 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003565/0.0003565, allocations: 8 kB / 356.5 MB, free: 3.73 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1276, allocations: 51.35 MB / 407.8 MB, free: 336 kB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestInnerOuter): time 0.002112/0.1297, allocations: 1.373 MB / 409.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002149/0.1319, allocations: 1.503 MB / 410.7 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.786e-05/0.132, allocations: 0 / 410.7 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003062/0.1323, allocations: 39.84 kB / 410.7 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003001/0.1326, allocations: 99.66 kB / 410.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002318/0.1329, allocations: 59.5 kB / 410.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.133, allocations: 91.69 kB / 411 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.1331, allocations: 12.22 kB / 411 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.418e-05/0.1332, allocations: 31.86 kB / 411 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000184/0.1334, allocations: 35.83 kB / 411.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.1334, allocations: 4 kB / 411.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002712/0.1337, allocations: 179.8 kB / 411.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.203e-05/0.1338, allocations: 15.92 kB / 411.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.553e-05/0.1338, allocations: 45.64 kB / 411.3 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002673/0.1341, allocations: 175.9 kB / 411.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.1341, allocations: 0 / 411.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1341, allocations: 4 kB / 411.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1342, allocations: 0 / 411.5 MB, free: 12.65 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.000598/0.1348, allocations: 448.7 kB / 411.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.1348, allocations: 8.031 kB / 411.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.03e-05/0.1349, allocations: 7.906 kB / 411.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002403/0.1351, allocations: 191 kB / 412.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.1351, allocations: 7.953 kB / 412.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.1351, allocations: 4 kB / 412.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002307/0.1354, allocations: 115.3 kB / 412.3 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.1354, allocations: 0 / 412.3 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.1354, allocations: 0 / 412.3 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.1354, allocations: 4 kB / 412.3 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.1356, allocations: 59.97 kB / 412.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004481/0.136, allocations: 325.6 kB / 412.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002526/0.1363, allocations: 105.3 kB / 412.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.1364, allocations: 73.67 kB / 412.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.1364, allocations: 0 / 412.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002841/0.1367, allocations: 146.7 kB / 412.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.183e-06/0.1367, allocations: 0 / 412.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.000489/0.1372, allocations: 247.2 kB / 413.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.041e-05/0.1373, allocations: 114.8 kB / 413.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.1374, allocations: 143.4 kB / 413.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.1375, allocations: 29.7 kB / 413.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.468e-05/0.1375, allocations: 88.14 kB / 413.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.899e-05/0.1376, allocations: 31.78 kB / 413.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.566e-06/0.1376, allocations: 4 kB / 413.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1377, allocations: 326.8 kB / 413.9 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.226e-05/0.1378, allocations: 39.98 kB / 414 MB, free: 9.914 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.201e-05/0.1379, allocations: 65.66 kB / 414 MB, free: 9.844 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.138, allocations: 81.53 kB / 414.1 MB, free: 9.758 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1381, allocations: 0 / 414.1 MB, free: 9.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002977/0.1384, allocations: 207.2 kB / 414.3 MB, free: 9.543 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.618e-05/0.1384, allocations: 41.69 kB / 414.3 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1384, allocations: 0 / 414.3 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1384, allocations: 0 / 414.3 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.238e-05/0.1385, allocations: 12 kB / 414.3 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.1385, allocations: 0 / 414.3 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.373e-05/0.1386, allocations: 7.984 kB / 414.4 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.1386, allocations: 8 kB / 414.4 MB, free: 9.469 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,component.timeTable.a,component.timeTable.b,component.timeTable.last,$PRE.component.timeTable.nextEvent,component.timeTable.nextEvent,component.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.0001464/0.1388, allocations: 167.4 kB / 414.5 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.1388, allocations: 11.91 kB / 414.5 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.868e-05/0.1388, allocations: 8.375 kB / 414.5 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1388, allocations: 336 / 414.5 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.1389, allocations: 4 kB / 414.6 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1389, allocations: 0 / 414.6 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.1391, allocations: 225.4 kB / 414.8 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.577e-06/0.1391, allocations: 7.969 kB / 414.8 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.896e-05/0.1391, allocations: 12 kB / 414.8 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.1391, allocations: 0 / 414.8 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.1392, allocations: 4 kB / 414.8 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1392, allocations: 0 / 414.8 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1392, allocations: 4 kB / 414.8 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003689/0.1396, allocations: 271.6 kB / 415.1 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.548e-05/0.1396, allocations: 88.94 kB / 415.2 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.859e-05/0.1397, allocations: 8 kB / 415.2 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.894e-05/0.1397, allocations: 11.98 kB / 415.2 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.597e-05/0.1398, allocations: 4 kB / 415.2 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/0.1398, allocations: 8 kB / 415.2 MB, free: 8.539 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.304e-05/0.1399, allocations: 109.9 kB / 415.3 MB, free: 8.434 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1399, allocations: 0 / 415.3 MB, free: 8.434 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003047/0.1402, allocations: 79.92 kB / 415.4 MB, free: 8.355 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,component.timeTable.a,component.timeTable.b,component.timeTable.last,component.timeTable.nextEvent,component.timeTable.nextEventScaled) * Number of discrete states: 6 (component.timeTable.nextEvent,component.timeTable.last,component.timeTable.nextEventScaled,component.timeTable.b,component.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.0009667/0.1412, allocations: 426 kB / 415.8 MB, free: 8.055 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003279/0.1415, allocations: 211.3 kB / 416 MB, free: 7.836 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1415, allocations: 4 kB / 416 MB, free: 7.832 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.1417, allocations: 147.4 kB / 416.1 MB, free: 7.676 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.142, allocations: 18.48 kB / 416.2 MB, free: 7.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000498/0.1425, allocations: 281.5 kB / 416.4 MB, free: 7.344 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.1428, allocations: 0.6926 MB / 417.1 MB, free: 6.625 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.196e-05/0.1428, allocations: 11.44 kB / 417.1 MB, free: 6.613 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1428, allocations: 0 / 417.1 MB, free: 6.613 MB / 350.1 MB Notification: Performance of Templates: time 0.004875/0.1477, allocations: 2.7 MB / 419.8 MB, free: 3.922 MB / 350.1 MB make -j1 -f ExternData_ExternData.Examples.XMLTestInnerOuter.makefile make -j1 -f ExternData_ExternData.Examples.XMLTestInnerOuter.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.XMLTestInnerOuterCalcHelperMain.o OMCppExternData_ExternData.Examples.XMLTestInnerOuterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppExternData_ExternData.Examples.XMLTestInnerOuterCalcHelperMain.o] Error 1