Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadModel(ModelicaTest): time 2.365/2.365, allocations: 269 MB / 284.1 MB, free: 3.645 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.928e-05/4.937e-05, allocations: 8 kB / 349 MB, free: 10.78 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1672, allocations: 61.89 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002327/0.1696, allocations: 1.353 MB / 412.3 MB, free: 11.5 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001626/0.1712, allocations: 0.7024 MB / 413 MB, free: 10.79 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.393e-05/0.1713, allocations: 0 / 413 MB, free: 10.79 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002773/0.1716, allocations: 63.77 kB / 413.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001808/0.1718, allocations: 43.88 kB / 413.1 MB, free: 10.69 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003201/0.1722, allocations: 91.62 kB / 413.2 MB, free: 10.6 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001442/0.1723, allocations: 47.88 kB / 413.2 MB, free: 10.55 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.696e-05/0.1724, allocations: 0 / 413.2 MB, free: 10.55 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.1725, allocations: 35.91 kB / 413.3 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.944e-05/0.1726, allocations: 31.91 kB / 413.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.419e-05/0.1727, allocations: 23.92 kB / 413.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.1727, allocations: 4 kB / 413.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.985e-05/0.1728, allocations: 11.98 kB / 413.3 MB, free: 10.45 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.344e-05/0.1728, allocations: 4 kB / 413.3 MB, free: 10.44 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.173, allocations: 72.11 kB / 413.4 MB, free: 10.37 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.173, allocations: 0 / 413.4 MB, free: 10.37 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.173, allocations: 4 kB / 413.4 MB, free: 10.37 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.826e-06/0.1731, 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.0005154/0.1736, allocations: 379 kB / 413.8 MB, free: 9.949 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.1736, allocations: 8.031 kB / 413.8 MB, free: 9.941 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.1737, allocations: 11.91 kB / 413.8 MB, free: 9.93 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002857/0.174, allocations: 198.9 kB / 414 MB, free: 9.695 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.1741, allocations: 0 / 414 MB, free: 9.695 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.1741, allocations: 4 kB / 414 MB, free: 9.691 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.1743, allocations: 53.62 kB / 414.1 MB, free: 9.633 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.1743, allocations: 0 / 414.1 MB, free: 9.633 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.1743, allocations: 4 kB / 414.1 MB, free: 9.629 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.1743, allocations: 4 kB / 414.1 MB, free: 9.625 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.715e-05/0.1744, allocations: 19.92 kB / 414.1 MB, free: 9.605 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002214/0.1747, allocations: 177.7 kB / 414.3 MB, free: 9.383 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002212/0.1749, allocations: 50.62 kB / 414.3 MB, free: 9.324 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.175, allocations: 0 / 414.3 MB, free: 9.324 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001975/0.1752, allocations: 71.42 kB / 414.4 MB, free: 9.242 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 4.438e-06/0.1752, allocations: 0 / 414.4 MB, free: 9.242 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003748/0.1756, allocations: 105.4 kB / 414.5 MB, free: 9.133 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.1756, allocations: 55.39 kB / 414.5 MB, free: 9.066 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002264/0.1759, allocations: 170 kB / 414.7 MB, free: 8.898 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.1759, allocations: 29.7 kB / 414.7 MB, free: 8.863 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.819e-05/0.176, allocations: 166.5 kB / 414.9 MB, free: 8.699 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.252e-05/0.176, allocations: 7.906 kB / 414.9 MB, free: 8.691 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-06/0.176, allocations: 0 / 414.9 MB, free: 8.691 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.1762, allocations: 318.8 kB / 415.2 MB, free: 8.371 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.246e-05/0.1763, allocations: 11.98 kB / 415.2 MB, free: 8.359 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.786e-05/0.1764, allocations: 29.7 kB / 415.3 MB, free: 8.324 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.404e-05/0.1764, allocations: 23.94 kB / 415.3 MB, free: 8.301 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1765, allocations: 0 / 415.3 MB, free: 8.301 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002158/0.1767, allocations: 65.69 kB / 415.3 MB, free: 8.23 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.1767, allocations: 8 kB / 415.3 MB, free: 8.223 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1767, allocations: 0 / 415.3 MB, free: 8.223 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.1768, allocations: 3.953 kB / 415.3 MB, free: 8.219 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.1769, allocations: 15.92 kB / 415.4 MB, free: 8.203 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.1769, allocations: 4 kB / 415.4 MB, free: 8.199 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.377e-05/0.177, allocations: 3.906 kB / 415.4 MB, free: 8.195 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.177, allocations: 8.031 kB / 415.4 MB, free: 8.188 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.0001209/0.1772, allocations: 129.8 kB / 415.5 MB, free: 8.051 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.749e-05/0.1772, allocations: 11.89 kB / 415.5 MB, free: 8.039 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.022e-05/0.1772, allocations: 8.312 kB / 415.5 MB, free: 8.023 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.1773, allocations: 7.953 kB / 415.5 MB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.1773, allocations: 0 / 415.5 MB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.1773, allocations: 3.984 kB / 415.5 MB, free: 8.012 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/0.1775, allocations: 177.6 kB / 415.7 MB, free: 7.789 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.1775, allocations: 0 / 415.7 MB, free: 7.789 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.912e-05/0.1775, allocations: 4.312 kB / 415.7 MB, free: 7.785 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.1775, allocations: 4 kB / 415.7 MB, free: 7.781 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.1776, allocations: 4 kB / 415.7 MB, free: 7.777 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.1776, allocations: 4 kB / 415.7 MB, free: 7.773 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.1776, allocations: 3.953 kB / 415.7 MB, free: 7.77 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002989/0.1779, allocations: 109 kB / 415.8 MB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.702e-05/0.178, allocations: 92.91 kB / 415.9 MB, free: 7.535 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.147e-05/0.178, allocations: 4 kB / 415.9 MB, free: 7.531 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.269e-05/0.1781, allocations: 8 kB / 415.9 MB, free: 7.523 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/0.1781, allocations: 0 / 415.9 MB, free: 7.523 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-05/0.1782, allocations: 11.94 kB / 416 MB, free: 7.512 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001646/0.1784, allocations: 135.2 kB / 416.1 MB, free: 7.379 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1784, allocations: 3.938 kB / 416.1 MB, free: 7.375 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002781/0.1787, allocations: 23.98 kB / 416.1 MB, free: 7.352 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.001135/0.1798, allocations: 392.9 kB / 416.5 MB, free: 7.074 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002378/0.1801, allocations: 39.92 kB / 416.5 MB, free: 7.035 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.1801, allocations: 4 kB / 416.5 MB, free: 7.031 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.091e-05/0.1802, allocations: 12 kB / 416.6 MB, free: 7.02 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.1805, allocations: 23.97 kB / 416.6 MB, free: 6.996 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005454/0.1811, allocations: 234.9 kB / 416.8 MB, free: 6.734 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.1814, allocations: 0.7004 MB / 417.5 MB, free: 6.008 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.211e-05/0.1814, allocations: 23.42 kB / 417.5 MB, free: 5.984 MB / 346.7 MB Notification: Performance of SimCode: time 9.01e-07/0.1814, allocations: 4 kB / 417.5 MB, free: 5.98 MB / 346.7 MB Notification: Performance of Templates: time 0.004764/0.1862, allocations: 1.655 MB / 419.2 MB, free: 4.32 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test38CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test38CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test38Functions.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.Test38CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test38CalcHelperMain.o] Error 1