Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadModel(ModelicaTest): time 2.391/2.391, allocations: 269 MB / 284.1 MB, free: 3.637 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.953e-05/3.968e-05, allocations: 4 kB / 349 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1636, allocations: 61.9 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.00308/0.1667, allocations: 1.392 MB / 412.3 MB, free: 11.45 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002203/0.169, allocations: 0.7219 MB / 413 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.886e-05/0.1691, allocations: 7.938 kB / 413.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002565/0.1694, allocations: 23.84 kB / 413.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002342/0.1696, allocations: 47.86 kB / 413.1 MB, free: 10.65 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004416/0.1701, allocations: 79.75 kB / 413.2 MB, free: 10.57 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000195/0.1703, allocations: 51.88 kB / 413.3 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.489e-05/0.1704, allocations: 7.984 kB / 413.3 MB, free: 10.51 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.1705, allocations: 47.84 kB / 413.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.1707, allocations: 23.91 kB / 413.3 MB, free: 10.44 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001361/0.1708, allocations: 20 kB / 413.4 MB, free: 10.42 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.719e-05/0.1709, allocations: 4 kB / 413.4 MB, free: 10.42 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.387e-05/0.1709, allocations: 27.91 kB / 413.4 MB, free: 10.39 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.567e-05/0.171, allocations: 4 kB / 413.4 MB, free: 10.39 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002899/0.1713, allocations: 100 kB / 413.5 MB, free: 10.29 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1713, allocations: 0 / 413.5 MB, free: 10.29 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.564e-06/0.1713, allocations: 0 / 413.5 MB, free: 10.29 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.507e-06/0.1714, allocations: 4 kB / 413.5 MB, free: 10.29 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006857/0.1721, allocations: 399.1 kB / 413.9 MB, free: 9.848 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.1721, allocations: 12.03 kB / 413.9 MB, free: 9.836 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.89e-05/0.1722, allocations: 11.81 kB / 413.9 MB, free: 9.824 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003895/0.1726, allocations: 218.7 kB / 414.1 MB, free: 9.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.1727, allocations: 0 / 414.1 MB, free: 9.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.562e-05/0.1727, allocations: 7.984 kB / 414.1 MB, free: 9.562 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002293/0.1729, allocations: 57.62 kB / 414.2 MB, free: 9.5 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.173, allocations: 0 / 414.2 MB, free: 9.5 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.173, allocations: 4 kB / 414.2 MB, free: 9.496 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.173, allocations: 0 / 414.2 MB, free: 9.496 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000142/0.1732, allocations: 27.86 kB / 414.2 MB, free: 9.469 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005615/0.1738, allocations: 288.9 kB / 414.5 MB, free: 9.137 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003076/0.1741, allocations: 58.67 kB / 414.6 MB, free: 9.07 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.163e-05/0.1741, allocations: 4 kB / 414.6 MB, free: 9.066 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002475/0.1744, allocations: 67.45 kB / 414.6 MB, free: 8.988 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.816e-06/0.1744, allocations: 0 / 414.6 MB, free: 8.988 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009616/0.1754, allocations: 181.1 kB / 414.8 MB, free: 8.805 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.1755, allocations: 51.41 kB / 414.8 MB, free: 8.742 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004519/0.1759, allocations: 249.9 kB / 415.1 MB, free: 8.488 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.321e-05/0.176, allocations: 29.7 kB / 415.1 MB, free: 8.453 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.1761, allocations: 174.5 kB / 415.3 MB, free: 8.281 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.266e-05/0.1762, allocations: 27.64 kB / 415.3 MB, free: 8.254 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.266e-06/0.1762, allocations: 0 / 415.3 MB, free: 8.254 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1764, allocations: 318.8 kB / 415.6 MB, free: 7.934 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.1765, allocations: 19.98 kB / 415.6 MB, free: 7.914 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.1767, allocations: 37.7 kB / 415.7 MB, free: 7.871 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.1768, allocations: 20 kB / 415.7 MB, free: 7.852 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.1768, allocations: 7.953 kB / 415.7 MB, free: 7.844 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003552/0.1772, allocations: 89.61 kB / 415.8 MB, free: 7.75 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.1772, allocations: 6.812 kB / 415.8 MB, free: 7.746 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.1773, allocations: 4 kB / 415.8 MB, free: 7.742 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.1773, allocations: 0 / 415.8 MB, free: 7.742 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.1775, allocations: 19.98 kB / 415.8 MB, free: 7.723 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.1775, allocations: 3.938 kB / 415.8 MB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.1776, allocations: 4 kB / 415.8 MB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.732e-05/0.1777, allocations: 4 kB / 415.8 MB, free: 7.711 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 (10): * Single equations (assignments): 10 * 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.0001823/0.1779, allocations: 137.9 kB / 416 MB, free: 7.566 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.407e-05/0.1779, allocations: 15.77 kB / 416 MB, free: 7.551 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.108e-05/0.178, allocations: 21.39 kB / 416 MB, free: 7.523 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.178, allocations: 0 / 416 MB, free: 7.523 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1781, allocations: 4 kB / 416 MB, free: 7.52 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1781, allocations: 0 / 416 MB, free: 7.52 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007866/0.1789, allocations: 411.3 kB / 416.4 MB, free: 7.059 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.1789, allocations: 0 / 416.4 MB, free: 7.059 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.543e-05/0.179, allocations: 8 kB / 416.4 MB, free: 7.051 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.179, allocations: 0 / 416.4 MB, free: 7.051 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.179, allocations: 3.938 kB / 416.4 MB, free: 7.047 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.179, allocations: 4 kB / 416.4 MB, free: 7.043 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.179, allocations: 0 / 416.4 MB, free: 7.043 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003717/0.1794, allocations: 221.8 kB / 416.7 MB, free: 6.801 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.32e-05/0.1795, allocations: 92.91 kB / 416.7 MB, free: 6.691 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.1795, allocations: 8 kB / 416.7 MB, free: 6.684 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.1797, allocations: 0 / 416.7 MB, free: 6.684 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.848e-05/0.1797, allocations: 7.984 kB / 416.8 MB, free: 6.676 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.372e-05/0.1798, allocations: 4.188 kB / 416.8 MB, free: 6.672 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002837/0.1801, allocations: 196.5 kB / 417 MB, free: 6.48 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.1801, allocations: 3.938 kB / 417 MB, free: 6.477 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003559/0.1804, allocations: 32 kB / 417 MB, free: 6.445 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.00134/0.1818, allocations: 440.7 kB / 417.4 MB, free: 6.141 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000318/0.1821, allocations: 67.88 kB / 417.5 MB, free: 6.074 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.1822, allocations: 4 kB / 417.5 MB, free: 6.07 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.1823, allocations: 35.86 kB / 417.5 MB, free: 6.035 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.1827, allocations: 23.77 kB / 417.5 MB, free: 6.012 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007592/0.1835, allocations: 324.8 kB / 417.9 MB, free: 5.66 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.1838, allocations: 0.7236 MB / 418.6 MB, free: 4.914 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.648e-05/0.1839, allocations: 15.44 kB / 418.6 MB, free: 4.898 MB / 346.7 MB Notification: Performance of SimCode: time 1.573e-06/0.1839, allocations: 0 / 418.6 MB, free: 4.898 MB / 346.7 MB Notification: Performance of Templates: time 0.005749/0.1897, allocations: 2.05 MB / 420.7 MB, free: 2.848 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48Functions.cpp:244:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp18.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.Test48CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48CalcHelperMain.o] Error 1