Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadModel(ModelicaTest): time 2.409/2.409, allocations: 269 MB / 284.1 MB, free: 3.645 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.22e-05/4.219e-05, allocations: 8 kB / 349 MB, free: 10.78 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1603, allocations: 61.9 MB / 410.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.002491/0.1629, allocations: 1.353 MB / 412.3 MB, free: 11.52 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001714/0.1646, allocations: 0.714 MB / 413 MB, free: 10.8 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.764e-05/0.1648, allocations: 0 / 413 MB, free: 10.8 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002444/0.165, allocations: 27.84 kB / 413 MB, free: 10.77 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002027/0.1653, allocations: 35.88 kB / 413.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003482/0.1656, allocations: 83.69 kB / 413.1 MB, free: 10.66 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.1658, allocations: 51.88 kB / 413.2 MB, free: 10.61 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.044e-05/0.1659, allocations: 4 kB / 413.2 MB, free: 10.6 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.166, allocations: 35.91 kB / 413.2 MB, free: 10.57 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.165e-05/0.1661, allocations: 23.91 kB / 413.3 MB, free: 10.54 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.1662, allocations: 20 kB / 413.3 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.1662, allocations: 0 / 413.3 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.589e-05/0.1663, allocations: 31.84 kB / 413.3 MB, free: 10.49 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.872e-05/0.1663, allocations: 4 kB / 413.3 MB, free: 10.49 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001984/0.1666, allocations: 84.09 kB / 413.4 MB, free: 10.41 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1666, allocations: 0 / 413.4 MB, free: 10.41 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1666, allocations: 4 kB / 413.4 MB, free: 10.4 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.768e-06/0.1666, allocations: 0 / 413.4 MB, free: 10.4 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005866/0.1672, allocations: 391.1 kB / 413.8 MB, free: 9.973 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.1673, allocations: 8.031 kB / 413.8 MB, free: 9.965 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.71e-05/0.1673, allocations: 15.81 kB / 413.8 MB, free: 9.949 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003199/0.1677, allocations: 206.9 kB / 414 MB, free: 9.707 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.1677, allocations: 0 / 414 MB, free: 9.707 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.1677, allocations: 4 kB / 414 MB, free: 9.703 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.1679, allocations: 49.62 kB / 414.1 MB, free: 9.648 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.1679, allocations: 3.938 kB / 414.1 MB, free: 9.645 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.1679, allocations: 4 kB / 414.1 MB, free: 9.641 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.168, allocations: 4 kB / 414.1 MB, free: 9.637 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.493e-05/0.1681, allocations: 15.98 kB / 414.1 MB, free: 9.621 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002973/0.1684, allocations: 201.5 kB / 414.3 MB, free: 9.375 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002405/0.1686, allocations: 46.62 kB / 414.3 MB, free: 9.32 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/0.1687, allocations: 0 / 414.3 MB, free: 9.32 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002277/0.1689, allocations: 79.38 kB / 414.4 MB, free: 9.23 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 2.074e-06/0.1689, allocations: 4 kB / 414.4 MB, free: 9.227 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004033/0.1693, allocations: 93.56 kB / 414.5 MB, free: 9.129 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.1694, allocations: 55.34 kB / 414.6 MB, free: 9.062 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003688/0.1698, allocations: 246 kB / 414.8 MB, free: 8.812 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.1698, allocations: 29.7 kB / 414.8 MB, free: 8.777 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.569e-05/0.1699, allocations: 166.6 kB / 415 MB, free: 8.613 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.985e-05/0.17, allocations: 15.91 kB / 415 MB, free: 8.598 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-06/0.17, allocations: 0 / 415 MB, free: 8.598 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.1702, allocations: 314.8 kB / 415.3 MB, free: 8.281 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.931e-05/0.1702, allocations: 15.94 kB / 415.3 MB, free: 8.266 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.75e-05/0.1703, allocations: 25.7 kB / 415.4 MB, free: 8.234 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.352e-05/0.1704, allocations: 20 kB / 415.4 MB, free: 8.215 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1705, allocations: 0 / 415.4 MB, free: 8.215 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002466/0.1707, allocations: 69.69 kB / 415.4 MB, free: 8.141 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.1707, allocations: 14.73 kB / 415.5 MB, free: 8.129 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.1708, allocations: 4 kB / 415.5 MB, free: 8.125 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.1708, allocations: 3.953 kB / 415.5 MB, free: 8.121 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.1709, allocations: 11.98 kB / 415.5 MB, free: 8.109 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.1709, allocations: 0 / 415.5 MB, free: 8.109 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.842e-05/0.171, allocations: 7.906 kB / 415.5 MB, free: 8.102 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.1711, allocations: 8 kB / 415.5 MB, free: 8.094 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001626/0.1712, allocations: 129.9 kB / 415.6 MB, free: 7.957 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.338e-05/0.1713, allocations: 15.89 kB / 415.6 MB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.292e-05/0.1714, allocations: 17 kB / 415.6 MB, free: 7.918 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.1714, allocations: 3.953 kB / 415.7 MB, free: 7.914 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.1714, allocations: 0 / 415.7 MB, free: 7.914 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1714, allocations: 0 / 415.7 MB, free: 7.914 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/0.1716, allocations: 201.5 kB / 415.8 MB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1716, allocations: 0 / 415.8 MB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.514e-05/0.1717, allocations: 4 kB / 415.9 MB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.1717, allocations: 0 / 415.9 MB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.1717, allocations: 3.984 kB / 415.9 MB, free: 7.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.1717, allocations: 12.25 kB / 415.9 MB, free: 7.648 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.1718, allocations: 3.953 kB / 415.9 MB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002934/0.1721, allocations: 109 kB / 416 MB, free: 7.52 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.577e-05/0.1721, allocations: 88.92 kB / 416.1 MB, free: 7.414 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.156e-05/0.1722, allocations: 0 / 416.1 MB, free: 7.414 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.956e-05/0.1723, allocations: 4 kB / 416.1 MB, free: 7.41 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.1723, allocations: 15.86 kB / 416.1 MB, free: 7.395 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-05/0.1724, allocations: 11.95 kB / 416.1 MB, free: 7.383 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002602/0.1727, allocations: 188.5 kB / 416.3 MB, free: 7.199 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1727, allocations: 0 / 416.3 MB, free: 7.199 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002916/0.173, allocations: 23.98 kB / 416.3 MB, free: 7.176 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001242/0.1742, allocations: 391.9 kB / 416.7 MB, free: 6.898 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003193/0.1746, allocations: 43.92 kB / 416.7 MB, free: 6.855 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.1746, allocations: 0 / 416.7 MB, free: 6.855 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.783e-05/0.1747, allocations: 19.98 kB / 416.7 MB, free: 6.836 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.1751, allocations: 27.75 kB / 416.8 MB, free: 6.809 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007664/0.1759, allocations: 307.5 kB / 417.1 MB, free: 6.477 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004461/0.1764, allocations: 0.7121 MB / 417.8 MB, free: 5.738 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.056e-05/0.1765, allocations: 19.42 kB / 417.8 MB, free: 5.719 MB / 346.7 MB Notification: Performance of SimCode: time 9.52e-07/0.1765, allocations: 4 kB / 417.8 MB, free: 5.715 MB / 346.7 MB Notification: Performance of Templates: time 0.006769/0.1833, allocations: 1.797 MB / 419.6 MB, free: 3.91 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.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 OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test63CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test63CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test63CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test63Functions.cpp:205:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp16.getData(), table_.getDim(1), table_.getDim(2), startTime__ext, ConstArray(columns_).getData(), columns_.getDim(1), smoothness__ext, extrapolation__ext, shiftTime__ext, timeEvents__ext, verboseRead__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources/ModelicaStandardTables.h:142:23: note: candidate function not viable: 7th argument ('const int *') would lose const qualifier MODELICA_EXPORT void* ModelicaStandardTables_CombiTimeTable_init2(_In_z_ const char* fileName, ^ 1 error generated. : recipe for target 'OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test63CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test63CalcHelperMain.o] Error 1