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.00104/0.00104, allocations: 104.3 kB / 16.41 MB, free: 6.41 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.001028/0.001028, allocations: 189.7 kB / 17.34 MB, free: 5.699 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.287/1.287, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.01307/0.01307, allocations: 2.953 MB / 294.2 MB, free: 11.77 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 63.89 kB / 406.9 MB, free: 28.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08762/0.08882, allocations: 50.33 MB / 457.3 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSTest): time 0.003226/0.09209, allocations: 1.669 MB / 458.9 MB, free: 8.688 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002666/0.09478, allocations: 1.72 MB / 460.7 MB, free: 6.957 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.009e-05/0.0949, allocations: 0 / 460.7 MB, free: 6.957 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.0003461/0.09525, allocations: 51.72 kB / 460.7 MB, free: 6.906 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.0005933/0.09585, allocations: 167.3 kB / 460.9 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002617/0.09613, allocations: 91.77 kB / 461 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.0963, allocations: 91.7 kB / 461.1 MB, free: 6.562 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.195e-05/0.0964, allocations: 27.84 kB / 461.1 MB, free: 6.535 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.512e-05/0.0965, allocations: 43.78 kB / 461.1 MB, free: 6.492 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001724/0.09668, allocations: 43.83 kB / 461.2 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.09671, allocations: 4 kB / 461.2 MB, free: 6.445 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000425/0.09714, allocations: 267.7 kB / 461.4 MB, free: 6.184 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.592e-05/0.0972, allocations: 23.91 kB / 461.5 MB, free: 6.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.506e-05/0.09728, allocations: 43.73 kB / 461.5 MB, free: 6.117 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004992/0.09778, allocations: 299.3 kB / 461.8 MB, free: 5.824 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.0978, allocations: 4 kB / 461.8 MB, free: 5.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.0978, allocations: 0 / 461.8 MB, free: 5.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.09781, allocations: 0 / 461.8 MB, free: 5.82 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.0006207/0.09844, allocations: 484.8 kB / 462.3 MB, free: 5.293 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.09848, allocations: 11.89 kB / 462.3 MB, free: 5.281 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.649e-05/0.09855, allocations: 12.75 kB / 462.3 MB, free: 5.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003007/0.09885, allocations: 215.5 kB / 462.5 MB, free: 5.023 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.09887, allocations: 4.375 kB / 462.5 MB, free: 5.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.0989, allocations: 12.12 kB / 462.5 MB, free: 5.008 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.09911, allocations: 87.38 kB / 462.6 MB, free: 4.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.09913, allocations: 0 / 462.6 MB, free: 4.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.09915, allocations: 4 kB / 462.6 MB, free: 4.906 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.09916, allocations: 0 / 462.6 MB, free: 4.906 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.09931, allocations: 63.89 kB / 462.7 MB, free: 4.844 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004009/0.09972, allocations: 305.6 kB / 463 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.09996, allocations: 97.22 kB / 463.1 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.1001, allocations: 65.73 kB / 463.1 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.1001, allocations: 3.984 kB / 463.1 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002047/0.1003, allocations: 138.7 kB / 463.3 MB, free: 4.145 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.1003, allocations: 0 / 463.3 MB, free: 4.145 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004617/0.1008, allocations: 231.4 kB / 463.5 MB, free: 3.906 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.309e-05/0.1009, allocations: 114.7 kB / 463.6 MB, free: 3.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.101, allocations: 152.3 kB / 463.8 MB, free: 3.613 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.101, allocations: 25.7 kB / 463.8 MB, free: 3.582 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.623e-05/0.1011, allocations: 100 kB / 463.9 MB, free: 3.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.1011, allocations: 23.66 kB / 463.9 MB, free: 3.457 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.835e-05/0.1012, allocations: 25.7 kB / 463.9 MB, free: 3.426 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.1013, allocations: 326.8 kB / 464.2 MB, free: 3.098 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.354e-05/0.1014, allocations: 35.98 kB / 464.3 MB, free: 3.062 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.029e-05/0.1015, allocations: 61.62 kB / 464.3 MB, free: 2.996 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002111/0.1017, allocations: 153 kB / 464.5 MB, free: 2.828 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1017, allocations: 0 / 464.5 MB, free: 2.828 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000301/0.102, allocations: 187.1 kB / 464.7 MB, free: 2.633 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.766e-05/0.1021, allocations: 37.69 kB / 464.7 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1021, allocations: 8.328 kB / 464.7 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.1021, allocations: 0 / 464.7 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.16e-05/0.1022, allocations: 8 kB / 464.7 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.1022, allocations: 3.984 kB / 464.7 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.953e-05/0.1023, allocations: 11.94 kB / 464.7 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.1023, allocations: 4 kB / 464.7 MB, free: 2.555 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.0001263/0.1024, allocations: 164.1 kB / 464.9 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.859e-05/0.1025, allocations: 7.906 kB / 464.9 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.034e-05/0.1025, allocations: 12.72 kB / 464.9 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1025, allocations: 4 kB / 464.9 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.1025, allocations: 4 kB / 464.9 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.1025, allocations: 11.86 kB / 464.9 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.1027, allocations: 209.5 kB / 465.1 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.1027, allocations: 0 / 465.1 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.383e-05/0.1028, allocations: 11.94 kB / 465.2 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1028, allocations: 0 / 465.2 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.1028, allocations: 7.984 kB / 465.2 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1028, allocations: 0 / 465.2 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.1028, allocations: 0 / 465.2 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003476/0.1032, allocations: 243.5 kB / 465.4 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.069e-05/0.1032, allocations: 85.02 kB / 465.5 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.248e-05/0.1033, allocations: 8 kB / 465.5 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.099e-05/0.1033, allocations: 7.984 kB / 465.5 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/0.1034, allocations: 7.938 kB / 465.5 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-05/0.1034, allocations: 11.98 kB / 465.5 MB, free: 1.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.593e-05/0.1035, allocations: 122.2 kB / 465.6 MB, free: 1.543 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1035, allocations: 3.938 kB / 465.6 MB, free: 1.539 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000354/0.1039, allocations: 103.8 kB / 465.7 MB, free: 1.438 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.0009866/0.1049, allocations: 464.2 kB / 466.2 MB, free: 1.109 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003037/0.1052, allocations: 183.4 kB / 466.4 MB, free: 0.918 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1052, allocations: 4 kB / 466.4 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.1054, allocations: 135.3 kB / 466.5 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.1056, allocations: 19.92 kB / 466.5 MB, free: 0.75 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004329/0.1061, allocations: 257 kB / 466.8 MB, free: 472 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.1063, allocations: 0.7001 MB / 467.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.016e-05/0.1064, allocations: 23.38 kB / 467.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1064, allocations: 0 / 467.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of Templates: time 0.005179/0.1115, allocations: 2.971 MB / 470.5 MB, free: 12.74 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