Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.XLSXTest.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.XLSXTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XLSXTest") translateModel(ExternData.Examples.XLSXTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XLSXTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005377/0.005377, allocations: 101.7 kB / 15.88 MB, free: 6.328 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.001319/0.001319, allocations: 194.2 kB / 16.79 MB, free: 6.254 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.348/1.348, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.1189/0.1189, allocations: 2.938 MB / 293.6 MB, free: 3.188 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 59.91 kB / 354.6 MB, free: 4.168 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08359/0.08495, allocations: 50.34 MB / 405 MB, free: 1.781 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSXTest): time 0.002916/0.08788, allocations: 1.723 MB / 406.7 MB, free: 48 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002386/0.09028, allocations: 1.713 MB / 408.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.886e-05/0.0904, allocations: 0 / 408.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002519/0.09066, allocations: 35.84 kB / 408.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004739/0.09115, allocations: 143.5 kB / 408.6 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002391/0.09142, allocations: 63.92 kB / 408.7 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.09153, allocations: 75.72 kB / 408.7 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.218e-05/0.09162, allocations: 24.2 kB / 408.8 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.187e-05/0.09169, allocations: 43.78 kB / 408.8 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.09183, allocations: 31.84 kB / 408.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.09186, allocations: 4 kB / 408.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004227/0.09229, allocations: 247.7 kB / 409.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.185e-05/0.09238, allocations: 27.84 kB / 409.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.333e-05/0.09244, allocations: 27.81 kB / 409.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003036/0.09275, allocations: 207.8 kB / 409.3 MB, free: 13.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.09276, allocations: 8 kB / 409.3 MB, free: 13.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.81e-07/0.09277, allocations: 0 / 409.3 MB, free: 13.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.09278, allocations: 0 / 409.3 MB, free: 13.4 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.0006274/0.09341, allocations: 468.8 kB / 409.8 MB, free: 12.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.09345, allocations: 12.03 kB / 409.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.622e-05/0.09351, allocations: 12.75 kB / 409.8 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.09372, allocations: 208.2 kB / 410 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.09374, allocations: 4.375 kB / 410 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.09376, allocations: 8.125 kB / 410 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.09396, allocations: 103.3 kB / 410.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.09398, allocations: 0 / 410.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.094, allocations: 4 kB / 410.1 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.09401, allocations: 0 / 410.1 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.09414, allocations: 47.97 kB / 410.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004491/0.09461, allocations: 317.5 kB / 410.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002286/0.09485, allocations: 97.19 kB / 410.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.09496, allocations: 57.83 kB / 410.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.09499, allocations: 7.938 kB / 410.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000262/0.09526, allocations: 138.8 kB / 410.8 MB, free: 11.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.393e-06/0.09527, allocations: 0 / 410.8 MB, free: 11.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005019/0.09578, allocations: 227.3 kB / 411 MB, free: 11.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/0.09585, allocations: 106.8 kB / 411.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.09598, allocations: 152.9 kB / 411.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.09601, allocations: 29.7 kB / 411.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.161e-05/0.09606, allocations: 96.06 kB / 411.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/0.0961, allocations: 27.56 kB / 411.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.192e-05/0.09616, allocations: 33.7 kB / 411.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.0963, allocations: 326.8 kB / 411.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.208e-05/0.09639, allocations: 31.98 kB / 411.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.097e-05/0.09649, allocations: 57.69 kB / 411.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/0.09672, allocations: 145 kB / 412 MB, free: 10.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.09674, allocations: 0 / 412 MB, free: 10.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003046/0.09705, allocations: 191.4 kB / 412.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.312e-05/0.09709, allocations: 37.69 kB / 412.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.0971, allocations: 48 / 412.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.09712, allocations: 3.984 kB / 412.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.523e-05/0.0972, allocations: 15.98 kB / 412.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.09723, allocations: 4 kB / 412.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.896e-05/0.09731, allocations: 11.91 kB / 412.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.09733, allocations: 11.94 kB / 412.3 MB, free: 10.14 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.0001135/0.09745, allocations: 157.7 kB / 412.4 MB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.991e-05/0.09748, allocations: 11.91 kB / 412.4 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.322e-05/0.09753, allocations: 8.719 kB / 412.5 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.09756, allocations: 7.984 kB / 412.5 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.09757, allocations: 0 / 412.5 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.09758, allocations: 0 / 412.5 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.09774, allocations: 213.5 kB / 412.7 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.09775, allocations: 0 / 412.7 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.259e-05/0.0978, allocations: 8 kB / 412.7 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.09781, allocations: 0 / 412.7 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.09783, allocations: 7.984 kB / 412.7 MB, free: 9.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.09784, allocations: 0 / 412.7 MB, free: 9.676 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.09785, allocations: 0 / 412.7 MB, free: 9.676 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003852/0.09824, allocations: 259.3 kB / 412.9 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.863e-05/0.0983, allocations: 85.02 kB / 413 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.881e-05/0.09838, allocations: 4 kB / 413 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.333e-05/0.09845, allocations: 7.984 kB / 413 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.772e-05/0.09849, allocations: 8 kB / 413 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.09852, allocations: 11.92 kB / 413.1 MB, free: 9.262 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.822e-05/0.0986, allocations: 115.3 kB / 413.2 MB, free: 9.148 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09861, allocations: 0 / 413.2 MB, free: 9.148 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003281/0.09894, allocations: 95.97 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.001416/0.1004, allocations: 0.5948 MB / 413.9 MB, free: 8.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003019/0.1007, allocations: 187.3 kB / 414 MB, free: 8.465 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1007, allocations: 0 / 414 MB, free: 8.465 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001844/0.1009, allocations: 139.4 kB / 414.2 MB, free: 8.316 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.1011, allocations: 19.92 kB / 414.2 MB, free: 8.297 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004141/0.1016, allocations: 259.2 kB / 414.4 MB, free: 8.008 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002612/0.1018, allocations: 0.6965 MB / 415.1 MB, free: 7.285 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.072e-05/0.1019, allocations: 19.42 kB / 415.2 MB, free: 7.266 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1019, allocations: 0 / 415.2 MB, free: 7.266 MB / 350.1 MB Notification: Performance of Templates: time 0.005077/0.107, allocations: 2.927 MB / 418.1 MB, free: 4.34 MB / 350.1 MB make -j1 -f ExternData_ExternData.Examples.XLSXTest.makefile make -j1 -f ExternData_ExternData.Examples.XLSXTest.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.XLSXTestCalcHelperMain.o OMCppExternData_ExternData.Examples.XLSXTestCalcHelperMain.cpp In file included from OMCppExternData_ExternData.Examples.XLSXTestCalcHelperMain.cpp:29: ./OMCppExternData_ExternData.Examples.XLSXTestInitialize.cpp:271:142: error: too many arguments to function call, expected 4, have 5 _functions->ExternData_XLSXFile(_dataSource_P_fileName_, _dataSource_P_verboseRead_, _dataSource_P_detectMissingData_, _dataSource_P_xlsx_,tmp5); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~ ./OMCppExternData_ExternData.Examples.XLSXTestFunctions.cpp:127:17: note: 'ExternData_XLSXFile' declared here void Functions::ExternData_XLSXFile(string fileName_, bool verboseRead_, int detectMissingData_, ExternData_XLSXFileType& output) ^ 1 error generated. make: *** [: OMCppExternData_ExternData.Examples.XLSXTestCalcHelperMain.o] Error 1