Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,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.Test6") Notification: Performance of loadModel(ModelicaTest): time 2.429/2.429, allocations: 269 MB / 284.1 MB, free: 3.641 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.482e-05/3.481e-05, allocations: 8 kB / 349 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1353, allocations: 61.9 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002513/0.1379, allocations: 1.396 MB / 412.3 MB, free: 11.45 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001727/0.1396, allocations: 0.718 MB / 413 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.1398, allocations: 4 kB / 413 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002626/0.1401, allocations: 27.84 kB / 413.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002081/0.1403, allocations: 43.86 kB / 413.1 MB, free: 10.66 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003816/0.1407, allocations: 83.69 kB / 413.2 MB, free: 10.57 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.1409, allocations: 55.92 kB / 413.3 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.763e-05/0.141, allocations: 4 kB / 413.3 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.1411, allocations: 39.84 kB / 413.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.29e-05/0.1412, allocations: 27.92 kB / 413.3 MB, free: 10.45 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.1413, allocations: 27.98 kB / 413.4 MB, free: 10.42 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.726e-05/0.1414, allocations: 4 kB / 413.4 MB, free: 10.42 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.361e-05/0.1414, allocations: 31.84 kB / 413.4 MB, free: 10.39 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.878e-05/0.1415, allocations: 7.938 kB / 413.4 MB, free: 10.38 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.1417, allocations: 96.08 kB / 413.5 MB, free: 10.29 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.1418, allocations: 0 / 413.5 MB, free: 10.29 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.1418, allocations: 0 / 413.5 MB, free: 10.29 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.1418, allocations: 0 / 413.5 MB, free: 10.29 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.0006875/0.1425, allocations: 399.1 kB / 413.9 MB, free: 9.848 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.1425, allocations: 8.031 kB / 413.9 MB, free: 9.84 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.069e-05/0.1426, allocations: 19.81 kB / 413.9 MB, free: 9.82 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004107/0.143, allocations: 215.7 kB / 414.1 MB, free: 9.566 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.1431, allocations: 4 kB / 414.1 MB, free: 9.562 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.1431, allocations: 0 / 414.1 MB, free: 9.562 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002202/0.1433, allocations: 61.56 kB / 414.2 MB, free: 9.496 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.1434, allocations: 0 / 414.2 MB, free: 9.496 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.1434, allocations: 0 / 414.2 MB, free: 9.496 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.1434, allocations: 11.94 kB / 414.2 MB, free: 9.484 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.1435, allocations: 19.98 kB / 414.2 MB, free: 9.465 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005752/0.1441, allocations: 292.9 kB / 414.5 MB, free: 9.129 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002625/0.1444, allocations: 58.62 kB / 414.6 MB, free: 9.062 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.1444, allocations: 0 / 414.6 MB, free: 9.062 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002226/0.1447, allocations: 67.52 kB / 414.6 MB, free: 8.984 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.984e-06/0.1447, allocations: 0 / 414.6 MB, free: 8.984 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008089/0.1455, allocations: 192.9 kB / 414.8 MB, free: 8.789 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.844e-05/0.1456, allocations: 51.41 kB / 414.9 MB, free: 8.727 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003801/0.146, allocations: 258.9 kB / 415.1 MB, free: 8.469 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.146, allocations: 29.7 kB / 415.1 MB, free: 8.434 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.1461, allocations: 170.6 kB / 415.3 MB, free: 8.266 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.391e-05/0.1462, allocations: 27.7 kB / 415.3 MB, free: 8.238 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-06/0.1462, allocations: 0 / 415.3 MB, free: 8.238 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.1464, allocations: 314.8 kB / 415.6 MB, free: 7.922 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.241e-05/0.1465, allocations: 19.98 kB / 415.7 MB, free: 7.902 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.1466, allocations: 37.64 kB / 415.7 MB, free: 7.859 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.565e-05/0.1467, allocations: 20 kB / 415.7 MB, free: 7.84 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.418e-06/0.1467, allocations: 3.953 kB / 415.7 MB, free: 7.836 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002854/0.147, allocations: 97.59 kB / 415.8 MB, free: 7.734 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.1471, allocations: 6.656 kB / 415.8 MB, free: 7.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.1471, allocations: 0 / 415.8 MB, free: 7.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/0.1471, allocations: 11.92 kB / 415.8 MB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.1473, allocations: 12 kB / 415.8 MB, free: 7.707 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.1473, allocations: 0 / 415.8 MB, free: 7.707 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.952e-05/0.1474, allocations: 4 kB / 415.9 MB, free: 7.703 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.1474, allocations: 8 kB / 415.9 MB, free: 7.695 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.000163/0.1476, allocations: 141.8 kB / 416 MB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.357e-05/0.1476, allocations: 15.77 kB / 416 MB, free: 7.531 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.962e-05/0.1477, allocations: 17.41 kB / 416 MB, free: 7.508 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.1477, allocations: 4 kB / 416 MB, free: 7.504 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1477, allocations: 0 / 416 MB, free: 7.504 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.1477, allocations: 3.984 kB / 416 MB, free: 7.5 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007287/0.1485, allocations: 403.7 kB / 416.4 MB, free: 7.047 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.1485, allocations: 32 / 416.4 MB, free: 7.047 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.777e-05/0.1486, allocations: 23.92 kB / 416.5 MB, free: 7.023 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.391e-06/0.1486, allocations: 3.938 kB / 416.5 MB, free: 7.02 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.1486, allocations: 4 kB / 416.5 MB, free: 7.016 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.1487, allocations: 0 / 416.5 MB, free: 7.016 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.1487, allocations: 0 / 416.5 MB, free: 7.016 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003746/0.149, allocations: 225.9 kB / 416.7 MB, free: 6.77 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.218e-05/0.1491, allocations: 92.91 kB / 416.8 MB, free: 6.66 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.898e-05/0.1492, allocations: 4 kB / 416.8 MB, free: 6.656 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.1493, allocations: 4.188 kB / 416.8 MB, free: 6.652 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-05/0.1494, allocations: 7.984 kB / 416.8 MB, free: 6.645 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.087e-05/0.1494, allocations: 3.938 kB / 416.8 MB, free: 6.641 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003031/0.1497, allocations: 205.5 kB / 417 MB, free: 6.441 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.385e-06/0.1497, allocations: 0 / 417 MB, free: 6.441 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003518/0.1501, allocations: 31.94 kB / 417 MB, free: 6.41 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.001331/0.1514, allocations: 447.2 kB / 417.5 MB, free: 6.098 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003053/0.1518, allocations: 51.97 kB / 417.5 MB, free: 6.047 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.1518, allocations: 3.938 kB / 417.5 MB, free: 6.043 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.1519, allocations: 36.08 kB / 417.6 MB, free: 6.008 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/0.1523, allocations: 27.91 kB / 417.6 MB, free: 5.98 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008174/0.1532, allocations: 336.8 kB / 417.9 MB, free: 5.613 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003851/0.1536, allocations: 0.7248 MB / 418.6 MB, free: 4.863 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.364e-05/0.1537, allocations: 23.36 kB / 418.7 MB, free: 4.844 MB / 346.7 MB Notification: Performance of SimCode: time 1.343e-06/0.1537, allocations: 0 / 418.7 MB, free: 4.844 MB / 346.7 MB Notification: Performance of Templates: time 0.005973/0.1597, allocations: 2.076 MB / 420.7 MB, free: 2.77 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test6CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test6CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test6Functions.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.Test6CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test6CalcHelperMain.o] Error 1