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.001407/0.001407, allocations: 104.6 kB / 16.41 MB, free: 6.488 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.001391/0.001391, allocations: 183 kB / 17.34 MB, free: 5.734 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.316/1.316, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.01654/0.01654, allocations: 2.947 MB / 294.2 MB, free: 11.76 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001098/0.001098, allocations: 59.91 kB / 406.9 MB, free: 28.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0724/0.07351, allocations: 50.33 MB / 457.3 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSXTest): time 0.002608/0.07614, allocations: 1.669 MB / 458.9 MB, free: 8.676 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002173/0.07834, allocations: 1.709 MB / 460.6 MB, free: 6.957 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.408e-05/0.07841, allocations: 0 / 460.6 MB, free: 6.957 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.0002754/0.07869, allocations: 43.72 kB / 460.7 MB, free: 6.914 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.0004327/0.07913, allocations: 175.2 kB / 460.9 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002138/0.07936, allocations: 87.73 kB / 460.9 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.07949, allocations: 99.67 kB / 461 MB, free: 6.559 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.988e-05/0.07956, allocations: 16.16 kB / 461.1 MB, free: 6.539 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.992e-05/0.07963, allocations: 35.86 kB / 461.1 MB, free: 6.504 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.07978, allocations: 47.77 kB / 461.1 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.07981, allocations: 12 kB / 461.1 MB, free: 6.445 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003349/0.08015, allocations: 259.6 kB / 461.4 MB, free: 6.191 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.582e-05/0.0802, allocations: 23.92 kB / 461.4 MB, free: 6.168 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.817e-05/0.08026, allocations: 35.8 kB / 461.5 MB, free: 6.133 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003581/0.08062, allocations: 295.3 kB / 461.7 MB, free: 5.844 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.08063, allocations: 0 / 461.7 MB, free: 5.844 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.08064, allocations: 0 / 461.7 MB, free: 5.844 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.107e-06/0.08065, allocations: 0 / 461.7 MB, free: 5.844 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.000499/0.08115, allocations: 472.8 kB / 462.2 MB, free: 5.328 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.646e-05/0.08118, allocations: 11.89 kB / 462.2 MB, free: 5.316 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.035e-05/0.08123, allocations: 12.84 kB / 462.2 MB, free: 5.305 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.08147, allocations: 215 kB / 462.4 MB, free: 5.059 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.794e-06/0.08149, allocations: 4.375 kB / 462.4 MB, free: 5.055 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/0.08151, allocations: 8.125 kB / 462.5 MB, free: 5.047 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.08169, allocations: 95.31 kB / 462.6 MB, free: 4.941 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.08171, allocations: 3.984 kB / 462.6 MB, free: 4.938 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.08172, allocations: 8 kB / 462.6 MB, free: 4.93 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.665e-06/0.08173, allocations: 0 / 462.6 MB, free: 4.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.08186, allocations: 51.97 kB / 462.6 MB, free: 4.879 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003313/0.0822, allocations: 309.7 kB / 462.9 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.08241, allocations: 93.28 kB / 463 MB, free: 4.414 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.08252, allocations: 61.73 kB / 463.1 MB, free: 4.348 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.036e-06/0.08253, allocations: 0 / 463.1 MB, free: 4.348 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001681/0.08271, allocations: 138.7 kB / 463.2 MB, free: 4.188 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.031e-06/0.08272, allocations: 4 kB / 463.2 MB, free: 4.184 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004269/0.08315, allocations: 235.2 kB / 463.4 MB, free: 3.941 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/0.08321, allocations: 110.8 kB / 463.5 MB, free: 3.809 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.08335, allocations: 146.1 kB / 463.7 MB, free: 3.652 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.08337, allocations: 29.7 kB / 463.7 MB, free: 3.617 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.844e-05/0.08341, allocations: 92.12 kB / 463.8 MB, free: 3.523 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.678e-05/0.08345, allocations: 23.56 kB / 463.8 MB, free: 3.5 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.042e-05/0.0835, allocations: 37.7 kB / 463.9 MB, free: 3.457 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.385e-05/0.0836, allocations: 322.7 kB / 464.2 MB, free: 3.133 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.763e-05/0.08369, allocations: 39.97 kB / 464.2 MB, free: 3.094 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.118e-05/0.08378, allocations: 53.64 kB / 464.3 MB, free: 3.035 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.08396, allocations: 153 kB / 464.4 MB, free: 2.867 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.08397, allocations: 0 / 464.4 MB, free: 2.867 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002724/0.08425, allocations: 191.2 kB / 464.6 MB, free: 2.668 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.16e-05/0.08429, allocations: 37.69 kB / 464.6 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.0843, allocations: 4 kB / 464.6 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.08432, allocations: 0 / 464.6 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.743e-05/0.08438, allocations: 12 kB / 464.7 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.08439, allocations: 0 / 464.7 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.635e-05/0.08446, allocations: 15.89 kB / 464.7 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.08448, allocations: 7.938 kB / 464.7 MB, free: 2.586 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.0001124/0.0846, allocations: 164.1 kB / 464.8 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.789e-05/0.08463, allocations: 11.91 kB / 464.9 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.384e-05/0.08466, allocations: 8.719 kB / 464.9 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.08467, allocations: 4 kB / 464.9 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.08468, allocations: 0 / 464.9 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.08469, allocations: 0 / 464.9 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001629/0.08485, allocations: 209.5 kB / 465.1 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.08486, allocations: 0 / 465.1 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.018e-05/0.08492, allocations: 8 kB / 465.1 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.08493, allocations: 0 / 465.1 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.08494, allocations: 8 kB / 465.1 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.08495, allocations: 4 kB / 465.1 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.08496, allocations: 0 / 465.1 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000341/0.0853, allocations: 255.2 kB / 465.3 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.927e-05/0.08535, allocations: 81.11 kB / 465.4 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.08538, allocations: 4 kB / 465.4 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.911e-05/0.08545, allocations: 7.984 kB / 465.4 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.424e-05/0.08549, allocations: 12 kB / 465.4 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.08551, allocations: 7.938 kB / 465.5 MB, free: 1.703 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.201e-05/0.0856, allocations: 122.6 kB / 465.6 MB, free: 1.586 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.0856, allocations: 0 / 465.6 MB, free: 1.586 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003163/0.08593, allocations: 99.89 kB / 465.7 MB, free: 1.488 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.001214/0.08715, allocations: 0.5906 MB / 466.3 MB, free: 1.094 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002837/0.08744, allocations: 195.3 kB / 466.5 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.08745, allocations: 3.938 kB / 466.5 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.0876, allocations: 135.4 kB / 466.6 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002054/0.08781, allocations: 15.53 kB / 466.6 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003804/0.0882, allocations: 253.1 kB / 466.8 MB, free: 456 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/0.08845, allocations: 0.6924 MB / 467.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.921e-05/0.0885, allocations: 23.42 kB / 467.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.08851, allocations: 0 / 467.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of Templates: time 0.004394/0.09291, allocations: 2.951 MB / 470.5 MB, free: 12.76 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