Running command: translateModel(Modelica.Electrical.Batteries.Examples.CCCV_CellRC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=24000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Batteries.Examples.CCCV_CellRC") Notification: Performance of loadModel(Modelica): time 2.103/2.103, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.743e-05/2.756e-05, allocations: 4 kB / 292.1 MB, free: 8.867 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.107, allocations: 50.42 MB / 342.5 MB, free: 6.43 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3833/0.4903, allocations: 90.08 MB / 432.6 MB, free: 4.172 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002215/0.4906, allocations: 76.33 kB / 432.7 MB, free: 4.137 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Electrical/Batteries/ParameterRecords/TransientData/CellData.mo:8:3-11:59:writable] Notification: Moving binding to initial equation section and setting fixed attribute of rcData[2].R to false. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Electrical/Batteries/ParameterRecords/TransientData/CellData.mo:8:3-11:59:writable] Notification: Moving binding to initial equation section and setting fixed attribute of rcData[2].C to false. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Electrical/Batteries/ParameterRecords/TransientData/CellData.mo:8:3-11:59:writable] Notification: Moving binding to initial equation section and setting fixed attribute of rcData[1].R to false. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Electrical/Batteries/ParameterRecords/TransientData/CellData.mo:8:3-11:59:writable] Notification: Moving binding to initial equation section and setting fixed attribute of rcData[1].C to false. Notification: Performance of FrontEnd - DAE generated: time 0.1207/0.6114, allocations: 34.8 MB / 467.5 MB, free: 5.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.652e-06/0.6114, allocations: 3.938 kB / 467.5 MB, free: 5.836 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001882/0.6116, allocations: 31.98 kB / 467.5 MB, free: 5.805 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003455/0.6151, allocations: 1.648 MB / 469.2 MB, free: 4.203 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.6152, allocations: 11.97 kB / 469.2 MB, free: 4.191 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006214/0.6158, allocations: 213.4 kB / 469.4 MB, free: 3.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00427/0.6201, allocations: 1.646 MB / 471 MB, free: 2.289 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/0.6203, allocations: 78.97 kB / 471.1 MB, free: 2.207 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/0.6204, allocations: 60 kB / 471.2 MB, free: 2.148 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001777/0.6222, allocations: 0.7532 MB / 471.9 MB, free: 1.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/0.6223, allocations: 3.938 kB / 471.9 MB, free: 1.336 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.6224, allocations: 28 kB / 472 MB, free: 1.309 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.086e-05/0.6224, allocations: 16 kB / 472 MB, free: 1.293 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00124/0.6237, allocations: 482.5 kB / 472.5 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008997/0.6327, allocations: 4.063 MB / 476.5 MB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001324/0.634, allocations: 447.5 kB / 477 MB, free: 12.19 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007756/0.6348, allocations: 322.1 kB / 477.3 MB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.323e-05/0.6349, allocations: 4.266 kB / 477.3 MB, free: 11.87 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.177e-05/0.635, allocations: 38.84 kB / 477.3 MB, free: 11.82 MB / 394.7 MB Notification: Performance of pre-optimization done (n=33): time 4.011e-06/0.635, allocations: 0 / 477.3 MB, free: 11.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=33): time 0.001474/0.6365, allocations: 0.5025 MB / 477.8 MB, free: 11.31 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001748/0.6367, allocations: 269 kB / 478.1 MB, free: 10.99 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006806/0.6435, allocations: 2.857 MB / 480.9 MB, free: 8.094 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001317/0.6436, allocations: 37.7 kB / 481 MB, free: 8.051 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009995/0.6447, allocations: 0.7288 MB / 481.7 MB, free: 7.32 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001902/0.6449, allocations: 118.3 kB / 481.8 MB, free: 7.203 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.821e-05/0.6449, allocations: 8 kB / 481.8 MB, free: 7.195 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.6451, allocations: 326.8 kB / 482.1 MB, free: 6.867 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000419/0.6455, allocations: 169.1 kB / 482.3 MB, free: 6.703 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006042/0.6462, allocations: 341 kB / 482.6 MB, free: 6.297 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004873/0.6467, allocations: 217.5 kB / 482.8 MB, free: 6.086 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.955e-06/0.6467, allocations: 0 / 482.8 MB, free: 6.086 MB / 394.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001317/0.648, allocations: 0.5173 MB / 483.4 MB, free: 5.559 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.6481, allocations: 4 kB / 483.4 MB, free: 5.555 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.6481, allocations: 4.078 kB / 483.4 MB, free: 5.551 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003364/0.6484, allocations: 64.73 kB / 483.4 MB, free: 5.484 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007053/0.6492, allocations: 120.1 kB / 483.6 MB, free: 5.367 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002281/0.6515, allocations: 1.607 MB / 485.2 MB, free: 3.629 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/0.6526, allocations: 83.5 kB / 485.2 MB, free: 3.547 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.658e-05/0.6527, allocations: 23.98 kB / 485.3 MB, free: 3.523 MB / 394.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 (51): * Single equations (assignments): 50 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002125/0.653, allocations: 132.8 kB / 485.4 MB, free: 3.387 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005257/0.6535, allocations: 185.7 kB / 485.6 MB, free: 3.203 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001499/0.655, allocations: 0.5477 MB / 486.1 MB, free: 2.641 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.49e-06/0.655, allocations: 8 kB / 486.1 MB, free: 2.633 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.242e-06/0.6551, allocations: 0 / 486.1 MB, free: 2.633 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.6551, allocations: 3.984 kB / 486.1 MB, free: 2.629 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005258/0.6603, allocations: 2.146 MB / 488.3 MB, free: 420 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-05/0.6604, allocations: 4 kB / 488.3 MB, free: 416 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006266/0.661, allocations: 83.83 kB / 488.4 MB, free: 332 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002398/0.6613, allocations: 52.95 kB / 488.4 MB, free: 276 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.601e-05/0.6614, allocations: 12 kB / 488.4 MB, free: 264 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002086/0.6635, allocations: 1.553 MB / 490 MB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.268e-06/0.6635, allocations: 0 / 490 MB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001889/0.6654, allocations: 0.8379 MB / 490.8 MB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001642/0.6671, allocations: 0.7516 MB / 491.6 MB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003666/0.6675, allocations: 15.98 kB / 491.6 MB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009478/0.6685, allocations: 67.95 kB / 491.7 MB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/0.6686, allocations: 39.88 kB / 491.7 MB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-05/0.6687, allocations: 12 kB / 491.7 MB, free: 12.72 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00519/0.6739, allocations: 2.206 MB / 493.9 MB, free: 10.49 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.205e-06/0.6739, allocations: 0 / 493.9 MB, free: 10.49 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001735/0.6757, allocations: 299.4 kB / 494.2 MB, free: 10.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (cell.cell.limIntegrator.y,cell.cell.capacitor[1].v,cell.cell.capacitor[2].v,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 (29): * Single equations (assignments): 28 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001478/0.6772, allocations: 441.1 kB / 494.6 MB, free: 9.863 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001373/0.6786, allocations: 0.4982 MB / 495.1 MB, free: 9.355 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.09e-06/0.6786, allocations: 0 / 495.1 MB, free: 9.355 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007008/0.6793, allocations: 322.6 kB / 495.4 MB, free: 9.031 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001948/0.6813, allocations: 262.8 kB / 495.7 MB, free: 8.773 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008361/0.6897, allocations: 3.161 MB / 498.9 MB, free: 5.562 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00187/0.6916, allocations: 1.524 MB / 0.4887 GB, free: 4.012 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006325/0.6923, allocations: 95.44 kB / 0.4888 GB, free: 3.918 MB / 410.7 MB Notification: Performance of SimCode: time 1.886e-06/0.6923, allocations: 0 / 0.4888 GB, free: 3.918 MB / 410.7 MB Notification: Performance of Templates: time 0.05535/0.7476, allocations: 28.52 MB / 0.5166 GB, free: 7.418 MB / 442.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Batteries.Examples.CCCV_CellRC.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 -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -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_CellRCCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Electrical.Batteries.Examples.CCCV_CellRCCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Electrical.Batteries.Examples.CCCV_CellRCCalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica.Electrical.Batteries.Examples.CCCV_CellRCFunctions.cpp:161:31: error: no matching function for call to 'ModelicaStandardTables_CombiTable1D_init2' externalCombiTable1D__ext = ModelicaStandardTables_CombiTable1D_init2(fileName_.c_str(), tableName_.c_str(), tmp13.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_CellRCCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Electrical.Batteries.Examples.CCCV_CellRCCalcHelperMain.o] Error 1