Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,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.Test19") Notification: Performance of loadModel(ModelicaTest): time 2.449/2.449, allocations: 269 MB / 284.1 MB, free: 3.637 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.282e-05/4.283e-05, allocations: 8 kB / 349 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1464, allocations: 61.89 MB / 410.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.002669/0.1491, allocations: 1.4 MB / 412.3 MB, free: 11.46 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001778/0.1509, allocations: 0.7219 MB / 413 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.976e-05/0.1511, allocations: 0 / 413 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002536/0.1514, allocations: 27.84 kB / 413.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001933/0.1516, allocations: 35.88 kB / 413.1 MB, free: 10.67 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003732/0.152, allocations: 79.7 kB / 413.2 MB, free: 10.59 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001599/0.1521, allocations: 51.92 kB / 413.2 MB, free: 10.54 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.826e-05/0.1522, allocations: 11.92 kB / 413.2 MB, free: 10.53 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.1523, allocations: 35.84 kB / 413.3 MB, free: 10.49 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.047e-05/0.1524, allocations: 23.92 kB / 413.3 MB, free: 10.47 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.1526, allocations: 20 kB / 413.3 MB, free: 10.45 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.1526, allocations: 11.94 kB / 413.3 MB, free: 10.44 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.972e-05/0.1527, allocations: 19.97 kB / 413.4 MB, free: 10.42 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.573e-05/0.1527, allocations: 7.938 kB / 413.4 MB, free: 10.41 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001985/0.1529, allocations: 80.11 kB / 413.4 MB, free: 10.33 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1529, allocations: 0 / 413.4 MB, free: 10.33 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1529, allocations: 4 kB / 413.4 MB, free: 10.33 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.988e-06/0.153, allocations: 0 / 413.4 MB, free: 10.33 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.0006272/0.1536, allocations: 383.1 kB / 413.8 MB, free: 9.906 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.1536, allocations: 8.031 kB / 413.8 MB, free: 9.898 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.862e-05/0.1537, allocations: 11.91 kB / 413.8 MB, free: 9.887 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/0.154, allocations: 202.9 kB / 414 MB, free: 9.648 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.1541, allocations: 4 kB / 414 MB, free: 9.645 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.982e-05/0.1541, allocations: 3.984 kB / 414 MB, free: 9.641 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.1543, allocations: 57.62 kB / 414.1 MB, free: 9.578 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.1543, allocations: 3.984 kB / 414.1 MB, free: 9.574 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.1544, allocations: 0 / 414.1 MB, free: 9.574 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.1544, allocations: 7.938 kB / 414.1 MB, free: 9.566 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.1545, allocations: 19.92 kB / 414.1 MB, free: 9.547 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004401/0.1549, allocations: 292.8 kB / 414.4 MB, free: 9.211 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002328/0.1552, allocations: 50.69 kB / 414.5 MB, free: 9.152 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.1552, allocations: 4 kB / 414.5 MB, free: 9.148 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000209/0.1555, allocations: 79.44 kB / 414.6 MB, free: 9.059 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.974e-06/0.1555, allocations: 0 / 414.6 MB, free: 9.059 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007668/0.1562, allocations: 165.2 kB / 414.7 MB, free: 8.891 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.1563, allocations: 51.41 kB / 414.8 MB, free: 8.828 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002469/0.1566, allocations: 173.9 kB / 414.9 MB, free: 8.656 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.1566, allocations: 37.69 kB / 415 MB, free: 8.613 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.381e-05/0.1567, allocations: 162.5 kB / 415.1 MB, free: 8.453 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.871e-05/0.1568, allocations: 19.72 kB / 415.1 MB, free: 8.434 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.133e-06/0.1568, allocations: 0 / 415.1 MB, free: 8.434 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.1569, allocations: 322.8 kB / 415.5 MB, free: 8.109 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.157, allocations: 16 kB / 415.5 MB, free: 8.094 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.1572, allocations: 37.64 kB / 415.5 MB, free: 8.051 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.1573, allocations: 24 kB / 415.5 MB, free: 8.027 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.1573, allocations: 3.953 kB / 415.5 MB, free: 8.023 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002893/0.1576, allocations: 93.61 kB / 415.6 MB, free: 7.926 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.1576, allocations: 10.84 kB / 415.6 MB, free: 7.918 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.1576, allocations: 0 / 415.6 MB, free: 7.918 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.1577, allocations: 4 kB / 415.6 MB, free: 7.914 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.1578, allocations: 19.92 kB / 415.7 MB, free: 7.895 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.1579, allocations: 0 / 415.7 MB, free: 7.895 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.018e-05/0.158, allocations: 8 kB / 415.7 MB, free: 7.887 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.158, allocations: 4 kB / 415.7 MB, free: 7.883 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.0001268/0.1581, allocations: 121.8 kB / 415.8 MB, free: 7.754 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.566e-05/0.1582, allocations: 15.77 kB / 415.8 MB, free: 7.738 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.722e-05/0.1582, allocations: 16.72 kB / 415.8 MB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.882e-06/0.1582, allocations: 4 kB / 415.8 MB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.1583, allocations: 0 / 415.8 MB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1583, allocations: 0 / 415.8 MB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006518/0.1589, allocations: 395.3 kB / 416.2 MB, free: 7.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.1589, allocations: 0 / 416.2 MB, free: 7.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.392e-05/0.159, allocations: 8 kB / 416.2 MB, free: 7.262 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.159, allocations: 7.938 kB / 416.2 MB, free: 7.254 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.1591, allocations: 8.031 kB / 416.2 MB, free: 7.246 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.1591, allocations: 0 / 416.2 MB, free: 7.246 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.1591, allocations: 0 / 416.2 MB, free: 7.246 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003535/0.1594, allocations: 217.9 kB / 416.5 MB, free: 7.008 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.608e-05/0.1595, allocations: 92.91 kB / 416.5 MB, free: 6.898 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.534e-05/0.1596, allocations: 4 kB / 416.6 MB, free: 6.895 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.1597, allocations: 4 kB / 416.6 MB, free: 6.891 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.861e-05/0.1597, allocations: 11.98 kB / 416.6 MB, free: 6.879 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/0.1598, allocations: 4.375 kB / 416.6 MB, free: 6.875 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001813/0.16, allocations: 139.2 kB / 416.7 MB, free: 6.738 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-07/0.16, allocations: 0 / 416.7 MB, free: 6.738 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003396/0.1603, allocations: 20 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.001296/0.1616, allocations: 452.9 kB / 417.2 MB, free: 6.402 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003038/0.162, allocations: 67.89 kB / 417.2 MB, free: 6.336 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.162, allocations: 3.938 kB / 417.2 MB, free: 6.332 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.1621, allocations: 31.92 kB / 417.3 MB, free: 6.301 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/0.1625, allocations: 20.3 kB / 417.3 MB, free: 6.281 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006314/0.1631, allocations: 264.2 kB / 417.5 MB, free: 5.977 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.1634, allocations: 0.7004 MB / 418.2 MB, free: 5.25 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.261e-05/0.1635, allocations: 23.42 kB / 418.3 MB, free: 5.227 MB / 346.7 MB Notification: Performance of SimCode: time 9.41e-07/0.1635, allocations: 0 / 418.3 MB, free: 5.227 MB / 346.7 MB Notification: Performance of Templates: time 0.005271/0.1688, allocations: 1.905 MB / 420.2 MB, free: 3.324 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test19CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test19CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test19Functions.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.Test19CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test19CalcHelperMain.o] Error 1