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.0009485/0.0009485, allocations: 98.88 kB / 16.02 MB, free: 72 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.001017/0.001016, allocations: 181.5 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.317/1.317, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.1157/0.1157, allocations: 2.964 MB / 295 MB, free: 3.98 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003262/0.0003262, allocations: 8 kB / 357.1 MB, free: 3.371 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07946/0.07981, allocations: 51.34 MB / 408.5 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSTest): time 0.001805/0.08162, allocations: 1.392 MB / 409.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002236/0.08387, allocations: 1.689 MB / 411.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.46e-05/0.08395, allocations: 0 / 411.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002661/0.08422, allocations: 39.83 kB / 411.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000404/0.08464, allocations: 151.4 kB / 411.7 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002061/0.08485, allocations: 63.88 kB / 411.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000108/0.08497, allocations: 71.84 kB / 411.9 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.08509, allocations: 35.88 kB / 411.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.38e-05/0.08517, allocations: 31.86 kB / 411.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.0853, allocations: 43.7 kB / 412 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.08533, allocations: 4 kB / 412 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003523/0.08568, allocations: 255.6 kB / 412.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.012e-05/0.08574, allocations: 19.92 kB / 412.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.84e-05/0.08582, allocations: 49.52 kB / 412.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003147/0.08616, allocations: 219.8 kB / 412.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.08617, allocations: 4 kB / 412.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.71e-07/0.08618, allocations: 0 / 412.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.08619, allocations: 4 kB / 412.5 MB, free: 11.9 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.0005342/0.08673, allocations: 456.9 kB / 413 MB, free: 11.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.955e-05/0.08677, allocations: 8.031 kB / 413 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.899e-05/0.08681, allocations: 8.844 kB / 413 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.08701, allocations: 212 kB / 413.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.08704, allocations: 4.375 kB / 413.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.113e-05/0.08707, allocations: 16.11 kB / 413.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.08727, allocations: 95.38 kB / 413.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.08729, allocations: 0 / 413.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.0873, allocations: 0 / 413.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.08731, allocations: 0 / 413.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.08745, allocations: 59.91 kB / 413.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003994/0.08786, allocations: 313.7 kB / 413.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002253/0.0881, allocations: 97.12 kB / 413.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.08823, allocations: 65.83 kB / 413.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.358e-06/0.08825, allocations: 4 kB / 413.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002379/0.0885, allocations: 138.7 kB / 414 MB, free: 10.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.08851, allocations: 0 / 414 MB, free: 10.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.00044/0.08895, allocations: 235.2 kB / 414.2 MB, free: 10 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/0.08902, allocations: 110.8 kB / 414.3 MB, free: 9.871 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.08916, allocations: 155.2 kB / 414.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.08919, allocations: 29.7 kB / 414.5 MB, free: 9.676 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.025e-05/0.08924, allocations: 92.12 kB / 414.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.977e-05/0.08931, allocations: 27.56 kB / 414.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.999e-05/0.08935, allocations: 25.7 kB / 414.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.08946, allocations: 330.8 kB / 415 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.572e-05/0.08955, allocations: 35.98 kB / 415 MB, free: 9.156 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.855e-05/0.08965, allocations: 53.69 kB / 415.1 MB, free: 9.098 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000195/0.08986, allocations: 161 kB / 415.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.676e-06/0.08987, allocations: 4 kB / 415.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003256/0.0902, allocations: 183.2 kB / 415.4 MB, free: 8.727 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.318e-05/0.09025, allocations: 41.69 kB / 415.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.09026, allocations: 336 / 415.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.268e-06/0.09028, allocations: 4 kB / 415.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.328e-05/0.09034, allocations: 11.98 kB / 415.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.09036, allocations: 4 kB / 415.5 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.195e-05/0.09044, allocations: 19.84 kB / 415.5 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.09045, allocations: 4 kB / 415.5 MB, free: 8.637 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.0001134/0.09057, allocations: 163.6 kB / 415.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.626e-05/0.09061, allocations: 11.91 kB / 415.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.591e-05/0.09064, allocations: 12.7 kB / 415.7 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.09065, allocations: 4 kB / 415.7 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.09065, allocations: 0 / 415.7 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.09066, allocations: 3.938 kB / 415.7 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.09082, allocations: 205.5 kB / 415.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.09083, allocations: 0 / 415.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.535e-05/0.09089, allocations: 11.94 kB / 415.9 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.0909, allocations: 7.984 kB / 415.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.09092, allocations: 0 / 415.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.09093, allocations: 7.938 kB / 415.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.09093, allocations: 0 / 415.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003872/0.09132, allocations: 251.4 kB / 416.1 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.43e-05/0.09139, allocations: 93 kB / 416.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/0.09142, allocations: 4 kB / 416.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.375e-05/0.09149, allocations: 4 kB / 416.2 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.051e-05/0.09154, allocations: 19.86 kB / 416.3 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.09156, allocations: 4 kB / 416.3 MB, free: 7.738 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.799e-05/0.09165, allocations: 125.3 kB / 416.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09166, allocations: 0 / 416.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000334/0.092, allocations: 91.98 kB / 416.5 MB, free: 7.527 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.0009398/0.09295, allocations: 477.7 kB / 416.9 MB, free: 7.184 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003084/0.09327, allocations: 195.3 kB / 417.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.09328, allocations: 3.938 kB / 417.1 MB, free: 6.977 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.09344, allocations: 139.4 kB / 417.3 MB, free: 6.828 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.0937, allocations: 22.73 kB / 417.3 MB, free: 6.809 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004045/0.09411, allocations: 269.6 kB / 417.6 MB, free: 6.508 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002336/0.09436, allocations: 0.7043 MB / 418.3 MB, free: 5.777 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.637e-05/0.0944, allocations: 19.38 kB / 418.3 MB, free: 5.758 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.09441, allocations: 0 / 418.3 MB, free: 5.758 MB / 350.1 MB Notification: Performance of Templates: time 0.004959/0.09937, allocations: 2.935 MB / 421.2 MB, free: 2.832 MB / 350.1 MB make -j1 -f ExternData_ExternData.Examples.XLSTest.makefile make -j1 -f ExternData_ExternData.Examples.XLSTest.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.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