Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,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.Test36") Notification: Performance of loadModel(ModelicaTest): time 2.334/2.334, allocations: 269 MB / 284.1 MB, free: 3.641 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.944e-05/3.935e-05, allocations: 4 kB / 349 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1567, allocations: 61.89 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002484/0.1593, allocations: 1.407 MB / 412.3 MB, free: 11.45 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.161, allocations: 0.7258 MB / 413.1 MB, free: 10.71 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.938e-05/0.1611, allocations: 3.938 kB / 413.1 MB, free: 10.71 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003111/0.1614, allocations: 79.75 kB / 413.1 MB, free: 10.63 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002102/0.1616, allocations: 59.84 kB / 413.2 MB, free: 10.57 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003904/0.162, allocations: 91.69 kB / 413.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.1622, allocations: 63.86 kB / 413.4 MB, free: 10.42 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.245e-05/0.1623, allocations: 7.984 kB / 413.4 MB, free: 10.41 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.1624, allocations: 43.84 kB / 413.4 MB, free: 10.37 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.1626, allocations: 43.89 kB / 413.4 MB, free: 10.33 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000144/0.1627, allocations: 39.88 kB / 413.5 MB, free: 10.29 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.547e-05/0.1628, allocations: 4 kB / 413.5 MB, free: 10.29 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.431e-05/0.1628, allocations: 31.89 kB / 413.5 MB, free: 10.25 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.647e-05/0.1629, allocations: 4 kB / 413.5 MB, free: 10.25 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.1631, allocations: 100.1 kB / 413.6 MB, free: 10.15 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.1631, allocations: 0 / 413.6 MB, free: 10.15 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1631, allocations: 0 / 413.6 MB, free: 10.15 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.1632, allocations: 0 / 413.6 MB, free: 10.15 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005645/0.1637, allocations: 399.1 kB / 414 MB, free: 9.715 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.1638, allocations: 8.031 kB / 414 MB, free: 9.707 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.33e-05/0.1638, allocations: 19.81 kB / 414 MB, free: 9.688 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002954/0.1642, allocations: 210.8 kB / 414.2 MB, free: 9.441 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.1642, allocations: 4 kB / 414.3 MB, free: 9.438 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.1642, allocations: 0 / 414.3 MB, free: 9.438 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.1644, allocations: 69.55 kB / 414.3 MB, free: 9.363 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.1645, allocations: 0 / 414.3 MB, free: 9.363 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.1645, allocations: 4 kB / 414.3 MB, free: 9.359 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.1645, allocations: 0 / 414.3 MB, free: 9.359 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.1646, allocations: 23.98 kB / 414.3 MB, free: 9.336 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004629/0.1651, allocations: 308.7 kB / 414.6 MB, free: 8.984 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003071/0.1654, allocations: 62.48 kB / 414.7 MB, free: 8.914 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.1655, allocations: 0 / 414.7 MB, free: 8.914 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002028/0.1657, allocations: 71.5 kB / 414.8 MB, free: 8.832 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.835e-06/0.1657, allocations: 0 / 414.8 MB, free: 8.832 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.001046/0.1668, allocations: 233.2 kB / 415 MB, free: 8.598 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.1668, allocations: 55.41 kB / 415.1 MB, free: 8.531 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002882/0.1671, allocations: 202.3 kB / 415.3 MB, free: 8.32 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.1672, allocations: 33.69 kB / 415.3 MB, free: 8.281 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.901e-05/0.1673, allocations: 170.5 kB / 415.5 MB, free: 8.113 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.987e-05/0.1673, allocations: 35.45 kB / 415.5 MB, free: 8.078 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.209e-05/0.1673, allocations: 8 kB / 415.5 MB, free: 8.07 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.1675, allocations: 318.8 kB / 415.8 MB, free: 7.75 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.1676, allocations: 35.92 kB / 415.8 MB, free: 7.715 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.1677, allocations: 45.64 kB / 415.9 MB, free: 7.664 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.1679, allocations: 28 kB / 415.9 MB, free: 7.637 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.1679, allocations: 0 / 415.9 MB, free: 7.637 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000327/0.1682, allocations: 117.6 kB / 416 MB, free: 7.516 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.1683, allocations: 10.84 kB / 416 MB, free: 7.508 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.1683, allocations: 4 kB / 416 MB, free: 7.504 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.1683, allocations: 0 / 416 MB, free: 7.504 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.1685, allocations: 19.98 kB / 416.1 MB, free: 7.484 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.1685, allocations: 0 / 416.1 MB, free: 7.484 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.718e-05/0.1686, allocations: 4 kB / 416.1 MB, free: 7.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.1686, allocations: 8 kB / 416.1 MB, free: 7.473 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 (13): * Single equations (assignments): 13 * 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.0001436/0.1687, allocations: 133.8 kB / 416.2 MB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.588e-05/0.1688, allocations: 19.75 kB / 416.2 MB, free: 7.312 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.956e-05/0.1689, allocations: 26.03 kB / 416.3 MB, free: 7.281 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.1689, allocations: 7.984 kB / 416.3 MB, free: 7.273 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.1689, allocations: 0 / 416.3 MB, free: 7.273 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.1689, allocations: 0 / 416.3 MB, free: 7.273 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007417/0.1697, allocations: 455.9 kB / 416.7 MB, free: 6.766 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.1697, allocations: 4 kB / 416.7 MB, free: 6.762 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.981e-05/0.1698, allocations: 16 kB / 416.7 MB, free: 6.746 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.1698, allocations: 4 kB / 416.7 MB, free: 6.742 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.754e-05/0.1699, allocations: 8 kB / 416.7 MB, free: 6.734 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.1699, allocations: 3.984 kB / 416.7 MB, free: 6.73 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.1699, allocations: 0 / 416.7 MB, free: 6.73 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003965/0.1703, allocations: 252.5 kB / 417 MB, free: 6.449 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.688e-05/0.1704, allocations: 92.91 kB / 417.1 MB, free: 6.34 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.358e-05/0.1704, allocations: 8 kB / 417.1 MB, free: 6.332 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.1706, allocations: 7.953 kB / 417.1 MB, free: 6.324 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.765e-05/0.1706, allocations: 11.92 kB / 417.1 MB, free: 6.312 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-05/0.1707, allocations: 4 kB / 417.1 MB, free: 6.309 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002088/0.1709, allocations: 172.3 kB / 417.3 MB, free: 6.141 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1709, allocations: 0 / 417.3 MB, free: 6.141 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003487/0.1712, allocations: 32 kB / 417.3 MB, free: 6.109 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001408/0.1727, allocations: 496.6 kB / 417.8 MB, free: 5.77 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003118/0.173, allocations: 79.86 kB / 417.9 MB, free: 5.691 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.173, allocations: 0 / 417.9 MB, free: 5.691 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.1732, allocations: 39.92 kB / 417.9 MB, free: 5.652 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.1735, allocations: 30.06 kB / 417.9 MB, free: 5.625 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007327/0.1743, allocations: 337.8 kB / 418.3 MB, free: 5.258 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.1746, allocations: 0.7121 MB / 419 MB, free: 4.52 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.626e-05/0.1747, allocations: 19.42 kB / 419 MB, free: 4.5 MB / 346.7 MB Notification: Performance of SimCode: time 7.41e-07/0.1747, allocations: 8 kB / 419 MB, free: 4.492 MB / 346.7 MB Notification: Performance of Templates: time 0.005864/0.1806, allocations: 2.189 MB / 421.2 MB, free: 2.301 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test36CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test36CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test36Functions.cpp:285:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp20.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.Test36CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test36CalcHelperMain.o] Error 1