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 1.885/1.885, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.694e-05/2.705e-05, allocations: 6.031 kB / 292.1 MB, free: 8.859 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1209, allocations: 50.42 MB / 342.5 MB, free: 6.422 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3629/0.4838, allocations: 87.38 MB / 429.9 MB, free: 6.906 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/0.4841, allocations: 81.08 kB / 430 MB, free: 6.867 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09469/0.5788, allocations: 26.85 MB / 456.9 MB, free: 15.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.5788, allocations: 0 / 456.9 MB, free: 15.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001384/0.579, allocations: 27.98 kB / 456.9 MB, free: 15.5 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.002702/0.5817, allocations: 1.476 MB / 458.4 MB, free: 14.06 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.5817, allocations: 12.03 kB / 458.4 MB, free: 14.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004118/0.5822, allocations: 185.7 kB / 458.5 MB, free: 13.87 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003211/0.5854, allocations: 1.476 MB / 460 MB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/0.5855, allocations: 61.58 kB / 460.1 MB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.5856, allocations: 52.66 kB / 460.1 MB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.5868, allocations: 0.5345 MB / 460.7 MB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.5868, allocations: 4 kB / 460.7 MB, free: 12.13 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.05e-05/0.5869, allocations: 20.38 kB / 460.7 MB, free: 12.13 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.735e-05/0.587, allocations: 12 kB / 460.7 MB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007192/0.5877, allocations: 286.9 kB / 461 MB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006038/0.5937, allocations: 3.31 MB / 464.3 MB, free: 9.039 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008936/0.5947, allocations: 298.7 kB / 464.6 MB, free: 8.738 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004044/0.5951, allocations: 145.2 kB / 464.7 MB, free: 8.594 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.064e-05/0.5951, allocations: 12.16 kB / 464.7 MB, free: 8.582 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.251e-05/0.5952, allocations: 38.75 kB / 464.8 MB, free: 8.535 MB / 378.7 MB Notification: Performance of pre-optimization done (n=21): time 3.398e-06/0.5952, allocations: 0 / 464.8 MB, free: 8.535 MB / 378.7 MB Notification: Performance of matching and sorting (n=21): time 0.0008646/0.5961, allocations: 347.2 kB / 465.1 MB, free: 8.188 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001367/0.5962, allocations: 209.6 kB / 465.3 MB, free: 7.934 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005112/0.6014, allocations: 2.61 MB / 467.9 MB, free: 5.277 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.246e-05/0.6015, allocations: 33.7 kB / 468 MB, free: 5.238 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008122/0.6023, allocations: 0.6699 MB / 468.6 MB, free: 4.566 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.6024, allocations: 74.91 kB / 468.7 MB, free: 4.492 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.228e-05/0.6025, allocations: 4 kB / 468.7 MB, free: 4.488 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.6026, allocations: 330.8 kB / 469 MB, free: 4.156 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002366/0.6029, allocations: 88.59 kB / 469.1 MB, free: 4.066 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003829/0.6033, allocations: 236.7 kB / 469.4 MB, free: 3.766 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002777/0.6036, allocations: 116 kB / 469.5 MB, free: 3.656 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.671e-06/0.6036, allocations: 7.938 kB / 469.5 MB, free: 3.648 MB / 378.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00113/0.6047, allocations: 382.1 kB / 469.8 MB, free: 3.266 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.6048, allocations: 4 kB / 469.9 MB, free: 3.262 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.6048, allocations: 4 kB / 469.9 MB, free: 3.258 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002629/0.6051, allocations: 48.84 kB / 469.9 MB, free: 3.207 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003984/0.6055, allocations: 87.97 kB / 470 MB, free: 3.121 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001977/0.6075, allocations: 1.538 MB / 471.5 MB, free: 1.449 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007971/0.6083, allocations: 71.59 kB / 471.6 MB, free: 1.379 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.973e-05/0.6084, allocations: 16 kB / 471.6 MB, free: 1.363 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (36): * Single equations (assignments): 35 * 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 prepare postOptimizeDAE: time 0.000175/0.6086, allocations: 124.9 kB / 471.7 MB, free: 1.234 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003269/0.6089, allocations: 165.9 kB / 471.9 MB, free: 1.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009994/0.6099, allocations: 401.1 kB / 472.3 MB, free: 0.6641 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.464e-06/0.6099, allocations: 0 / 472.3 MB, free: 0.6641 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.762e-06/0.61, allocations: 7.984 kB / 472.3 MB, free: 0.6562 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.635e-06/0.61, allocations: 0 / 472.3 MB, free: 0.6562 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003415/0.6134, allocations: 1.692 MB / 474 MB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.6134, allocations: 0 / 474 MB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003465/0.6138, allocations: 52 kB / 474 MB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001776/0.614, allocations: 32.84 kB / 474.1 MB, free: 14.81 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.729e-05/0.614, allocations: 8 kB / 474.1 MB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001812/0.6159, allocations: 1.479 MB / 475.6 MB, free: 13.19 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.6159, allocations: 3.953 kB / 475.6 MB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/0.6171, allocations: 0.5733 MB / 476.1 MB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000977/0.6181, allocations: 0.5038 MB / 476.6 MB, free: 12.03 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000202/0.6184, allocations: 8 kB / 476.6 MB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006238/0.619, allocations: 59.95 kB / 476.7 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.6191, allocations: 31.89 kB / 476.7 MB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.954e-05/0.6192, allocations: 7.984 kB / 476.7 MB, free: 11.93 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003966/0.6231, allocations: 2.021 MB / 478.8 MB, free: 9.875 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.6e-07/0.6232, allocations: 0 / 478.8 MB, free: 9.875 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001253/0.6244, allocations: 243.5 kB / 479 MB, free: 9.637 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (18): * Single equations (assignments): 17 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001743/0.6262, allocations: 415.2 kB / 479.4 MB, free: 9.328 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009381/0.6271, allocations: 349.8 kB / 479.8 MB, free: 8.98 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.28e-06/0.6272, allocations: 4 kB / 479.8 MB, free: 8.977 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004898/0.6277, allocations: 225.6 kB / 480 MB, free: 8.746 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00134/0.629, allocations: 210.9 kB / 480.2 MB, free: 8.535 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006816/0.6359, allocations: 2.638 MB / 482.8 MB, free: 5.848 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001628/0.6375, allocations: 1.386 MB / 484.2 MB, free: 4.434 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005093/0.6381, allocations: 87.42 kB / 484.3 MB, free: 4.348 MB / 394.7 MB Notification: Performance of SimCode: time 1.816e-06/0.6381, allocations: 0 / 484.3 MB, free: 4.348 MB / 394.7 MB Notification: Performance of Templates: time 0.05538/0.6935, allocations: 24.09 MB / 0.4965 GB, free: 12.25 MB / 426.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 -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_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:28: ./OMCppModelica_trunk_cpp_Modelica.Electrical.Batteries.Examples.CCCV_CellFunctions.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_CellCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Electrical.Batteries.Examples.CCCV_CellCalcHelperMain.o] Error 1