Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.XLSTest.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.4-master/package.mo", uses=false) Using package ExternData with version 3.0.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-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.XLSTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XLSTest") translateModel(ExternData.Examples.XLSTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XLSTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008698/0.0008699, allocations: 91.38 kB / 16.02 MB, free: 80 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.001018/0.001018, allocations: 181.1 kB / 16.92 MB, free: 6.652 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.442/1.442, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.1485/0.1485, allocations: 2.95 MB / 295 MB, free: 3.852 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004566/0.0004566, allocations: 12 kB / 357.1 MB, free: 3.305 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1162, allocations: 51.35 MB / 408.5 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSTest): time 0.002256/0.1185, allocations: 1.388 MB / 409.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002606/0.1212, allocations: 1.689 MB / 411.6 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.117e-05/0.1213, allocations: 0 / 411.6 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003756/0.1217, allocations: 39.78 kB / 411.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005182/0.1222, allocations: 151.4 kB / 411.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000288/0.1225, allocations: 71.75 kB / 411.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.1226, allocations: 79.77 kB / 411.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.1227, allocations: 23.97 kB / 411.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.689e-05/0.1228, allocations: 31.86 kB / 411.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001712/0.123, allocations: 39.72 kB / 412 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.123, allocations: 4 kB / 412 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003936/0.1234, allocations: 255.6 kB / 412.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.964e-05/0.1235, allocations: 15.94 kB / 412.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.024e-05/0.1236, allocations: 57.5 kB / 412.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003391/0.1239, allocations: 215.7 kB / 412.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1239, allocations: 0 / 412.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.124, allocations: 0 / 412.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.124, allocations: 0 / 412.5 MB, free: 11.84 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.0006119/0.1246, allocations: 468.8 kB / 413 MB, free: 11.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.1246, allocations: 8.031 kB / 413 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.472e-05/0.1247, allocations: 8.844 kB / 413 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.1249, allocations: 208.1 kB / 413.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.1249, allocations: 8.359 kB / 413.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.125, allocations: 4.125 kB / 413.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002404/0.1252, allocations: 107.3 kB / 413.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.1252, allocations: 0 / 413.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.1253, allocations: 0 / 413.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1253, allocations: 0 / 413.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001451/0.1254, allocations: 59.95 kB / 413.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004579/0.1259, allocations: 317.7 kB / 413.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002592/0.1262, allocations: 97.22 kB / 413.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.1263, allocations: 61.73 kB / 413.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.1263, allocations: 8 kB / 413.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002959/0.1266, allocations: 134.7 kB / 414 MB, free: 10.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.623e-06/0.1266, allocations: 0 / 414 MB, free: 10.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005265/0.1272, allocations: 235.2 kB / 414.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.142e-05/0.1272, allocations: 114.8 kB / 414.3 MB, free: 9.797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.1274, allocations: 149.7 kB / 414.5 MB, free: 9.641 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.1274, allocations: 33.64 kB / 414.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.748e-05/0.1275, allocations: 96.12 kB / 414.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.225e-05/0.1276, allocations: 23.56 kB / 414.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.723e-05/0.1276, allocations: 21.7 kB / 414.6 MB, free: 9.453 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.1278, allocations: 330.8 kB / 415 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.848e-05/0.1279, allocations: 40.05 kB / 415 MB, free: 9.082 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.549e-05/0.128, allocations: 53.69 kB / 415.1 MB, free: 9.023 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002214/0.1282, allocations: 161 kB / 415.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1282, allocations: 0 / 415.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002983/0.1285, allocations: 191.2 kB / 415.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.717e-05/0.1286, allocations: 43.88 kB / 415.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.1286, allocations: 0 / 415.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.1286, allocations: 4 kB / 415.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.772e-05/0.1287, allocations: 8 kB / 415.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1287, allocations: 0 / 415.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.94e-05/0.1288, allocations: 19.83 kB / 415.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.1288, allocations: 8 kB / 415.5 MB, free: 8.562 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 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000142/0.129, allocations: 159.5 kB / 415.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.27e-05/0.129, allocations: 11.91 kB / 415.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.135e-05/0.1291, allocations: 8.719 kB / 415.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.1291, allocations: 4.328 kB / 415.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1291, allocations: 0 / 415.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1291, allocations: 3.938 kB / 415.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002085/0.1293, allocations: 205.5 kB / 415.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1293, allocations: 0 / 415.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.392e-05/0.1294, allocations: 15.98 kB / 415.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1294, allocations: 0 / 415.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.1294, allocations: 4 kB / 415.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-06/0.1294, allocations: 3.984 kB / 415.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1294, allocations: 7.938 kB / 415.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003785/0.1298, allocations: 255.3 kB / 416.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.219e-05/0.1299, allocations: 93 kB / 416.2 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.489e-05/0.1299, allocations: 4 kB / 416.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.163e-05/0.13, allocations: 4 kB / 416.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.84e-05/0.13, allocations: 15.92 kB / 416.3 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/0.1301, allocations: 4 kB / 416.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001066/0.1302, allocations: 123.2 kB / 416.4 MB, free: 7.547 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1302, allocations: 0 / 416.4 MB, free: 7.547 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004094/0.1306, allocations: 91.98 kB / 416.5 MB, free: 7.457 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 (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.00116/0.1318, allocations: 477.7 kB / 416.9 MB, free: 7.113 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003307/0.1321, allocations: 195.4 kB / 417.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1321, allocations: 0 / 417.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.1323, allocations: 139.5 kB / 417.3 MB, free: 6.762 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002425/0.1325, allocations: 19.94 kB / 417.3 MB, free: 6.742 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004925/0.1331, allocations: 281.5 kB / 417.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.1333, allocations: 0.6926 MB / 418.3 MB, free: 5.711 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.219e-05/0.1334, allocations: 27.42 kB / 418.3 MB, free: 5.684 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1334, allocations: 0 / 418.3 MB, free: 5.684 MB / 350.1 MB Notification: Performance of Templates: time 0.004864/0.1382, allocations: 2.933 MB / 421.2 MB, free: 2.758 MB / 350.1 MB make -j1 -f ExternData_ExternData.Examples.XLSTest.makefile make -j1 -f ExternData_ExternData.Examples.XLSTest.makefile clang++ -std=c++14 -fopenmp=libomp -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/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.4-master/Resources/Include" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/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.4-master/Resources/Include" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppExternData_ExternData.Examples.XLSTestCalcHelperMain.o OMCppExternData_ExternData.Examples.XLSTestCalcHelperMain.cpp In file included from OMCppExternData_ExternData.Examples.XLSTestCalcHelperMain.cpp:29: ./OMCppExternData_ExternData.Examples.XLSTestInitialize.cpp:271:165: error: too many arguments to function call, expected 5, have 6 _functions->ExternData_XLSFile(_dataSource_P_fileName_, _dataSource_P_encoding_, _dataSource_P_verboseRead_, _dataSource_P_detectMissingData_, _dataSource_P_xls_,tmp5); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~ ./OMCppExternData_ExternData.Examples.XLSTestFunctions.cpp:128:17: note: 'ExternData_XLSFile' declared here void Functions::ExternData_XLSFile(string fileName_, string encoding_, bool verboseRead_, int detectMissingData_, ExternData_XLSFileType& output) ^ 1 error generated. make: *** [: OMCppExternData_ExternData.Examples.XLSTestCalcHelperMain.o] Error 1