Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadModel(ModelicaTest): time 2.394/2.394, allocations: 269 MB / 284.1 MB, free: 3.641 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.401e-05/3.393e-05, allocations: 8 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1563, allocations: 61.89 MB / 410.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003305/0.1596, allocations: 1.361 MB / 412.3 MB, free: 11.5 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002279/0.162, allocations: 0.7024 MB / 413 MB, free: 10.79 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.1621, allocations: 7.938 kB / 413 MB, free: 10.79 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00029/0.1624, allocations: 23.84 kB / 413 MB, free: 10.76 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002647/0.1627, allocations: 55.84 kB / 413.1 MB, free: 10.71 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004893/0.1632, allocations: 71.77 kB / 413.1 MB, free: 10.64 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001936/0.1634, allocations: 47.88 kB / 413.2 MB, free: 10.59 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.1635, allocations: 4 kB / 413.2 MB, free: 10.59 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.1636, allocations: 31.91 kB / 413.2 MB, free: 10.55 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.1638, allocations: 27.86 kB / 413.3 MB, free: 10.53 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.1639, allocations: 20 kB / 413.3 MB, free: 10.51 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.593e-05/0.164, allocations: 4 kB / 413.3 MB, free: 10.5 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.859e-05/0.1641, allocations: 31.89 kB / 413.3 MB, free: 10.47 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.091e-05/0.1641, allocations: 4 kB / 413.3 MB, free: 10.47 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002657/0.1644, allocations: 80.11 kB / 413.4 MB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1644, allocations: 4 kB / 413.4 MB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.866e-06/0.1645, allocations: 0 / 413.4 MB, free: 10.39 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.1645, allocations: 0 / 413.4 MB, free: 10.39 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.0007249/0.1652, allocations: 391.1 kB / 413.8 MB, free: 9.957 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.1653, allocations: 8.031 kB / 413.8 MB, free: 9.949 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.091e-05/0.1654, allocations: 15.81 kB / 413.8 MB, free: 9.934 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004228/0.1658, allocations: 210.8 kB / 414 MB, free: 9.688 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.632e-05/0.1658, allocations: 4 kB / 414 MB, free: 9.684 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.1659, allocations: 0 / 414 MB, free: 9.684 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002223/0.1661, allocations: 53.62 kB / 414.1 MB, free: 9.625 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.1661, allocations: 0 / 414.1 MB, free: 9.625 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.1662, allocations: 0 / 414.1 MB, free: 9.625 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.1662, allocations: 4 kB / 414.1 MB, free: 9.621 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.1664, allocations: 15.98 kB / 414.1 MB, free: 9.605 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003311/0.1667, allocations: 193.5 kB / 414.3 MB, free: 9.367 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000361/0.1671, allocations: 58.55 kB / 414.3 MB, free: 9.301 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.1671, allocations: 0 / 414.3 MB, free: 9.301 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002528/0.1674, allocations: 67.44 kB / 414.4 MB, free: 9.223 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 2.324e-06/0.1674, allocations: 0 / 414.4 MB, free: 9.223 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006524/0.1681, allocations: 101.5 kB / 414.5 MB, free: 9.117 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.243e-05/0.1682, allocations: 55.41 kB / 414.5 MB, free: 9.051 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005053/0.1687, allocations: 242 kB / 414.8 MB, free: 8.805 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.747e-05/0.1688, allocations: 33.7 kB / 414.8 MB, free: 8.766 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.1689, allocations: 166.5 kB / 415 MB, free: 8.602 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.673e-05/0.169, allocations: 19.88 kB / 415 MB, free: 8.582 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.683e-06/0.169, allocations: 0 / 415 MB, free: 8.582 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.1692, allocations: 314.8 kB / 415.3 MB, free: 8.266 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.1693, allocations: 19.98 kB / 415.3 MB, free: 8.246 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.1695, allocations: 25.66 kB / 415.4 MB, free: 8.215 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.1696, allocations: 23.98 kB / 415.4 MB, free: 8.191 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.1696, allocations: 0 / 415.4 MB, free: 8.191 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000331/0.17, allocations: 69.62 kB / 415.4 MB, free: 8.117 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.17, allocations: 6.812 kB / 415.4 MB, free: 8.113 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.17, allocations: 4 kB / 415.5 MB, free: 8.109 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.1701, allocations: 3.953 kB / 415.5 MB, free: 8.105 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.1702, allocations: 16.02 kB / 415.5 MB, free: 8.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/0.1703, allocations: 0 / 415.5 MB, free: 8.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.1704, allocations: 7.906 kB / 415.5 MB, free: 8.082 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.1705, allocations: 4 kB / 415.5 MB, free: 8.078 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.0002015/0.1707, allocations: 133.8 kB / 415.6 MB, free: 7.938 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.752e-05/0.1707, allocations: 15.89 kB / 415.6 MB, free: 7.922 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.853e-05/0.1709, allocations: 20.98 kB / 415.7 MB, free: 7.895 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.1709, allocations: 3.953 kB / 415.7 MB, free: 7.891 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1709, allocations: 4 kB / 415.7 MB, free: 7.887 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.1709, allocations: 0 / 415.7 MB, free: 7.887 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000297/0.1712, allocations: 197.5 kB / 415.9 MB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1712, allocations: 0 / 415.9 MB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.462e-05/0.1713, allocations: 4 kB / 415.9 MB, free: 7.641 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.1713, allocations: 0 / 415.9 MB, free: 7.641 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/0.1714, allocations: 8 kB / 415.9 MB, free: 7.633 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.1714, allocations: 0 / 415.9 MB, free: 7.633 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/0.1714, allocations: 3.953 kB / 415.9 MB, free: 7.629 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004042/0.1718, allocations: 105.4 kB / 416 MB, free: 7.508 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.1719, allocations: 92.92 kB / 416.1 MB, free: 7.398 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.26e-05/0.172, allocations: 3.984 kB / 416.1 MB, free: 7.395 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.1721, allocations: 8 kB / 416.1 MB, free: 7.387 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.368e-05/0.1722, allocations: 3.938 kB / 416.1 MB, free: 7.383 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.367e-05/0.1722, allocations: 7.953 kB / 416.1 MB, free: 7.375 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004101/0.1726, allocations: 200.5 kB / 416.3 MB, free: 7.18 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.12e-07/0.1727, allocations: 3.938 kB / 416.3 MB, free: 7.176 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005527/0.1732, allocations: 12 kB / 416.3 MB, free: 7.164 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.001699/0.175, allocations: 400 kB / 416.7 MB, free: 6.879 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003187/0.1753, allocations: 35.92 kB / 416.7 MB, free: 6.844 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.1753, allocations: 0 / 416.7 MB, free: 6.844 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.1755, allocations: 27.98 kB / 416.7 MB, free: 6.816 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004306/0.1759, allocations: 27.77 kB / 416.8 MB, free: 6.789 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008911/0.1769, allocations: 295.6 kB / 417.1 MB, free: 6.469 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004504/0.1773, allocations: 0.7277 MB / 417.8 MB, free: 5.715 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.832e-05/0.1774, allocations: 15.44 kB / 417.8 MB, free: 5.699 MB / 346.7 MB Notification: Performance of SimCode: time 1.072e-06/0.1774, allocations: 0 / 417.8 MB, free: 5.699 MB / 346.7 MB Notification: Performance of Templates: time 0.007205/0.1847, allocations: 1.797 MB / 419.6 MB, free: 3.895 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test61CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test61CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test61Functions.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.Test61CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test61CalcHelperMain.o] Error 1