Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadModel(ModelicaTest): time 2.485/2.485, allocations: 269 MB / 284.1 MB, free: 3.641 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.465e-05/3.473e-05, allocations: 11.98 kB / 349 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1721, allocations: 61.89 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002356/0.1745, allocations: 1.349 MB / 412.3 MB, free: 11.5 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001656/0.1762, allocations: 0.7063 MB / 413 MB, free: 10.79 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.651e-05/0.1764, allocations: 4 kB / 413 MB, free: 10.79 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002871/0.1767, allocations: 55.8 kB / 413 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001887/0.1769, allocations: 47.8 kB / 413.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003313/0.1772, allocations: 83.69 kB / 413.2 MB, free: 10.6 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001517/0.1774, allocations: 55.86 kB / 413.2 MB, free: 10.55 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.526e-05/0.1774, allocations: 0 / 413.2 MB, free: 10.55 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.909e-05/0.1775, allocations: 31.92 kB / 413.3 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.1777, allocations: 35.89 kB / 413.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.046e-05/0.1778, allocations: 19.94 kB / 413.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.471e-05/0.1778, allocations: 4 kB / 413.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.286e-05/0.1779, allocations: 11.98 kB / 413.3 MB, free: 10.45 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.541e-05/0.1779, allocations: 4 kB / 413.3 MB, free: 10.44 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001877/0.1781, allocations: 76.09 kB / 413.4 MB, free: 10.37 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1781, allocations: 0 / 413.4 MB, free: 10.37 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.1781, allocations: 0 / 413.4 MB, free: 10.37 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.1781, allocations: 0 / 413.4 MB, free: 10.37 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.0005905/0.1787, allocations: 379 kB / 413.8 MB, free: 9.949 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.1788, allocations: 12.03 kB / 413.8 MB, free: 9.938 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.891e-05/0.1789, allocations: 19.88 kB / 413.8 MB, free: 9.918 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/0.1792, allocations: 190.9 kB / 414 MB, free: 9.691 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.1792, allocations: 4 kB / 414 MB, free: 9.688 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.1792, allocations: 0 / 414 MB, free: 9.688 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.1794, allocations: 53.62 kB / 414.1 MB, free: 9.629 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.1794, allocations: 0 / 414.1 MB, free: 9.629 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.1795, allocations: 0 / 414.1 MB, free: 9.629 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.1795, allocations: 4 kB / 414.1 MB, free: 9.625 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.948e-05/0.1796, allocations: 19.92 kB / 414.1 MB, free: 9.605 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002298/0.1798, allocations: 181.7 kB / 414.3 MB, free: 9.379 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.1801, allocations: 50.61 kB / 414.3 MB, free: 9.32 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.1801, allocations: 0 / 414.3 MB, free: 9.32 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002062/0.1803, allocations: 67.44 kB / 414.4 MB, free: 9.242 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.774e-06/0.1803, allocations: 7.938 kB / 414.4 MB, free: 9.234 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003928/0.1807, allocations: 101.7 kB / 414.5 MB, free: 9.129 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.1808, allocations: 51.41 kB / 414.5 MB, free: 9.066 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002404/0.1811, allocations: 170 kB / 414.7 MB, free: 8.898 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.1811, allocations: 25.7 kB / 414.7 MB, free: 8.867 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.1812, allocations: 166.5 kB / 414.9 MB, free: 8.703 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.269e-05/0.1813, allocations: 11.89 kB / 414.9 MB, free: 8.691 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.1813, allocations: 0 / 414.9 MB, free: 8.691 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.1814, allocations: 318.8 kB / 415.2 MB, free: 8.371 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.544e-05/0.1815, allocations: 11.98 kB / 415.2 MB, free: 8.359 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.1816, allocations: 41.62 kB / 415.3 MB, free: 8.312 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.249e-05/0.1817, allocations: 15.94 kB / 415.3 MB, free: 8.297 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.1818, allocations: 3.984 kB / 415.3 MB, free: 8.293 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002331/0.182, allocations: 69.69 kB / 415.3 MB, free: 8.219 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.182, allocations: 6.812 kB / 415.3 MB, free: 8.215 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.182, allocations: 4.031 kB / 415.4 MB, free: 8.211 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.1821, allocations: 3.953 kB / 415.4 MB, free: 8.207 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.1822, allocations: 19.94 kB / 415.4 MB, free: 8.188 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.1822, allocations: 0 / 415.4 MB, free: 8.188 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.636e-05/0.1823, allocations: 7.891 kB / 415.4 MB, free: 8.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.1823, allocations: 4 kB / 415.4 MB, free: 8.176 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.0001263/0.1825, allocations: 121.8 kB / 415.5 MB, free: 8.047 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.1825, allocations: 7.906 kB / 415.5 MB, free: 8.039 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.493e-05/0.1826, allocations: 16.3 kB / 415.5 MB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/0.1826, allocations: 11.95 kB / 415.5 MB, free: 8.004 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1826, allocations: 0 / 415.5 MB, free: 8.004 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1826, allocations: 0 / 415.5 MB, free: 8.004 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/0.1829, allocations: 177.6 kB / 415.7 MB, free: 7.781 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.1829, allocations: 4 kB / 415.7 MB, free: 7.777 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.4e-05/0.1829, allocations: 3.984 kB / 415.7 MB, free: 7.773 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.1829, allocations: 4 kB / 415.7 MB, free: 7.77 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.1829, allocations: 0 / 415.7 MB, free: 7.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.183, allocations: 0 / 415.7 MB, free: 7.77 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.668e-06/0.183, allocations: 3.953 kB / 415.7 MB, free: 7.766 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002714/0.1833, allocations: 113 kB / 415.8 MB, free: 7.637 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.223e-05/0.1833, allocations: 88.92 kB / 415.9 MB, free: 7.531 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.165e-05/0.1834, allocations: 3.984 kB / 415.9 MB, free: 7.527 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.743e-05/0.1835, allocations: 8.172 kB / 415.9 MB, free: 7.52 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.002e-05/0.1835, allocations: 4 kB / 415.9 MB, free: 7.516 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/0.1835, allocations: 11.95 kB / 416 MB, free: 7.504 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000171/0.1837, allocations: 139.2 kB / 416.1 MB, free: 7.367 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.1837, allocations: 7.938 kB / 416.1 MB, free: 7.359 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000273/0.184, allocations: 16 kB / 416.1 MB, free: 7.344 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.001138/0.1852, allocations: 380.9 kB / 416.5 MB, free: 7.082 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002256/0.1854, allocations: 43.86 kB / 416.5 MB, free: 7.039 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1854, allocations: 8.062 kB / 416.5 MB, free: 7.031 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.052e-05/0.1855, allocations: 15.98 kB / 416.6 MB, free: 7.016 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.1858, allocations: 27.92 kB / 416.6 MB, free: 6.988 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005635/0.1864, allocations: 234.8 kB / 416.8 MB, free: 6.727 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/0.1868, allocations: 0.7043 MB / 417.5 MB, free: 5.996 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.797e-05/0.1869, allocations: 15.44 kB / 417.5 MB, free: 5.98 MB / 346.7 MB Notification: Performance of SimCode: time 3.126e-06/0.1869, allocations: 0 / 417.5 MB, free: 5.98 MB / 346.7 MB Notification: Performance of Templates: time 0.004885/0.1918, allocations: 1.663 MB / 419.2 MB, free: 4.312 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test39CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test39CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test39Functions.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.Test39CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test39CalcHelperMain.o] Error 1