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.5/package.mo", uses=false) Using package ExternData with version 3.0.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/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.001341/0.001341, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001392/0.001392, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.424/1.424, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/package.mo): time 0.01394/0.01394, allocations: 2.967 MB / 294 MB, free: 11.84 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 67.89 kB / 355.3 MB, free: 14.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2122, allocations: 50.34 MB / 405.7 MB, free: 32.62 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSTest): time 0.002562/0.2148, allocations: 1.683 MB / 407.4 MB, free: 30.94 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001912/0.2168, allocations: 1.72 MB / 409.1 MB, free: 29.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.176e-05/0.2169, allocations: 0 / 409.1 MB, free: 29.21 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/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.0003157/0.2172, allocations: 43.78 kB / 409.1 MB, free: 29.17 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/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.0004248/0.2176, allocations: 175.9 kB / 409.3 MB, free: 29 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002031/0.2178, allocations: 87.67 kB / 409.4 MB, free: 28.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.218, allocations: 95.69 kB / 409.5 MB, free: 28.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.094e-05/0.218, allocations: 12 kB / 409.5 MB, free: 28.81 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.707e-05/0.2181, allocations: 39.86 kB / 409.5 MB, free: 28.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.2183, allocations: 43.77 kB / 409.6 MB, free: 28.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.2183, allocations: 8 kB / 409.6 MB, free: 28.72 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003098/0.2186, allocations: 267.6 kB / 409.8 MB, free: 28.46 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.757e-05/0.2187, allocations: 19.92 kB / 409.8 MB, free: 28.44 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.918e-05/0.2187, allocations: 39.8 kB / 409.9 MB, free: 28.4 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003342/0.2191, allocations: 309.2 kB / 410.2 MB, free: 28.1 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2191, allocations: 0 / 410.2 MB, free: 28.1 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2191, allocations: 3.938 kB / 410.2 MB, free: 28.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.2191, allocations: 4 kB / 410.2 MB, free: 28.09 MB / 302.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.0004739/0.2196, allocations: 476.8 kB / 410.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.2196, allocations: 11.89 kB / 410.7 MB, free: 27.56 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.572e-05/0.2197, allocations: 8.844 kB / 410.7 MB, free: 27.55 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.2198, allocations: 208.1 kB / 410.9 MB, free: 27.31 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.2199, allocations: 4.375 kB / 410.9 MB, free: 27.3 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.2199, allocations: 8.125 kB / 410.9 MB, free: 27.3 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.2201, allocations: 103.3 kB / 411 MB, free: 27.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.2201, allocations: 0 / 411 MB, free: 27.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.2201, allocations: 3.984 kB / 411 MB, free: 27.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.2201, allocations: 4 kB / 411 MB, free: 27.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.2202, allocations: 47.97 kB / 411.1 MB, free: 27.13 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003115/0.2206, allocations: 313.7 kB / 411.4 MB, free: 26.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002092/0.2208, allocations: 93.28 kB / 411.4 MB, free: 26.66 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.412e-05/0.2209, allocations: 61.73 kB / 411.5 MB, free: 26.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.2209, allocations: 3.938 kB / 411.5 MB, free: 26.59 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002522/0.2212, allocations: 138.7 kB / 411.6 MB, free: 26.43 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.433e-06/0.2212, allocations: 0 / 411.6 MB, free: 26.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003863/0.2216, allocations: 231.3 kB / 411.9 MB, free: 26.19 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.2216, allocations: 110.8 kB / 412 MB, free: 26.06 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.712e-05/0.2217, allocations: 155.7 kB / 412.1 MB, free: 25.9 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.2217, allocations: 29.7 kB / 412.2 MB, free: 25.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.904e-05/0.2218, allocations: 100.1 kB / 412.3 MB, free: 25.76 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.2218, allocations: 27.56 kB / 412.3 MB, free: 25.73 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.881e-05/0.2218, allocations: 25.7 kB / 412.3 MB, free: 25.7 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.405e-05/0.2219, allocations: 330.8 kB / 412.6 MB, free: 25.37 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.078e-05/0.222, allocations: 35.98 kB / 412.7 MB, free: 25.34 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.804e-05/0.2221, allocations: 53.62 kB / 412.7 MB, free: 25.28 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.2222, allocations: 153.1 kB / 412.9 MB, free: 25.11 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2222, allocations: 4 kB / 412.9 MB, free: 25.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002358/0.2224, allocations: 191 kB / 413.1 MB, free: 24.91 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.827e-05/0.2225, allocations: 37.69 kB / 413.1 MB, free: 24.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.2225, allocations: 4 kB / 413.1 MB, free: 24.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.2225, allocations: 0 / 413.1 MB, free: 24.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.886e-05/0.2226, allocations: 11.98 kB / 413.1 MB, free: 24.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.2226, allocations: 0 / 413.1 MB, free: 24.85 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.687e-05/0.2227, allocations: 19.88 kB / 413.1 MB, free: 24.83 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.2227, allocations: 4 kB / 413.1 MB, free: 24.82 MB / 302.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 7.907e-05/0.2228, allocations: 159.5 kB / 413.3 MB, free: 24.65 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.603e-05/0.2228, allocations: 7.906 kB / 413.3 MB, free: 24.64 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.459e-05/0.2228, allocations: 12.72 kB / 413.3 MB, free: 24.63 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.2228, allocations: 3.984 kB / 413.3 MB, free: 24.62 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2228, allocations: 0 / 413.3 MB, free: 24.62 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.2229, allocations: 8.266 kB / 413.3 MB, free: 24.62 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.223, allocations: 201.5 kB / 413.5 MB, free: 24.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.223, allocations: 8 kB / 413.5 MB, free: 24.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.661e-05/0.223, allocations: 8 kB / 413.5 MB, free: 24.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.223, allocations: 0 / 413.5 MB, free: 24.36 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.2231, allocations: 7.984 kB / 413.5 MB, free: 24.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2231, allocations: 0 / 413.5 MB, free: 24.35 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2231, allocations: 3.984 kB / 413.6 MB, free: 24.34 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/0.2233, allocations: 251.4 kB / 413.8 MB, free: 24.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.657e-05/0.2234, allocations: 88.95 kB / 413.9 MB, free: 23.96 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.259e-05/0.2234, allocations: 11.98 kB / 413.9 MB, free: 23.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.797e-05/0.2235, allocations: 4 kB / 413.9 MB, free: 23.95 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.2235, allocations: 7.938 kB / 413.9 MB, free: 23.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.2236, allocations: 11.98 kB / 413.9 MB, free: 23.93 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.255e-05/0.2236, allocations: 117.3 kB / 414 MB, free: 23.82 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2236, allocations: 0 / 414 MB, free: 23.82 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003317/0.224, allocations: 91.97 kB / 414.1 MB, free: 23.73 MB / 302.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.001225/0.2252, allocations: 467.5 kB / 414.6 MB, free: 23.37 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002754/0.2255, allocations: 199.3 kB / 414.8 MB, free: 23.16 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2255, allocations: 0 / 414.8 MB, free: 23.16 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.2256, allocations: 139.6 kB / 414.9 MB, free: 23.02 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.2259, allocations: 12 kB / 414.9 MB, free: 23 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003863/0.2263, allocations: 261.2 kB / 415.2 MB, free: 22.71 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.431e-05/0.2264, allocations: 0.7001 MB / 415.9 MB, free: 21.99 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.365e-05/0.2264, allocations: 15.44 kB / 415.9 MB, free: 21.97 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2264, allocations: 0 / 415.9 MB, free: 21.97 MB / 302.1 MB Notification: Performance of Templates: time 0.004373/0.2308, allocations: 2.95 MB / 418.8 MB, free: 19.03 MB / 302.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.5/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.5/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