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.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.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.001311/0.001311, allocations: 99.72 kB / 16.27 MB, free: 5.977 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.001282/0.001282, allocations: 189.9 kB / 17.2 MB, free: 5.602 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.487/1.487, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/package.mo): time 0.01371/0.01371, allocations: 2.943 MB / 294 MB, free: 11.89 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.00193, allocations: 59.91 kB / 355.3 MB, free: 14.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.201, allocations: 50.34 MB / 405.7 MB, free: 32.64 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSXTest): time 0.002473/0.2035, allocations: 1.663 MB / 407.3 MB, free: 30.97 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001772/0.2053, allocations: 1.701 MB / 409 MB, free: 29.26 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.699e-05/0.2054, allocations: 0 / 409 MB, free: 29.26 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/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.0002897/0.2057, allocations: 55.62 kB / 409.1 MB, free: 29.21 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/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.000404/0.2061, allocations: 171 kB / 409.3 MB, free: 29.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001937/0.2063, allocations: 95.75 kB / 409.4 MB, free: 28.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.2064, allocations: 91.72 kB / 409.4 MB, free: 28.86 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.252e-05/0.2065, allocations: 16.22 kB / 409.5 MB, free: 28.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.651e-05/0.2066, allocations: 39.84 kB / 409.5 MB, free: 28.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.2067, allocations: 35.8 kB / 409.5 MB, free: 28.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.2067, allocations: 8 kB / 409.5 MB, free: 28.76 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002928/0.207, allocations: 255.7 kB / 409.8 MB, free: 28.51 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.644e-05/0.2071, allocations: 27.84 kB / 409.8 MB, free: 28.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.605e-05/0.2072, allocations: 39.8 kB / 409.9 MB, free: 28.44 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003038/0.2075, allocations: 289.4 kB / 410.1 MB, free: 28.16 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2075, allocations: 4 kB / 410.1 MB, free: 28.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2075, allocations: 3.938 kB / 410.1 MB, free: 28.15 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.2075, allocations: 0 / 410.1 MB, free: 28.15 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.0004676/0.208, allocations: 476.8 kB / 410.6 MB, free: 27.63 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.691e-05/0.208, allocations: 8.031 kB / 410.6 MB, free: 27.62 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.611e-05/0.208, allocations: 8.844 kB / 410.6 MB, free: 27.62 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.2082, allocations: 205.1 kB / 410.8 MB, free: 27.38 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.2082, allocations: 8.375 kB / 410.8 MB, free: 27.37 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.2083, allocations: 8.125 kB / 410.8 MB, free: 27.36 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.2084, allocations: 99.3 kB / 410.9 MB, free: 27.25 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.2084, allocations: 3.938 kB / 410.9 MB, free: 27.25 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.2085, allocations: 4 kB / 411 MB, free: 27.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.2085, allocations: 4 kB / 411 MB, free: 27.24 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.2086, allocations: 43.97 kB / 411 MB, free: 27.2 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002887/0.2089, allocations: 309.7 kB / 411.3 MB, free: 26.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.2091, allocations: 101.2 kB / 411.4 MB, free: 26.73 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.512e-05/0.2092, allocations: 65.72 kB / 411.5 MB, free: 26.66 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.2092, allocations: 4 kB / 411.5 MB, free: 26.65 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001984/0.2094, allocations: 134.7 kB / 411.6 MB, free: 26.5 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.643e-06/0.2094, allocations: 0 / 411.6 MB, free: 26.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003762/0.2098, allocations: 227.2 kB / 411.8 MB, free: 26.26 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/0.2099, allocations: 110.8 kB / 411.9 MB, free: 26.13 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.268e-05/0.21, allocations: 153.8 kB / 412.1 MB, free: 25.97 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.21, allocations: 29.7 kB / 412.1 MB, free: 25.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.505e-05/0.21, allocations: 96.06 kB / 412.2 MB, free: 25.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.21, allocations: 27.77 kB / 412.2 MB, free: 25.81 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.874e-05/0.2101, allocations: 25.7 kB / 412.3 MB, free: 25.78 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.823e-05/0.2101, allocations: 330.7 kB / 412.6 MB, free: 25.45 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.245e-05/0.2102, allocations: 35.97 kB / 412.6 MB, free: 25.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.921e-05/0.2103, allocations: 57.7 kB / 412.7 MB, free: 25.35 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.2104, allocations: 149 kB / 412.8 MB, free: 25.18 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2104, allocations: 0 / 412.8 MB, free: 25.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002348/0.2107, allocations: 191.1 kB / 413 MB, free: 24.98 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.2107, allocations: 33.69 kB / 413 MB, free: 24.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2107, allocations: 4 kB / 413 MB, free: 24.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.2107, allocations: 0 / 413 MB, free: 24.94 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.679e-05/0.2108, allocations: 12 kB / 413.1 MB, free: 24.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.2108, allocations: 0 / 413.1 MB, free: 24.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.742e-05/0.2109, allocations: 19.83 kB / 413.1 MB, free: 24.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.2109, allocations: 7.938 kB / 413.1 MB, free: 24.9 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.751e-05/0.211, allocations: 159.5 kB / 413.2 MB, free: 24.73 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.211, allocations: 11.84 kB / 413.2 MB, free: 24.72 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.266e-05/0.211, allocations: 12.72 kB / 413.3 MB, free: 24.7 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.211, allocations: 4 kB / 413.3 MB, free: 24.7 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2111, allocations: 0 / 413.3 MB, free: 24.7 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2111, allocations: 8 kB / 413.3 MB, free: 24.69 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.804e-05/0.2112, allocations: 201.5 kB / 413.5 MB, free: 24.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2112, allocations: 0 / 413.5 MB, free: 24.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.531e-05/0.2112, allocations: 8 kB / 413.5 MB, free: 24.44 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2112, allocations: 4 kB / 413.5 MB, free: 24.43 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.2112, allocations: 0 / 413.5 MB, free: 24.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.2113, allocations: 4 kB / 413.5 MB, free: 24.43 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2113, allocations: 0 / 413.5 MB, free: 24.43 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002732/0.2115, allocations: 259.4 kB / 413.7 MB, free: 24.15 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.469e-05/0.2116, allocations: 96.89 kB / 413.8 MB, free: 24.04 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.2116, allocations: 4 kB / 413.8 MB, free: 24.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.814e-05/0.2117, allocations: 7.984 kB / 413.8 MB, free: 24.02 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.357e-05/0.2117, allocations: 8 kB / 413.8 MB, free: 24.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.2117, allocations: 7.938 kB / 413.9 MB, free: 24.01 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.618e-05/0.2118, allocations: 115.2 kB / 414 MB, free: 23.89 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2118, allocations: 4 kB / 414 MB, free: 23.89 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003012/0.2121, allocations: 91.98 kB / 414.1 MB, free: 23.8 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.001841/0.214, allocations: 0.5797 MB / 414.6 MB, free: 23.39 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002652/0.2143, allocations: 187.3 kB / 414.8 MB, free: 23.2 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2143, allocations: 4 kB / 414.8 MB, free: 23.2 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.2144, allocations: 135.4 kB / 415 MB, free: 23.05 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.2146, allocations: 23.3 kB / 415 MB, free: 23.03 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003538/0.215, allocations: 260.9 kB / 415.2 MB, free: 22.74 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.416e-05/0.2151, allocations: 0.6963 MB / 415.9 MB, free: 22.02 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.28e-05/0.2151, allocations: 15.42 kB / 416 MB, free: 22 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2151, allocations: 0 / 416 MB, free: 22 MB / 302.1 MB Notification: Performance of Templates: time 0.004158/0.2193, allocations: 2.938 MB / 418.9 MB, free: 19.07 MB / 302.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.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.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