Running command: translateModel(Modelica.Electrical.Batteries.Examples.CCCV_Cell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=24000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Batteries.Examples.CCCV_Cell") Notification: Performance of loadModel(Modelica): time 2.216/2.216, allocations: 224.8 MB / 241.1 MB, free: 1.672 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.796e-05/3.8e-05, allocations: 4 kB / 294.6 MB, free: 11.38 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1113, allocations: 50.42 MB / 345 MB, free: 8.922 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCV_Cell): time 0.007519/0.1189, allocations: 4.381 MB / 349.4 MB, free: 4.516 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003622/0.1226, allocations: 1.467 MB / 350.8 MB, free: 3.047 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005154/0.1231, allocations: 23.94 kB / 350.9 MB, free: 3.023 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00147/0.1246, allocations: 0.6155 MB / 351.5 MB, free: 2.406 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008309/0.1255, allocations: 191.4 kB / 351.7 MB, free: 2.219 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001033/0.1266, allocations: 243.5 kB / 351.9 MB, free: 1.98 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001329/0.1279, allocations: 495.9 kB / 352.4 MB, free: 1.496 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000476/0.1284, allocations: 186.1 kB / 352.6 MB, free: 1.312 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005086/0.1289, allocations: 227.4 kB / 352.8 MB, free: 1.09 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004056/0.1294, allocations: 227.1 kB / 353 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002539/0.1296, allocations: 51.92 kB / 353.1 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.1297, allocations: 24 kB / 353.1 MB, free: 0.793 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006156/0.1304, allocations: 0.5337 MB / 353.6 MB, free: 264 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003002/0.1307, allocations: 80 kB / 353.7 MB, free: 184 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002455/0.1331, allocations: 1.703 MB / 355.4 MB, free: 14.47 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1332, allocations: 0 / 355.4 MB, free: 14.47 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.1332, allocations: 4 kB / 355.4 MB, free: 14.47 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.512e-05/0.1333, allocations: 0 / 355.4 MB, free: 14.47 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.0031/0.1364, allocations: 1.402 MB / 356.8 MB, free: 13.01 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.985e-05/0.1365, allocations: 8.031 kB / 356.8 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005683/0.1371, allocations: 189.7 kB / 357 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003841/0.1409, allocations: 1.397 MB / 358.4 MB, free: 11.38 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003785/0.1414, allocations: 98.66 kB / 358.5 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.1415, allocations: 48 kB / 358.5 MB, free: 11.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001739/0.1432, allocations: 0.5893 MB / 359.1 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.1433, allocations: 3.938 kB / 359.1 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.086e-05/0.1434, allocations: 20 kB / 359.1 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/0.1434, allocations: 12 kB / 359.2 MB, free: 10.56 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/0.1447, allocations: 355.8 kB / 359.5 MB, free: 10.21 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00766/0.1524, allocations: 3.293 MB / 362.8 MB, free: 6.801 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002113/0.1545, allocations: 411.2 kB / 363.2 MB, free: 6.391 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.155e-05/0.1546, allocations: 192 / 363.2 MB, free: 6.391 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.401e-05/0.1547, allocations: 46.67 kB / 363.2 MB, free: 6.336 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.844e-06/0.1547, allocations: 0 / 363.2 MB, free: 6.336 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.003767/0.1585, allocations: 0.8138 MB / 364.1 MB, free: 5.496 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001227/0.1586, allocations: 209.6 kB / 364.3 MB, free: 5.242 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00648/0.1651, allocations: 2.66 MB / 366.9 MB, free: 2.543 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.218e-05/0.1653, allocations: 33.7 kB / 367 MB, free: 2.504 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009555/0.1662, allocations: 0.6621 MB / 367.6 MB, free: 1.836 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.1664, allocations: 74.91 kB / 367.7 MB, free: 1.762 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.944e-05/0.1664, allocations: 11.94 kB / 367.7 MB, free: 1.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.1666, allocations: 322.8 kB / 368 MB, free: 1.426 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006451/0.1672, allocations: 136.6 kB / 368.2 MB, free: 1.293 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007474/0.168, allocations: 300 kB / 368.4 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006786/0.1687, allocations: 151.9 kB / 368.6 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.1687, allocations: 0 / 368.6 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.002078/0.1708, allocations: 0.5118 MB / 369.1 MB, free: 272 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.1709, allocations: 4 kB / 369.1 MB, free: 268 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.1709, allocations: 4 kB / 369.1 MB, free: 264 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005003/0.1714, allocations: 88.73 kB / 369.2 MB, free: 172 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005194/0.1719, allocations: 79.95 kB / 369.3 MB, free: 92 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00302/0.175, allocations: 1.81 MB / 371.1 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/0.1761, allocations: 67.69 kB / 371.2 MB, free: 14.08 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.299e-05/0.1762, allocations: 20 kB / 371.2 MB, free: 14.06 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (cccvCharger.CV,energy.local_reset,cell.limIntegrator.local_reset,cell.cell.limIntegrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.001426/0.1776, allocations: 0.5679 MB / 371.7 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00048/0.1781, allocations: 165.9 kB / 371.9 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002314/0.1804, allocations: 0.5907 MB / 372.5 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.1805, allocations: 0 / 372.5 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1805, allocations: 0 / 372.5 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.1805, allocations: 4 kB / 372.5 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002185/0.1827, allocations: 1.066 MB / 373.6 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/0.1828, allocations: 4 kB / 373.6 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004534/0.1832, allocations: 39.97 kB / 373.6 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004085/0.1836, allocations: 80.95 kB / 373.7 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.832e-05/0.1837, allocations: 4 kB / 373.7 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002931/0.1866, allocations: 1.81 MB / 375.5 MB, free: 9.512 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.1867, allocations: 0 / 375.5 MB, free: 9.512 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002966/0.1897, allocations: 0.7844 MB / 376.3 MB, free: 8.703 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001165/0.1909, allocations: 390.8 kB / 376.7 MB, free: 8.301 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000288/0.1912, allocations: 11.98 kB / 376.7 MB, free: 8.289 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008391/0.192, allocations: 55.95 kB / 376.7 MB, free: 8.234 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/0.1922, allocations: 27.95 kB / 376.8 MB, free: 8.207 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.877e-05/0.1922, allocations: 4 kB / 376.8 MB, free: 8.203 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.004778/0.197, allocations: 2.067 MB / 378.8 MB, free: 6.113 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.1971, allocations: 3.938 kB / 378.8 MB, free: 6.109 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001256/0.1983, allocations: 207.7 kB / 379 MB, free: 5.906 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (cell.cell.limIntegrator.y,cell.limIntegrator.y,energy.y) * Number of discrete variables: 1 (cccvCharger.CV) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001042/0.1994, allocations: 349.6 kB / 379.4 MB, free: 5.652 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001876/0.2013, allocations: 485.4 kB / 379.9 MB, free: 5.168 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.2013, allocations: 0 / 379.9 MB, free: 5.168 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009805/0.2023, allocations: 311 kB / 380.2 MB, free: 4.852 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001599/0.2039, allocations: 208.5 kB / 380.4 MB, free: 4.648 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009586/0.2135, allocations: 3.475 MB / 383.8 MB, free: 1.133 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001582/0.2152, allocations: 1.382 MB / 385.2 MB, free: 15.72 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005165/0.2157, allocations: 75.44 kB / 385.3 MB, free: 15.65 MB / 330.7 MB Notification: Performance of SimCode: time 1.262e-06/0.2157, allocations: 0 / 385.3 MB, free: 15.65 MB / 330.7 MB Notification: Performance of Templates: time 0.3267/0.5424, allocations: 23.55 MB / 408.8 MB, free: 49.32 MB / 330.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Batteries.Examples.CCCV_Cell.makefile clang++ -fopenmp=libomp -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -DENABLE_OMSI -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/base" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/solver" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/" -I. "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_trunk_cpp_Modelica.Electrical.Batteries.Examples.CCCV_CellCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Electrical.Batteries.Examples.CCCV_CellCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Electrical.Batteries.Examples.CCCV_CellCalcHelperMain.cpp:29: ./OMCppModelica_trunk_cpp_Modelica.Electrical.Batteries.Examples.CCCV_CellFunctions.cpp:159:31: error: no matching function for call to 'ModelicaStandardTables_CombiTable1D_init2' externalCombiTable1D__ext = ModelicaStandardTables_CombiTable1D_init2(fileName_.c_str(), tableName_.c_str(), tmp64.getData(), table_.getDim(1), table_.getDim(2), ConstArray(columns_).getData(), columns_.getDim(1), smoothness__ext, extrapolation__ext, verboseRead__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources/ModelicaStandardTables.h:269:23: note: candidate function not viable: 6th argument ('const int *') would lose const qualifier MODELICA_EXPORT void* ModelicaStandardTables_CombiTable1D_init2(_In_z_ const char* fileName, ^ 1 error generated. : recipe for target 'OMCppModelica_trunk_cpp_Modelica.Electrical.Batteries.Examples.CCCV_CellCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Electrical.Batteries.Examples.CCCV_CellCalcHelperMain.o] Error 1