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.001028/0.001033, allocations: 110.8 kB / 16.41 MB, free: 6.496 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.001027/0.001027, allocations: 183 kB / 17.34 MB, free: 5.766 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.286/1.286, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.013/0.013, allocations: 2.959 MB / 294.2 MB, free: 11.78 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 59.91 kB / 406.9 MB, free: 28.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07924/0.08044, allocations: 50.34 MB / 457.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSTest): time 0.003103/0.08358, allocations: 1.673 MB / 458.9 MB, free: 8.699 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002525/0.08614, allocations: 1.724 MB / 460.7 MB, free: 6.965 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.85e-05/0.08624, allocations: 4 kB / 460.7 MB, free: 6.961 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo:191:3-219:14:writable] Warning: Pure function 'ExternData.XLSFile' contains a call to impure function 'ExternData.Types.ExternXLSFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0003365/0.08658, allocations: 43.72 kB / 460.7 MB, free: 6.918 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/Examples/package.mo:101:5-121:22:writable] Warning: Pure function 'ExternData.Examples.XLSTest.computeColSum' contains a call to impure function 'ExternData.Types.ExternXLSFile.constructor'. Notification: Performance of NFTyping.typeBindings: time 0.0005149/0.08711, allocations: 167.3 kB / 460.9 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002356/0.08735, allocations: 91.77 kB / 461 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.0875, allocations: 99.69 kB / 461.1 MB, free: 6.566 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.293e-05/0.0876, allocations: 11.94 kB / 461.1 MB, free: 6.555 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.465e-05/0.08768, allocations: 47.78 kB / 461.1 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001494/0.08783, allocations: 39.83 kB / 461.2 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.08787, allocations: 8 kB / 461.2 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003876/0.08826, allocations: 271.6 kB / 461.4 MB, free: 6.195 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.494e-05/0.08832, allocations: 19.92 kB / 461.5 MB, free: 6.176 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.056e-05/0.08839, allocations: 43.73 kB / 461.5 MB, free: 6.133 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004611/0.08886, allocations: 299.3 kB / 461.8 MB, free: 5.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.08887, allocations: 0 / 461.8 MB, free: 5.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.08888, allocations: 4 kB / 461.8 MB, free: 5.836 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.972e-06/0.08889, allocations: 0 / 461.8 MB, free: 5.836 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.0005978/0.08949, allocations: 480.8 kB / 462.3 MB, free: 5.312 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.08953, allocations: 11.89 kB / 462.3 MB, free: 5.301 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.328e-05/0.08959, allocations: 20.73 kB / 462.3 MB, free: 5.281 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000265/0.08986, allocations: 208.1 kB / 462.5 MB, free: 5.039 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.08988, allocations: 384 / 462.5 MB, free: 5.039 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.0899, allocations: 8.125 kB / 462.5 MB, free: 5.031 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.09011, allocations: 103.3 kB / 462.6 MB, free: 4.918 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.09012, allocations: 0 / 462.6 MB, free: 4.918 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.09014, allocations: 0 / 462.6 MB, free: 4.918 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.09015, allocations: 0 / 462.6 MB, free: 4.918 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.09028, allocations: 59.89 kB / 462.7 MB, free: 4.859 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003711/0.09066, allocations: 309.6 kB / 463 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.0909, allocations: 105.2 kB / 463.1 MB, free: 4.383 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.509e-05/0.09101, allocations: 53.91 kB / 463.1 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.515e-06/0.09102, allocations: 0 / 463.1 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001996/0.09123, allocations: 150.6 kB / 463.3 MB, free: 4.152 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.09124, allocations: 0 / 463.3 MB, free: 4.152 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004454/0.09169, allocations: 223.2 kB / 463.5 MB, free: 3.922 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/0.09176, allocations: 110.8 kB / 463.6 MB, free: 3.789 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.09191, allocations: 149.8 kB / 463.7 MB, free: 3.633 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.09193, allocations: 37.7 kB / 463.8 MB, free: 3.59 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.593e-05/0.092, allocations: 96.05 kB / 463.9 MB, free: 3.492 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.254e-05/0.09203, allocations: 23.64 kB / 463.9 MB, free: 3.469 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.868e-05/0.09209, allocations: 29.7 kB / 463.9 MB, free: 3.434 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.09221, allocations: 318.8 kB / 464.2 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.465e-05/0.0923, allocations: 39.97 kB / 464.3 MB, free: 3.074 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.046e-05/0.0924, allocations: 49.7 kB / 464.3 MB, free: 3.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/0.09259, allocations: 153 kB / 464.5 MB, free: 2.852 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.0926, allocations: 0 / 464.5 MB, free: 2.852 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000297/0.0929, allocations: 191.1 kB / 464.7 MB, free: 2.652 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.62e-05/0.09295, allocations: 37.69 kB / 464.7 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.09296, allocations: 0 / 464.7 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.09297, allocations: 0 / 464.7 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.976e-05/0.09304, allocations: 15.94 kB / 464.7 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.09306, allocations: 0 / 464.7 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.093e-05/0.09313, allocations: 19.92 kB / 464.7 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.09315, allocations: 4 kB / 464.7 MB, free: 2.57 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.0001116/0.09327, allocations: 160.1 kB / 464.9 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.954e-05/0.0933, allocations: 11.91 kB / 464.9 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.557e-05/0.09333, allocations: 12.72 kB / 464.9 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.09334, allocations: 0 / 464.9 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/0.09336, allocations: 0 / 464.9 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.09337, allocations: 7.875 kB / 464.9 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001711/0.09354, allocations: 205.5 kB / 465.1 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.09356, allocations: 8 kB / 465.1 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.248e-05/0.09361, allocations: 11.94 kB / 465.1 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.09362, allocations: 0 / 465.1 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.09364, allocations: 8 kB / 465.2 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.09365, allocations: 0 / 465.2 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.09365, allocations: 4 kB / 465.2 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003445/0.094, allocations: 243.5 kB / 465.4 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.467e-05/0.09406, allocations: 89.02 kB / 465.5 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.689e-05/0.09409, allocations: 0 / 465.5 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.416e-05/0.09416, allocations: 15.98 kB / 465.5 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/0.09421, allocations: 3.938 kB / 465.5 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.09423, allocations: 8.266 kB / 465.5 MB, free: 1.684 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.472e-05/0.09433, allocations: 126.4 kB / 465.6 MB, free: 1.562 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.09434, allocations: 0 / 465.6 MB, free: 1.562 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003412/0.09468, allocations: 95.92 kB / 465.7 MB, free: 1.469 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.0009572/0.09565, allocations: 482 kB / 466.2 MB, free: 1.125 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003041/0.09596, allocations: 191.3 kB / 466.4 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.09597, allocations: 0 / 466.4 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000145/0.09612, allocations: 139.4 kB / 466.5 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.09636, allocations: 15.98 kB / 466.5 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004322/0.0968, allocations: 253 kB / 466.8 MB, free: 488 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.09708, allocations: 0.704 MB / 467.5 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.76e-05/0.09713, allocations: 19.42 kB / 467.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.09713, allocations: 0 / 467.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of Templates: time 0.005025/0.1022, allocations: 2.974 MB / 470.5 MB, free: 12.75 MB / 350.1 MB make -j1 -f ExternData_ExternData.Examples.XLSTest.makefile make -j1 -f ExternData_ExternData.Examples.XLSTest.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.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