Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadModel(ModelicaTest): time 2.373/2.373, allocations: 269 MB / 284.1 MB, free: 3.637 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.145e-05/3.151e-05, allocations: 4 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.13, allocations: 61.89 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002473/0.1326, allocations: 1.365 MB / 412.3 MB, free: 11.48 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001705/0.1343, allocations: 0.7063 MB / 413 MB, free: 10.77 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.908e-05/0.1345, allocations: 4 kB / 413 MB, free: 10.77 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002947/0.1348, allocations: 51.8 kB / 413 MB, free: 10.72 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001988/0.135, allocations: 43.86 kB / 413.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003353/0.1353, allocations: 75.75 kB / 413.2 MB, free: 10.6 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.1355, allocations: 47.89 kB / 413.2 MB, free: 10.55 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.217e-05/0.1356, allocations: 7.984 kB / 413.2 MB, free: 10.55 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.1357, allocations: 39.84 kB / 413.3 MB, free: 10.51 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.1358, allocations: 31.91 kB / 413.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.136, allocations: 15.98 kB / 413.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.136, allocations: 4 kB / 413.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.071e-05/0.1361, allocations: 19.92 kB / 413.3 MB, free: 10.44 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.585e-05/0.1361, allocations: 4 kB / 413.3 MB, free: 10.43 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001816/0.1363, allocations: 64.12 kB / 413.4 MB, free: 10.37 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.1363, allocations: 0 / 413.4 MB, free: 10.37 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1363, allocations: 0 / 413.4 MB, free: 10.37 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.1363, allocations: 4 kB / 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.0005516/0.1369, allocations: 379.1 kB / 413.8 MB, free: 9.949 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.137, allocations: 12.03 kB / 413.8 MB, free: 9.938 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.541e-05/0.137, allocations: 7.906 kB / 413.8 MB, free: 9.93 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002967/0.1373, allocations: 198.9 kB / 414 MB, free: 9.695 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.1374, allocations: 7.984 kB / 414 MB, free: 9.688 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.1374, allocations: 3.938 kB / 414 MB, free: 9.684 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.1376, allocations: 53.62 kB / 414 MB, free: 9.625 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.1376, allocations: 8 kB / 414.1 MB, free: 9.617 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.1376, allocations: 0 / 414.1 MB, free: 9.617 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1376, allocations: 0 / 414.1 MB, free: 9.617 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.749e-05/0.1377, allocations: 15.98 kB / 414.1 MB, free: 9.602 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002575/0.138, allocations: 173.7 kB / 414.2 MB, free: 9.383 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002694/0.1383, allocations: 58.5 kB / 414.3 MB, free: 9.316 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.446e-05/0.1384, allocations: 4 kB / 414.3 MB, free: 9.312 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002453/0.1386, allocations: 71.42 kB / 414.4 MB, free: 9.23 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 2.284e-06/0.1386, allocations: 4 kB / 414.4 MB, free: 9.227 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004245/0.1391, allocations: 93.48 kB / 414.5 MB, free: 9.129 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.1391, allocations: 55.34 kB / 414.5 MB, free: 9.062 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000243/0.1394, allocations: 173.9 kB / 414.7 MB, free: 8.891 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.1394, allocations: 25.7 kB / 414.7 MB, free: 8.859 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.88e-05/0.1395, allocations: 166.6 kB / 414.9 MB, free: 8.695 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.738e-05/0.1396, allocations: 7.906 kB / 414.9 MB, free: 8.688 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-06/0.1396, allocations: 0 / 414.9 MB, free: 8.688 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1397, allocations: 318.8 kB / 415.2 MB, free: 8.367 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.529e-05/0.1398, allocations: 12 kB / 415.2 MB, free: 8.355 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.1399, allocations: 33.69 kB / 415.2 MB, free: 8.316 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.555e-05/0.1401, allocations: 12.25 kB / 415.3 MB, free: 8.305 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.1401, allocations: 4 kB / 415.3 MB, free: 8.301 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002674/0.1403, allocations: 81.61 kB / 415.3 MB, free: 8.215 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.1404, allocations: 6.812 kB / 415.3 MB, free: 8.211 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.1404, allocations: 0 / 415.3 MB, free: 8.211 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.1404, allocations: 3.953 kB / 415.3 MB, free: 8.207 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.1406, allocations: 12 kB / 415.4 MB, free: 8.195 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.1406, allocations: 0 / 415.4 MB, free: 8.195 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.544e-05/0.1407, allocations: 11.91 kB / 415.4 MB, free: 8.184 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.1407, allocations: 0 / 415.4 MB, free: 8.184 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.0001326/0.1408, allocations: 129.8 kB / 415.5 MB, free: 8.047 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.614e-05/0.1409, allocations: 7.906 kB / 415.5 MB, free: 8.039 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.033e-05/0.1409, allocations: 20.3 kB / 415.5 MB, free: 8.012 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.141, allocations: 7.891 kB / 415.5 MB, free: 8.004 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.141, allocations: 0 / 415.5 MB, free: 8.004 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.141, allocations: 0 / 415.5 MB, free: 8.004 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.1412, allocations: 185.6 kB / 415.7 MB, free: 7.773 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1412, allocations: 0 / 415.7 MB, free: 7.773 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.237e-05/0.1412, allocations: 4 kB / 415.7 MB, free: 7.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1413, allocations: 0 / 415.7 MB, free: 7.77 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.948e-06/0.1413, allocations: 4 kB / 415.7 MB, free: 7.766 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.1413, allocations: 3.984 kB / 415.7 MB, free: 7.762 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.1413, allocations: 3.953 kB / 415.7 MB, free: 7.758 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.1416, allocations: 101 kB / 415.8 MB, free: 7.641 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.02e-05/0.1417, allocations: 92.91 kB / 415.9 MB, free: 7.531 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.033e-05/0.1417, allocations: 0 / 415.9 MB, free: 7.531 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.433e-05/0.1418, allocations: 4 kB / 415.9 MB, free: 7.527 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.399e-05/0.1418, allocations: 7.984 kB / 415.9 MB, free: 7.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/0.1419, allocations: 19.81 kB / 416 MB, free: 7.5 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001719/0.142, allocations: 147.2 kB / 416.1 MB, free: 7.355 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.1421, allocations: 0 / 416.1 MB, free: 7.355 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002735/0.1423, allocations: 16 kB / 416.1 MB, free: 7.34 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.001143/0.1435, allocations: 396 kB / 416.5 MB, free: 7.062 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002362/0.1438, allocations: 35.98 kB / 416.5 MB, free: 7.027 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.1438, allocations: 0 / 416.5 MB, free: 7.027 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.718e-05/0.1439, allocations: 24.05 kB / 416.6 MB, free: 7.004 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.1442, allocations: 20.11 kB / 416.6 MB, free: 6.984 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005805/0.1448, allocations: 242.8 kB / 416.8 MB, free: 6.715 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.1452, allocations: 0.7043 MB / 417.5 MB, free: 5.984 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.797e-05/0.1452, allocations: 11.44 kB / 417.5 MB, free: 5.973 MB / 346.7 MB Notification: Performance of SimCode: time 9.12e-07/0.1452, allocations: 0 / 417.5 MB, free: 5.973 MB / 346.7 MB Notification: Performance of Templates: time 0.004731/0.15, allocations: 1.661 MB / 419.2 MB, free: 4.305 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test37CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test37CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test37Functions.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.Test37CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test37CalcHelperMain.o] Error 1