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.0009256/0.0009257, allocations: 99.27 kB / 16.02 MB, free: 76 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.0009821/0.0009821, allocations: 180.9 kB / 16.92 MB, free: 6.918 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.361/1.361, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.1239/0.1239, allocations: 2.951 MB / 295 MB, free: 3.965 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002876/0.0002876, allocations: 8 kB / 357.1 MB, free: 3.387 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08217/0.08248, allocations: 51.34 MB / 408.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSXTest): time 0.001768/0.08428, allocations: 1.384 MB / 409.9 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002234/0.08653, allocations: 1.682 MB / 411.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.731e-05/0.08659, allocations: 3.938 kB / 411.5 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002255/0.08682, allocations: 31.84 kB / 411.6 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003999/0.08724, allocations: 151.5 kB / 411.7 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001911/0.08744, allocations: 67.75 kB / 411.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.08755, allocations: 71.84 kB / 411.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.32e-05/0.08763, allocations: 24.12 kB / 411.9 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.256e-05/0.0877, allocations: 39.78 kB / 411.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.08782, allocations: 35.8 kB / 412 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.08784, allocations: 4 kB / 412 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003689/0.08822, allocations: 251.6 kB / 412.2 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.83e-05/0.08828, allocations: 23.91 kB / 412.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.867e-05/0.08835, allocations: 57.5 kB / 412.3 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002764/0.08863, allocations: 203.9 kB / 412.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.08865, allocations: 0 / 412.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.08866, allocations: 0 / 412.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.08866, allocations: 3.938 kB / 412.5 MB, free: 11.95 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.0005097/0.08918, allocations: 448.9 kB / 412.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.08922, allocations: 12.03 kB / 412.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.59e-05/0.08926, allocations: 12.84 kB / 413 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/0.08946, allocations: 212.1 kB / 413.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.08949, allocations: 8.312 kB / 413.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.577e-05/0.08951, allocations: 8.125 kB / 413.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000217/0.08973, allocations: 95.38 kB / 413.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.74e-06/0.08975, allocations: 0 / 413.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.08976, allocations: 4 kB / 413.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.08977, allocations: 0 / 413.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001471/0.08992, allocations: 55.97 kB / 413.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003495/0.09028, allocations: 317.5 kB / 413.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002692/0.09056, allocations: 101.2 kB / 413.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.09068, allocations: 57.75 kB / 413.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.0907, allocations: 4 kB / 413.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002172/0.09092, allocations: 142.7 kB / 413.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.253e-06/0.09094, allocations: 0 / 413.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004391/0.09138, allocations: 235.3 kB / 414.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.705e-05/0.09149, allocations: 106.8 kB / 414.3 MB, free: 9.926 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.09162, allocations: 152.4 kB / 414.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.09165, allocations: 29.7 kB / 414.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.01e-05/0.0917, allocations: 100 kB / 414.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.09174, allocations: 23.64 kB / 414.6 MB, free: 9.605 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.02e-05/0.09177, allocations: 17.72 kB / 414.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.593e-05/0.09188, allocations: 326.7 kB / 414.9 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.705e-05/0.09197, allocations: 39.98 kB / 414.9 MB, free: 9.215 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.459e-05/0.09207, allocations: 65.62 kB / 415 MB, free: 9.145 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.09227, allocations: 153 kB / 415.2 MB, free: 8.977 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.09228, allocations: 0 / 415.2 MB, free: 8.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000336/0.09262, allocations: 195.1 kB / 415.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.253e-05/0.09267, allocations: 41.69 kB / 415.4 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/0.09268, allocations: 4 kB / 415.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.787e-06/0.09269, allocations: 336 / 415.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.172e-05/0.09276, allocations: 15.92 kB / 415.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.09277, allocations: 4 kB / 415.4 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.473e-05/0.09284, allocations: 4 kB / 415.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.006e-05/0.09287, allocations: 7.938 kB / 415.4 MB, free: 8.691 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.0001039/0.09298, allocations: 159.5 kB / 415.6 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/0.09301, allocations: 15.91 kB / 415.6 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.722e-05/0.09304, allocations: 16.7 kB / 415.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.09305, allocations: 0 / 415.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.09306, allocations: 0 / 415.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.09306, allocations: 0 / 415.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.09326, allocations: 213.4 kB / 415.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.09327, allocations: 0 / 415.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.891e-05/0.09333, allocations: 8 kB / 415.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.09335, allocations: 4 kB / 415.8 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.09336, allocations: 3.984 kB / 415.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.09337, allocations: 8 kB / 415.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.09338, allocations: 0 / 415.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003413/0.09372, allocations: 251.4 kB / 416.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.833e-05/0.09378, allocations: 93 kB / 416.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.09382, allocations: 4 kB / 416.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.287e-05/0.09389, allocations: 8 kB / 416.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.501e-05/0.09393, allocations: 11.98 kB / 416.2 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.09395, allocations: 7.938 kB / 416.2 MB, free: 7.793 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001011/0.09406, allocations: 118.3 kB / 416.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.72e-07/0.09409, allocations: 0 / 416.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003123/0.09441, allocations: 95.98 kB / 416.4 MB, free: 7.586 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.001362/0.09578, allocations: 0.5943 MB / 417 MB, free: 7.191 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003011/0.0961, allocations: 191.3 kB / 417.2 MB, free: 6.992 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.09611, allocations: 4 kB / 417.2 MB, free: 6.988 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.09627, allocations: 139.3 kB / 417.3 MB, free: 6.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.0965, allocations: 22.52 kB / 417.4 MB, free: 6.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004222/0.09694, allocations: 269.9 kB / 417.6 MB, free: 6.523 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.09717, allocations: 0.6965 MB / 418.3 MB, free: 5.801 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.554e-05/0.09722, allocations: 19.42 kB / 418.3 MB, free: 5.781 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.09722, allocations: 0 / 418.3 MB, free: 5.781 MB / 350.1 MB Notification: Performance of Templates: time 0.00469/0.1019, allocations: 2.914 MB / 421.3 MB, free: 2.871 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