Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternData_ExternData.Examples.XMLTest.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.XMLTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTest") translateModel(ExternData.Examples.XMLTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.001065, allocations: 99.59 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.001127/0.001127, allocations: 180.3 kB / 16.58 MB, free: 6.879 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.559/1.559, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-master/package.mo): time 0.226/0.226, allocations: 2.953 MB / 294.7 MB, free: 3.918 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004171/0.0004175, allocations: 8 kB / 356.5 MB, free: 3.742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.138, allocations: 51.34 MB / 407.8 MB, free: 352 kB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTest): time 0.002217/0.1403, allocations: 1.369 MB / 409.2 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002244/0.1425, allocations: 1.479 MB / 410.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.511e-05/0.1426, allocations: 4 kB / 410.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002861/0.1429, allocations: 31.86 kB / 410.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002727/0.1432, allocations: 99.64 kB / 410.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002077/0.1434, allocations: 59.88 kB / 410.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.1435, allocations: 71.77 kB / 410.9 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.862e-05/0.1436, allocations: 16.2 kB / 411 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.851e-05/0.1437, allocations: 39.84 kB / 411 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000165/0.1439, allocations: 35.84 kB / 411 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.1439, allocations: 3.938 kB / 411 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002786/0.1442, allocations: 187.7 kB / 411.2 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.142e-05/0.1443, allocations: 15.98 kB / 411.2 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.587e-05/0.1443, allocations: 37.64 kB / 411.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002269/0.1446, allocations: 152 kB / 411.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.1446, allocations: 4 kB / 411.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1446, allocations: 0 / 411.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.1446, allocations: 0 / 411.4 MB, free: 12.73 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.0005787/0.1452, allocations: 448.7 kB / 411.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.1452, allocations: 12.03 kB / 411.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.651e-05/0.1453, allocations: 7.906 kB / 411.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.1455, allocations: 190.9 kB / 412.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.1455, allocations: 3.953 kB / 412.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.1455, allocations: 8 kB / 412.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.1458, allocations: 95.38 kB / 412.2 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.1458, allocations: 3.938 kB / 412.2 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.1458, allocations: 0 / 412.2 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.1458, allocations: 7.938 kB / 412.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.146, allocations: 59.89 kB / 412.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004216/0.1464, allocations: 313.7 kB / 412.5 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/0.1466, allocations: 101.2 kB / 412.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.1468, allocations: 53.75 kB / 412.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.919e-06/0.1468, allocations: 4 kB / 412.7 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002644/0.147, allocations: 134.8 kB / 412.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.1471, allocations: 7.938 kB / 412.8 MB, free: 11.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004754/0.1475, allocations: 227.2 kB / 413.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.728e-05/0.1476, allocations: 114.8 kB / 413.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.1478, allocations: 144.8 kB / 413.3 MB, free: 10.58 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.1478, allocations: 25.7 kB / 413.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.441e-05/0.1479, allocations: 96.12 kB / 413.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.114e-05/0.1479, allocations: 23.66 kB / 413.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.221e-06/0.1479, allocations: 0 / 413.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.148, allocations: 326.8 kB / 413.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.643e-05/0.1481, allocations: 39.98 kB / 413.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.991e-05/0.1482, allocations: 53.69 kB / 413.9 MB, free: 10 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.79e-05/0.1483, allocations: 69.59 kB / 413.9 MB, free: 9.926 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1483, allocations: 4 kB / 413.9 MB, free: 9.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002756/0.1486, allocations: 191.2 kB / 414.1 MB, free: 9.723 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.057e-05/0.1487, allocations: 39.88 kB / 414.2 MB, free: 9.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.1487, allocations: 0 / 414.2 MB, free: 9.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.1487, allocations: 0 / 414.2 MB, free: 9.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.994e-05/0.1488, allocations: 19.92 kB / 414.2 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.1488, allocations: 3.938 kB / 414.2 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.299e-05/0.1488, allocations: 8 kB / 414.2 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.1489, allocations: 4 kB / 414.2 MB, free: 9.645 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.0001453/0.149, allocations: 167.5 kB / 414.4 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.195e-05/0.149, allocations: 16.17 kB / 414.4 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.874e-05/0.1491, allocations: 12.36 kB / 414.4 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.1491, allocations: 7.984 kB / 414.4 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.1491, allocations: 4 kB / 414.4 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.1491, allocations: 0 / 414.4 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001749/0.1493, allocations: 201.5 kB / 414.6 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.1493, allocations: 4 kB / 414.6 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.839e-05/0.1493, allocations: 8 kB / 414.6 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1494, allocations: 4 kB / 414.6 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.1494, allocations: 7.984 kB / 414.6 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1494, allocations: 0 / 414.6 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1494, allocations: 0 / 414.6 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003415/0.1497, allocations: 247.4 kB / 414.9 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.32e-05/0.1498, allocations: 104.9 kB / 415 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.1498, allocations: 4 kB / 415 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.519e-05/0.1499, allocations: 4 kB / 415 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.793e-05/0.15, allocations: 11.98 kB / 415 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.15, allocations: 4 kB / 415 MB, free: 8.742 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.385e-05/0.1501, allocations: 103.3 kB / 415.1 MB, free: 8.641 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1501, allocations: 0 / 415.1 MB, free: 8.641 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003157/0.1504, allocations: 79.98 kB / 415.2 MB, free: 8.562 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.0009531/0.1514, allocations: 434.8 kB / 415.6 MB, free: 8.258 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000314/0.1517, allocations: 199.2 kB / 415.8 MB, free: 8.051 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1517, allocations: 0 / 415.8 MB, free: 8.051 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.1519, allocations: 143.3 kB / 415.9 MB, free: 7.898 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/0.1521, allocations: 15.95 kB / 415.9 MB, free: 7.883 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004567/0.1526, allocations: 261.6 kB / 416.2 MB, free: 7.586 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.1529, allocations: 0.6965 MB / 416.9 MB, free: 6.863 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.369e-05/0.1529, allocations: 19.42 kB / 416.9 MB, free: 6.844 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1529, allocations: 0 / 416.9 MB, free: 6.844 MB / 350.1 MB Notification: Performance of Templates: time 0.004726/0.1576, allocations: 2.57 MB / 419.5 MB, free: 4.277 MB / 350.1 MB make -j1 -f ExternData_ExternData.Examples.XMLTest.makefile make -j1 -f ExternData_ExternData.Examples.XMLTest.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.XMLTestCalcHelperMain.o OMCppExternData_ExternData.Examples.XMLTestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppExternData_ExternData.Examples.XMLTestCalcHelperMain.o] Error 1