Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,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.Test42") Notification: Performance of loadModel(ModelicaTest): time 2.445/2.445, allocations: 269 MB / 284.1 MB, free: 3.641 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.43e-05/3.433e-05, allocations: 8 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1714, allocations: 61.9 MB / 410.9 MB, free: 12.85 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.002568/0.1741, allocations: 1.392 MB / 412.3 MB, free: 11.45 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001783/0.1759, allocations: 0.7258 MB / 413.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.1761, allocations: 0 / 413.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002255/0.1763, allocations: 23.84 kB / 413.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001896/0.1765, allocations: 39.86 kB / 413.1 MB, free: 10.66 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003956/0.1769, allocations: 83.69 kB / 413.2 MB, free: 10.57 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000156/0.1771, allocations: 51.94 kB / 413.2 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.73e-05/0.1772, allocations: 3.984 kB / 413.3 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.931e-05/0.1773, allocations: 35.86 kB / 413.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.171e-05/0.1774, allocations: 27.91 kB / 413.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.1775, allocations: 24 kB / 413.3 MB, free: 10.43 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.388e-05/0.1776, allocations: 7.938 kB / 413.3 MB, free: 10.43 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.614e-05/0.1776, allocations: 15.98 kB / 413.4 MB, free: 10.41 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.202e-05/0.1777, allocations: 4 kB / 413.4 MB, free: 10.41 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.1779, allocations: 88.02 kB / 413.5 MB, free: 10.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.604e-06/0.1779, allocations: 0 / 413.5 MB, free: 10.32 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.867e-06/0.1779, allocations: 4 kB / 413.5 MB, free: 10.32 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.348e-06/0.1779, allocations: 3.938 kB / 413.5 MB, free: 10.31 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.0005714/0.1785, allocations: 383.1 kB / 413.8 MB, free: 9.891 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.1786, allocations: 12.03 kB / 413.8 MB, free: 9.879 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.019e-05/0.1786, allocations: 7.906 kB / 413.9 MB, free: 9.871 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003036/0.1789, allocations: 203.6 kB / 414.1 MB, free: 9.629 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.179, allocations: 0 / 414.1 MB, free: 9.629 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.8e-05/0.179, allocations: 4 kB / 414.1 MB, free: 9.625 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.1792, allocations: 61.62 kB / 414.1 MB, free: 9.559 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.1792, allocations: 3.906 kB / 414.1 MB, free: 9.555 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.1793, allocations: 0 / 414.1 MB, free: 9.555 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.1793, allocations: 4 kB / 414.1 MB, free: 9.551 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000145/0.1794, allocations: 27.86 kB / 414.2 MB, free: 9.523 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004353/0.1799, allocations: 284.9 kB / 414.4 MB, free: 9.195 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002371/0.1801, allocations: 58.67 kB / 414.5 MB, free: 9.129 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.1802, allocations: 0 / 414.5 MB, free: 9.129 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001933/0.1804, allocations: 75.45 kB / 414.6 MB, free: 9.043 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.934e-06/0.1804, allocations: 3.938 kB / 414.6 MB, free: 9.039 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007717/0.1812, allocations: 173.1 kB / 414.7 MB, free: 8.863 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.1812, allocations: 51.41 kB / 414.8 MB, free: 8.801 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002771/0.1815, allocations: 181.8 kB / 415 MB, free: 8.613 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.1816, allocations: 25.7 kB / 415 MB, free: 8.582 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.1817, allocations: 166.6 kB / 415.1 MB, free: 8.418 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.422e-05/0.1817, allocations: 27.7 kB / 415.2 MB, free: 8.391 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.252e-06/0.1818, allocations: 0 / 415.2 MB, free: 8.391 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.1819, allocations: 314.8 kB / 415.5 MB, free: 8.074 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.168e-05/0.182, allocations: 19.98 kB / 415.5 MB, free: 8.055 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.1821, allocations: 33.7 kB / 415.5 MB, free: 8.016 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.707e-05/0.1822, allocations: 24 kB / 415.6 MB, free: 7.992 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.1823, allocations: 3.953 kB / 415.6 MB, free: 7.988 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000278/0.1826, allocations: 101.6 kB / 415.7 MB, free: 7.883 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.1826, allocations: 8 kB / 415.7 MB, free: 7.875 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1826, allocations: 80 / 415.7 MB, free: 7.875 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.1826, allocations: 0 / 415.7 MB, free: 7.875 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.1828, allocations: 23.92 kB / 415.7 MB, free: 7.852 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.1828, allocations: 3.984 kB / 415.7 MB, free: 7.848 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.742e-05/0.1829, allocations: 4 kB / 415.7 MB, free: 7.844 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.1829, allocations: 4 kB / 415.7 MB, free: 7.84 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.0001405/0.1831, allocations: 133.8 kB / 415.8 MB, free: 7.699 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.087e-05/0.1831, allocations: 15.84 kB / 415.9 MB, free: 7.684 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.986e-05/0.1832, allocations: 13.41 kB / 415.9 MB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.1832, allocations: 4 kB / 415.9 MB, free: 7.66 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1832, allocations: 0 / 415.9 MB, free: 7.66 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1832, allocations: 0 / 415.9 MB, free: 7.66 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006561/0.1839, allocations: 395.3 kB / 416.3 MB, free: 7.215 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1839, allocations: 4 kB / 416.3 MB, free: 7.211 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.702e-05/0.184, allocations: 12.03 kB / 416.3 MB, free: 7.199 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.184, allocations: 0 / 416.3 MB, free: 7.199 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.184, allocations: 8.312 kB / 416.3 MB, free: 7.191 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.184, allocations: 0 / 416.3 MB, free: 7.191 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.184, allocations: 8 kB / 416.3 MB, free: 7.184 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003534/0.1844, allocations: 217.8 kB / 416.5 MB, free: 6.945 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.784e-05/0.1845, allocations: 93 kB / 416.6 MB, free: 6.836 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.204e-05/0.1845, allocations: 192 / 416.6 MB, free: 6.836 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.1846, allocations: 8 kB / 416.6 MB, free: 6.828 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.1847, allocations: 7.922 kB / 416.6 MB, free: 6.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/0.1847, allocations: 4 kB / 416.6 MB, free: 6.816 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001901/0.1849, allocations: 154.3 kB / 416.8 MB, free: 6.668 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1849, allocations: 0 / 416.8 MB, free: 6.668 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003285/0.1853, allocations: 23.98 kB / 416.8 MB, free: 6.645 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.001271/0.1866, allocations: 444 kB / 417.2 MB, free: 6.336 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002455/0.1868, allocations: 55.98 kB / 417.3 MB, free: 6.281 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.1868, allocations: 0 / 417.3 MB, free: 6.281 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.187, allocations: 31.86 kB / 417.3 MB, free: 6.25 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.1873, allocations: 31.52 kB / 417.3 MB, free: 6.223 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006002/0.188, allocations: 276.1 kB / 417.6 MB, free: 5.918 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.1883, allocations: 0.7082 MB / 418.3 MB, free: 5.184 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.241e-05/0.1884, allocations: 23.44 kB / 418.3 MB, free: 5.16 MB / 346.7 MB Notification: Performance of SimCode: time 6.91e-07/0.1884, allocations: 0 / 418.3 MB, free: 5.16 MB / 346.7 MB Notification: Performance of Templates: time 0.005277/0.1937, allocations: 1.917 MB / 420.3 MB, free: 3.242 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test42CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test42CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test42Functions.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.Test42CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test42CalcHelperMain.o] Error 1