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.001373/0.001373, allocations: 100.1 kB / 15.88 MB, free: 12 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.001267/0.001267, allocations: 196.1 kB / 16.79 MB, free: 6.809 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.333/1.333, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.12/0.12, allocations: 2.942 MB / 293.6 MB, free: 3.203 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 72.11 kB / 354.7 MB, free: 4.199 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08484/0.08618, allocations: 50.32 MB / 405 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSTest): time 0.002852/0.08906, allocations: 1.734 MB / 406.7 MB, free: 88 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00237/0.09145, allocations: 1.713 MB / 408.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.991e-05/0.09151, allocations: 0 / 408.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002437/0.09177, allocations: 47.78 kB / 408.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003703/0.09215, allocations: 147.5 kB / 408.6 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002437/0.09241, allocations: 67.86 kB / 408.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.09255, allocations: 83.66 kB / 408.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.194e-05/0.09264, allocations: 15.97 kB / 408.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.416e-05/0.09271, allocations: 35.91 kB / 408.8 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.09285, allocations: 47.72 kB / 408.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.09288, allocations: 4 kB / 408.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003785/0.09326, allocations: 251.7 kB / 409.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.503e-05/0.09333, allocations: 19.92 kB / 409.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.419e-05/0.09339, allocations: 31.8 kB / 409.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003397/0.09373, allocations: 215.8 kB / 409.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.09375, allocations: 0 / 409.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.09375, allocations: 0 / 409.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.09376, allocations: 0 / 409.4 MB, free: 13.41 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.0005879/0.09435, allocations: 480.8 kB / 409.8 MB, free: 12.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.382e-05/0.09443, allocations: 12.02 kB / 409.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.643e-05/0.09449, allocations: 12.84 kB / 409.9 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/0.09469, allocations: 204.2 kB / 410.1 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.09472, allocations: 4.375 kB / 410.1 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.09474, allocations: 8.125 kB / 410.1 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.09493, allocations: 91.31 kB / 410.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.09495, allocations: 4 kB / 410.2 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.09497, allocations: 8 kB / 410.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.09498, allocations: 0 / 410.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/0.09512, allocations: 47.97 kB / 410.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004679/0.0956, allocations: 321.5 kB / 410.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/0.09583, allocations: 97.28 kB / 410.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.09595, allocations: 57.73 kB / 410.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.09598, allocations: 4 kB / 410.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002184/0.0962, allocations: 146.7 kB / 410.8 MB, free: 11.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.273e-06/0.09621, allocations: 0 / 410.8 MB, free: 11.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005357/0.09675, allocations: 227.3 kB / 411.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.09683, allocations: 110.8 kB / 411.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.09697, allocations: 160.2 kB / 411.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.097, allocations: 29.7 kB / 411.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.274e-05/0.09704, allocations: 92.05 kB / 411.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.507e-05/0.09708, allocations: 31.64 kB / 411.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.387e-05/0.09714, allocations: 25.72 kB / 411.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.09729, allocations: 322.8 kB / 411.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.729e-05/0.09738, allocations: 43.97 kB / 411.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.489e-05/0.09747, allocations: 45.7 kB / 411.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001974/0.09768, allocations: 156.9 kB / 412.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.09769, allocations: 0 / 412.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003359/0.09803, allocations: 191.2 kB / 412.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.795e-05/0.09808, allocations: 41.69 kB / 412.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.09809, allocations: 0 / 412.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.09811, allocations: 0 / 412.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.248e-05/0.09817, allocations: 12 kB / 412.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.0982, allocations: 0 / 412.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.032e-05/0.0983, allocations: 11.92 kB / 412.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.09832, allocations: 4 kB / 412.3 MB, free: 10.16 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.000118/0.09845, allocations: 163.5 kB / 412.5 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.13e-05/0.09848, allocations: 15.81 kB / 412.5 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.278e-05/0.09851, allocations: 8.719 kB / 412.5 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.09852, allocations: 4 kB / 412.5 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.09853, allocations: 4 kB / 412.5 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.09854, allocations: 3.938 kB / 412.5 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/0.0987, allocations: 209.5 kB / 412.7 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.09871, allocations: 0 / 412.7 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.331e-05/0.09877, allocations: 8 kB / 412.7 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.09878, allocations: 0 / 412.7 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.0988, allocations: 11.94 kB / 412.7 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.0988, allocations: 0 / 412.7 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.09881, allocations: 0 / 412.7 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004214/0.09923, allocations: 251.4 kB / 413 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.766e-05/0.09929, allocations: 85.02 kB / 413.1 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.953e-05/0.09933, allocations: 4 kB / 413.1 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.457e-05/0.09939, allocations: 11.98 kB / 413.1 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.596e-05/0.09944, allocations: 11.94 kB / 413.1 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.09946, allocations: 4 kB / 413.1 MB, free: 9.266 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.722e-05/0.09955, allocations: 119.2 kB / 413.2 MB, free: 9.148 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.09956, allocations: 3.938 kB / 413.2 MB, free: 9.145 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003194/0.09988, allocations: 91.98 kB / 413.3 MB, free: 9.055 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.0009358/0.1008, allocations: 473.5 kB / 413.8 MB, free: 8.715 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003586/0.1012, allocations: 191.3 kB / 413.9 MB, free: 8.516 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1012, allocations: 0 / 413.9 MB, free: 8.516 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.1014, allocations: 135.4 kB / 414.1 MB, free: 8.371 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/0.1016, allocations: 19.98 kB / 414.1 MB, free: 8.352 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004387/0.102, allocations: 274.7 kB / 414.4 MB, free: 8.043 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.1023, allocations: 0.6926 MB / 415.1 MB, free: 7.324 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.802e-05/0.1024, allocations: 19.42 kB / 415.1 MB, free: 7.305 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1024, allocations: 0 / 415.1 MB, free: 7.305 MB / 350.1 MB Notification: Performance of Templates: time 0.004758/0.1071, allocations: 2.963 MB / 418 MB, free: 4.352 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