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.001026/0.001026, allocations: 104.8 kB / 15.98 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 198.8 kB / 16.91 MB, free: 6.188 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.223/1.223, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.01144/0.01144, allocations: 2.952 MB / 293.7 MB, free: 11.83 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 63.84 kB / 354.8 MB, free: 14.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.1863, allocations: 50.32 MB / 405.2 MB, free: 32.81 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSTest): time 0.00228/0.1887, allocations: 1.737 MB / 406.9 MB, free: 31.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001589/0.1903, allocations: 1.685 MB / 408.6 MB, free: 29.38 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.157e-05/0.1903, allocations: 0 / 408.6 MB, free: 29.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000245/0.1906, allocations: 43.78 kB / 408.6 MB, free: 29.33 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003643/0.191, allocations: 150.4 kB / 408.8 MB, free: 29.19 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001741/0.1911, allocations: 79.84 kB / 408.9 MB, free: 29.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.955e-05/0.1913, allocations: 95.72 kB / 408.9 MB, free: 29.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.69e-05/0.1913, allocations: 11.98 kB / 409 MB, free: 29 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.755e-05/0.1914, allocations: 47.78 kB / 409 MB, free: 28.96 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.1915, allocations: 31.86 kB / 409 MB, free: 28.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.1915, allocations: 8 kB / 409 MB, free: 28.92 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002588/0.1918, allocations: 263.6 kB / 409.3 MB, free: 28.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.311e-05/0.1919, allocations: 23.91 kB / 409.3 MB, free: 28.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.277e-05/0.1919, allocations: 39.75 kB / 409.4 MB, free: 28.6 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.1921, allocations: 217.6 kB / 409.6 MB, free: 28.39 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1922, allocations: 0 / 409.6 MB, free: 28.39 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1922, allocations: 0 / 409.6 MB, free: 28.39 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.1922, allocations: 0 / 409.6 MB, free: 28.39 MB / 302.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.0004253/0.1926, allocations: 468.8 kB / 410 MB, free: 27.88 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.822e-05/0.1926, allocations: 11.89 kB / 410 MB, free: 27.86 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.107e-05/0.1927, allocations: 12.83 kB / 410.1 MB, free: 27.85 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.1928, allocations: 212.1 kB / 410.3 MB, free: 27.61 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.1928, allocations: 8.375 kB / 410.3 MB, free: 27.6 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.1929, allocations: 8.125 kB / 410.3 MB, free: 27.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.193, allocations: 99.25 kB / 410.4 MB, free: 27.48 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.1931, allocations: 3.938 kB / 410.4 MB, free: 27.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.1931, allocations: 4 kB / 410.4 MB, free: 27.47 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.1931, allocations: 3.984 kB / 410.4 MB, free: 27.47 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.1932, allocations: 51.97 kB / 410.4 MB, free: 27.42 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002781/0.1935, allocations: 313.7 kB / 410.7 MB, free: 27.06 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.1937, allocations: 97.28 kB / 410.8 MB, free: 26.95 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.989e-05/0.1938, allocations: 61.69 kB / 410.9 MB, free: 26.88 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.1938, allocations: 0 / 410.9 MB, free: 26.88 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000178/0.194, allocations: 138.7 kB / 411 MB, free: 26.72 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.194, allocations: 0 / 411 MB, free: 26.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003696/0.1944, allocations: 231.3 kB / 411.3 MB, free: 26.48 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.1944, allocations: 114.8 kB / 411.4 MB, free: 26.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.11e-05/0.1945, allocations: 156.3 kB / 411.5 MB, free: 26.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.1945, allocations: 29.7 kB / 411.6 MB, free: 26.15 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.398e-05/0.1946, allocations: 92.08 kB / 411.6 MB, free: 26.05 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.1946, allocations: 27.61 kB / 411.7 MB, free: 26.03 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.073e-05/0.1946, allocations: 29.72 kB / 411.7 MB, free: 25.99 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.111e-05/0.1947, allocations: 322.8 kB / 412 MB, free: 25.67 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.1e-05/0.1948, allocations: 43.91 kB / 412.1 MB, free: 25.62 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.932e-05/0.1949, allocations: 53.7 kB / 412.1 MB, free: 25.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.195, allocations: 145 kB / 412.3 MB, free: 25.41 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.195, allocations: 0 / 412.3 MB, free: 25.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002384/0.1953, allocations: 199.1 kB / 412.4 MB, free: 25.2 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.1953, allocations: 37.69 kB / 412.5 MB, free: 25.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1953, allocations: 3.938 kB / 412.5 MB, free: 25.15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.1953, allocations: 0 / 412.5 MB, free: 25.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.577e-05/0.1954, allocations: 15.94 kB / 412.5 MB, free: 25.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.1954, allocations: 4 kB / 412.5 MB, free: 25.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.361e-05/0.1955, allocations: 15.86 kB / 412.5 MB, free: 25.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.1955, allocations: 8 kB / 412.5 MB, free: 25.11 MB / 302.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 7.553e-05/0.1955, allocations: 151.5 kB / 412.7 MB, free: 24.95 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/0.1956, allocations: 11.91 kB / 412.7 MB, free: 24.93 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.243e-05/0.1956, allocations: 8.719 kB / 412.7 MB, free: 24.92 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1956, allocations: 0 / 412.7 MB, free: 24.92 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.1956, allocations: 8 kB / 412.7 MB, free: 24.91 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1956, allocations: 3.938 kB / 412.7 MB, free: 24.91 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.855e-05/0.1957, allocations: 209.5 kB / 412.9 MB, free: 24.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1957, allocations: 0 / 412.9 MB, free: 24.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.72e-05/0.1958, allocations: 8 kB / 412.9 MB, free: 24.65 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1958, allocations: 0 / 412.9 MB, free: 24.65 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.1958, allocations: 8 kB / 412.9 MB, free: 24.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1958, allocations: 0 / 412.9 MB, free: 24.64 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1958, allocations: 0 / 412.9 MB, free: 24.64 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000274/0.1961, allocations: 255.7 kB / 413.2 MB, free: 24.36 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.189e-05/0.1961, allocations: 92.94 kB / 413.3 MB, free: 24.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.1962, allocations: 4 kB / 413.3 MB, free: 24.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.711e-05/0.1962, allocations: 4 kB / 413.3 MB, free: 24.25 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.764e-05/0.1963, allocations: 19.86 kB / 413.3 MB, free: 24.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.1963, allocations: 4 kB / 413.3 MB, free: 24.22 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.991e-05/0.1964, allocations: 121.6 kB / 413.4 MB, free: 24.11 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1964, allocations: 4 kB / 413.4 MB, free: 24.1 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002938/0.1967, allocations: 99.98 kB / 413.5 MB, free: 24 MB / 302.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.0008456/0.1975, allocations: 467 kB / 414 MB, free: 23.67 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002481/0.1978, allocations: 191.3 kB / 414.2 MB, free: 23.47 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1978, allocations: 0 / 414.2 MB, free: 23.47 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.1979, allocations: 135.3 kB / 414.3 MB, free: 23.33 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.1981, allocations: 24.78 kB / 414.3 MB, free: 23.3 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003439/0.1985, allocations: 277.1 kB / 414.6 MB, free: 23 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.595e-05/0.1986, allocations: 0.6927 MB / 415.3 MB, free: 22.28 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.521e-05/0.1986, allocations: 19.42 kB / 415.3 MB, free: 22.26 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1986, allocations: 4 kB / 415.3 MB, free: 22.26 MB / 302.1 MB Notification: Performance of Templates: time 0.003823/0.2025, allocations: 2.955 MB / 418.3 MB, free: 19.3 MB / 302.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