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.001037/0.001037, allocations: 104.9 kB / 16.41 MB, free: 6.465 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.0009645/0.0009644, allocations: 189.8 kB / 17.34 MB, free: 5.719 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.27/1.27, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.01262/0.01262, allocations: 2.953 MB / 294.2 MB, free: 11.79 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 55.91 kB / 406.9 MB, free: 28.8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08193/0.08315, allocations: 50.35 MB / 457.3 MB, free: 10.4 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSXTest): time 0.002858/0.08605, allocations: 1.66 MB / 458.9 MB, free: 8.738 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002428/0.0885, allocations: 1.709 MB / 460.6 MB, free: 7.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.449e-05/0.0886, allocations: 0 / 460.6 MB, free: 7.02 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo:221:3-248:15:writable] Warning: Pure function 'ExternData.XLSXFile' contains a call to impure function 'ExternData.Types.ExternXLSXFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0003379/0.08895, allocations: 51.72 kB / 460.7 MB, free: 6.969 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/Examples/package.mo:139:5-159:22:writable] Warning: Pure function 'ExternData.Examples.XLSXTest.computeColSum' contains a call to impure function 'ExternData.Types.ExternXLSXFile.constructor'. Notification: Performance of NFTyping.typeBindings: time 0.0005358/0.08949, allocations: 167.3 kB / 460.9 MB, free: 6.805 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/0.08975, allocations: 83.78 kB / 460.9 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.08991, allocations: 99.69 kB / 461 MB, free: 6.625 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.285e-05/0.09, allocations: 8.172 kB / 461 MB, free: 6.613 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.794e-05/0.09008, allocations: 43.84 kB / 461.1 MB, free: 6.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.09024, allocations: 43.77 kB / 461.1 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.09027, allocations: 8 kB / 461.1 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003766/0.09066, allocations: 267.6 kB / 461.4 MB, free: 6.258 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.173e-05/0.09072, allocations: 15.94 kB / 461.4 MB, free: 6.242 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.948e-05/0.09079, allocations: 43.78 kB / 461.5 MB, free: 6.199 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004199/0.09122, allocations: 291.3 kB / 461.7 MB, free: 5.914 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.09123, allocations: 0 / 461.7 MB, free: 5.914 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.09124, allocations: 3.938 kB / 461.7 MB, free: 5.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.09125, allocations: 0 / 461.7 MB, free: 5.91 MB / 334.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.0005618/0.09181, allocations: 472.8 kB / 462.2 MB, free: 5.395 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.09185, allocations: 15.89 kB / 462.2 MB, free: 5.379 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.537e-05/0.09191, allocations: 12.84 kB / 462.2 MB, free: 5.367 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.09216, allocations: 212 kB / 462.4 MB, free: 5.121 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.09218, allocations: 4.375 kB / 462.4 MB, free: 5.117 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.0922, allocations: 8.125 kB / 462.5 MB, free: 5.109 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.0924, allocations: 95.3 kB / 462.6 MB, free: 5.004 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.09242, allocations: 4 kB / 462.6 MB, free: 5 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.09244, allocations: 11.98 kB / 462.6 MB, free: 4.988 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.09245, allocations: 0 / 462.6 MB, free: 4.988 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.09258, allocations: 47.97 kB / 462.6 MB, free: 4.941 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000363/0.09295, allocations: 313.7 kB / 462.9 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002318/0.0932, allocations: 101.3 kB / 463 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.716e-05/0.0933, allocations: 53.75 kB / 463.1 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.905e-06/0.09332, allocations: 0 / 463.1 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002062/0.09353, allocations: 146.7 kB / 463.2 MB, free: 4.238 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.09355, allocations: 4 kB / 463.2 MB, free: 4.234 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004492/0.094, allocations: 235.2 kB / 463.4 MB, free: 3.992 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.881e-05/0.09407, allocations: 106.8 kB / 463.6 MB, free: 3.863 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.09419, allocations: 149.2 kB / 463.7 MB, free: 3.707 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.09422, allocations: 33.7 kB / 463.7 MB, free: 3.668 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.516e-05/0.09427, allocations: 84.14 kB / 463.8 MB, free: 3.582 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.545e-05/0.09431, allocations: 35.55 kB / 463.8 MB, free: 3.547 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.481e-05/0.09437, allocations: 21.72 kB / 463.9 MB, free: 3.52 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.09448, allocations: 330.7 kB / 464.2 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.831e-05/0.09457, allocations: 39.98 kB / 464.2 MB, free: 3.148 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.313e-05/0.09466, allocations: 53.69 kB / 464.3 MB, free: 3.09 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.09485, allocations: 145 kB / 464.4 MB, free: 2.93 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.09486, allocations: 0 / 464.4 MB, free: 2.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002745/0.09514, allocations: 195.1 kB / 464.6 MB, free: 2.727 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.017e-05/0.09519, allocations: 37.7 kB / 464.7 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.0952, allocations: 0 / 464.7 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.09522, allocations: 0 / 464.7 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.95e-05/0.09528, allocations: 15.98 kB / 464.7 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.09529, allocations: 0 / 464.7 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.652e-05/0.09536, allocations: 7.906 kB / 464.7 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.09538, allocations: 7.938 kB / 464.7 MB, free: 2.652 MB / 334.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.0001061/0.09549, allocations: 164.1 kB / 464.8 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.359e-05/0.09554, allocations: 15.91 kB / 464.9 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.648e-05/0.09557, allocations: 12.7 kB / 464.9 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.09558, allocations: 4 kB / 464.9 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.09558, allocations: 0 / 464.9 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.09559, allocations: 0 / 464.9 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.09575, allocations: 205.5 kB / 465.1 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.09576, allocations: 0 / 465.1 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.067e-05/0.09582, allocations: 11.98 kB / 465.1 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.09582, allocations: 336 / 465.1 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.09584, allocations: 4 kB / 465.1 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.09585, allocations: 4 kB / 465.1 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.09585, allocations: 0 / 465.1 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003416/0.0962, allocations: 259.2 kB / 465.3 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.173e-05/0.09625, allocations: 85.09 kB / 465.4 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.09628, allocations: 4 kB / 465.4 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.936e-05/0.09635, allocations: 4 kB / 465.4 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-05/0.0964, allocations: 15.98 kB / 465.5 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.09643, allocations: 7.938 kB / 465.5 MB, free: 1.758 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.559e-05/0.09651, allocations: 111.3 kB / 465.6 MB, free: 1.648 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.09652, allocations: 0 / 465.6 MB, free: 1.648 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003121/0.09683, allocations: 103.9 kB / 465.7 MB, free: 1.547 MB / 334.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.001281/0.09812, allocations: 0.5961 MB / 466.3 MB, free: 1.152 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000295/0.09843, allocations: 183.3 kB / 466.4 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.09844, allocations: 0 / 466.4 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.0986, allocations: 139.4 kB / 466.6 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.09882, allocations: 15.94 kB / 466.6 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003976/0.09923, allocations: 249.1 kB / 466.8 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/0.09949, allocations: 0.6963 MB / 467.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.404e-05/0.09953, allocations: 15.44 kB / 467.6 MB, free: 15.78 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.09953, allocations: 3.938 kB / 467.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of Templates: time 0.004464/0.104, allocations: 2.95 MB / 470.5 MB, free: 12.83 MB / 350.1 MB make -j1 -f ExternData_ExternData.Examples.XLSXTest.makefile make -j1 -f ExternData_ExternData.Examples.XLSXTest.makefile clang++ -std=c++17 -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