Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,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.Test17") Notification: Performance of loadModel(ModelicaTest): time 2.438/2.438, allocations: 269 MB / 284.1 MB, free: 3.625 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.918e-05/2.915e-05, allocations: 4 kB / 349 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1337, allocations: 61.89 MB / 410.9 MB, free: 12.84 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002568/0.1363, allocations: 1.392 MB / 412.3 MB, free: 11.44 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001722/0.1381, allocations: 0.7258 MB / 413 MB, free: 10.71 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.1383, allocations: 0 / 413 MB, free: 10.71 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002531/0.1386, allocations: 35.77 kB / 413.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001916/0.1388, allocations: 35.88 kB / 413.1 MB, free: 10.64 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004007/0.1392, allocations: 75.77 kB / 413.2 MB, free: 10.57 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.1394, allocations: 55.88 kB / 413.2 MB, free: 10.51 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.662e-05/0.1395, allocations: 7.984 kB / 413.3 MB, free: 10.5 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.1396, allocations: 39.84 kB / 413.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.26e-05/0.1397, allocations: 19.92 kB / 413.3 MB, free: 10.45 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000153/0.1398, allocations: 20 kB / 413.3 MB, free: 10.43 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.487e-05/0.1399, allocations: 4 kB / 413.3 MB, free: 10.42 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.501e-05/0.1399, allocations: 23.91 kB / 413.4 MB, free: 10.4 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.762e-05/0.14, allocations: 7.938 kB / 413.4 MB, free: 10.39 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002053/0.1402, allocations: 76.11 kB / 413.4 MB, free: 10.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.1402, allocations: 0 / 413.4 MB, free: 10.32 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.1402, allocations: 0 / 413.4 MB, free: 10.32 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.819e-06/0.1402, allocations: 0 / 413.4 MB, free: 10.32 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.0005779/0.1408, allocations: 379.1 kB / 413.8 MB, free: 9.898 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.1409, allocations: 12.03 kB / 413.8 MB, free: 9.887 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.02e-05/0.1409, allocations: 7.906 kB / 413.8 MB, free: 9.879 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003205/0.1413, allocations: 206.8 kB / 414 MB, free: 9.637 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.1413, allocations: 4 kB / 414 MB, free: 9.633 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.1413, allocations: 0 / 414 MB, free: 9.633 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.1416, allocations: 61.56 kB / 414.1 MB, free: 9.566 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.1416, allocations: 0 / 414.1 MB, free: 9.566 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.1416, allocations: 4 kB / 414.1 MB, free: 9.562 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.1416, allocations: 11.92 kB / 414.1 MB, free: 9.551 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.1418, allocations: 12 kB / 414.1 MB, free: 9.539 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004793/0.1422, allocations: 280.9 kB / 414.4 MB, free: 9.215 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002413/0.1425, allocations: 62.61 kB / 414.5 MB, free: 9.145 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.1426, allocations: 0 / 414.5 MB, free: 9.145 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002118/0.1428, allocations: 75.52 kB / 414.5 MB, free: 9.059 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.014e-06/0.1428, allocations: 0 / 414.5 MB, free: 9.059 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007604/0.1436, allocations: 173.2 kB / 414.7 MB, free: 8.883 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.1436, allocations: 51.41 kB / 414.8 MB, free: 8.82 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00026/0.1439, allocations: 158.8 kB / 414.9 MB, free: 8.66 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.1439, allocations: 29.7 kB / 414.9 MB, free: 8.625 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.592e-05/0.144, allocations: 166.5 kB / 415.1 MB, free: 8.461 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.7e-05/0.1441, allocations: 27.64 kB / 415.1 MB, free: 8.434 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-06/0.1441, allocations: 0 / 415.1 MB, free: 8.434 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.1443, allocations: 314.8 kB / 415.4 MB, free: 8.117 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.618e-05/0.1444, allocations: 23.92 kB / 415.5 MB, free: 8.094 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.1445, allocations: 33.7 kB / 415.5 MB, free: 8.055 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.1446, allocations: 24 kB / 415.5 MB, free: 8.031 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.1446, allocations: 3.953 kB / 415.5 MB, free: 8.027 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002914/0.1449, allocations: 97.53 kB / 415.6 MB, free: 7.926 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.145, allocations: 4 kB / 415.6 MB, free: 7.922 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.145, allocations: 0 / 415.6 MB, free: 7.922 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.145, allocations: 7.984 kB / 415.6 MB, free: 7.914 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.1452, allocations: 12 kB / 415.6 MB, free: 7.902 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.1452, allocations: 0 / 415.6 MB, free: 7.902 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.245e-05/0.1453, allocations: 8 kB / 415.6 MB, free: 7.895 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.1453, allocations: 4 kB / 415.6 MB, free: 7.891 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.0001374/0.1454, allocations: 121.9 kB / 415.8 MB, free: 7.762 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/0.1455, allocations: 15.86 kB / 415.8 MB, free: 7.746 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.626e-05/0.1456, allocations: 20.64 kB / 415.8 MB, free: 7.723 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.1456, allocations: 0 / 415.8 MB, free: 7.723 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1456, allocations: 0 / 415.8 MB, free: 7.723 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1456, allocations: 0 / 415.8 MB, free: 7.723 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009187/0.1465, allocations: 395.5 kB / 416.2 MB, free: 7.277 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.1466, allocations: 32 / 416.2 MB, free: 7.277 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.1467, allocations: 15.94 kB / 416.2 MB, free: 7.262 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.896e-06/0.1468, allocations: 3.938 kB / 416.2 MB, free: 7.258 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.1468, allocations: 0 / 416.2 MB, free: 7.258 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.285e-06/0.1468, allocations: 4 kB / 416.2 MB, free: 7.254 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.1468, allocations: 0 / 416.2 MB, free: 7.254 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000461/0.1473, allocations: 225.8 kB / 416.4 MB, free: 7.008 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.934e-05/0.1474, allocations: 85.02 kB / 416.5 MB, free: 6.906 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.684e-05/0.1474, allocations: 4 kB / 416.5 MB, free: 6.902 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.1476, allocations: 8.344 kB / 416.5 MB, free: 6.895 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.446e-05/0.1476, allocations: 7.938 kB / 416.5 MB, free: 6.887 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/0.1477, allocations: 12 kB / 416.5 MB, free: 6.875 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001934/0.1479, allocations: 137.9 kB / 416.7 MB, free: 6.742 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1479, allocations: 0 / 416.7 MB, free: 6.742 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003418/0.1482, allocations: 24 kB / 416.7 MB, free: 6.719 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.001348/0.1496, allocations: 437.8 kB / 417.1 MB, free: 6.418 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002976/0.1499, allocations: 63.89 kB / 417.2 MB, free: 6.355 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.1499, allocations: 3.938 kB / 417.2 MB, free: 6.352 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.15, allocations: 27.98 kB / 417.2 MB, free: 6.324 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.1504, allocations: 19.98 kB / 417.2 MB, free: 6.305 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006021/0.151, allocations: 256 kB / 417.5 MB, free: 6.012 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.1514, allocations: 0.7043 MB / 418.2 MB, free: 5.281 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.591e-05/0.1514, allocations: 15.44 kB / 418.2 MB, free: 5.266 MB / 346.7 MB Notification: Performance of SimCode: time 7.41e-07/0.1514, allocations: 7.938 kB / 418.2 MB, free: 5.258 MB / 346.7 MB Notification: Performance of Templates: time 0.005307/0.1568, allocations: 1.872 MB / 420.1 MB, free: 3.387 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test17CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test17CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test17Functions.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.Test17CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test17CalcHelperMain.o] Error 1