Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadModel(ModelicaTest): time 2.43/2.43, allocations: 269 MB / 284.1 MB, free: 3.641 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.05e-05/3.055e-05, allocations: 4 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1332, allocations: 61.9 MB / 410.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003724/0.137, allocations: 1.655 MB / 412.6 MB, free: 11.2 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002462/0.1395, allocations: 0.7957 MB / 413.4 MB, free: 10.4 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001592/0.1397, allocations: 7.938 kB / 413.4 MB, free: 10.39 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002856/0.14, allocations: 27.83 kB / 413.4 MB, free: 10.36 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002963/0.1403, allocations: 55.77 kB / 413.5 MB, free: 10.31 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005709/0.1409, allocations: 107.7 kB / 413.6 MB, free: 10.2 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003444/0.1413, allocations: 103.8 kB / 413.7 MB, free: 10.1 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.1414, allocations: 15.98 kB / 413.7 MB, free: 10.09 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002124/0.1416, allocations: 67.75 kB / 413.8 MB, free: 10.02 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/0.1418, allocations: 59.8 kB / 413.8 MB, free: 9.961 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001683/0.142, allocations: 31.94 kB / 413.9 MB, free: 9.93 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.349e-05/0.1421, allocations: 8 kB / 413.9 MB, free: 9.922 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.717e-05/0.1422, allocations: 31.84 kB / 413.9 MB, free: 9.891 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.765e-05/0.1423, allocations: 8 kB / 413.9 MB, free: 9.883 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003693/0.1426, allocations: 136 kB / 414 MB, free: 9.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1427, allocations: 0 / 414 MB, free: 9.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1427, allocations: 0 / 414 MB, free: 9.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.888e-06/0.1427, allocations: 0 / 414 MB, free: 9.75 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.01772/0.1604, allocations: 0.5217 MB / 414.6 MB, free: 9.168 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.18e-05/0.1605, allocations: 8.031 kB / 414.6 MB, free: 9.16 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.1606, allocations: 19.75 kB / 414.6 MB, free: 9.141 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005335/0.1612, allocations: 235.7 kB / 414.8 MB, free: 8.867 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/0.1612, allocations: 0 / 414.8 MB, free: 8.867 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.79e-05/0.1613, allocations: 12 kB / 414.8 MB, free: 8.855 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008764/0.1622, allocations: 170.8 kB / 415 MB, free: 8.676 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.1622, allocations: 3.938 kB / 415 MB, free: 8.672 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.029e-05/0.1623, allocations: 0 / 415 MB, free: 8.672 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.1623, allocations: 7.938 kB / 415 MB, free: 8.664 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.1634, allocations: 135.8 kB / 415.1 MB, free: 8.531 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.1646, allocations: 0.5438 MB / 415.7 MB, free: 7.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/0.1662, allocations: 194.5 kB / 415.9 MB, free: 7.73 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.201e-05/0.1663, allocations: 0 / 415.9 MB, free: 7.73 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008893/0.1672, allocations: 147.2 kB / 416 MB, free: 7.574 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 5.922e-06/0.1672, allocations: 3.984 kB / 416 MB, free: 7.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.002301/0.1695, allocations: 293.5 kB / 416.3 MB, free: 7.277 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.898e-05/0.1696, allocations: 59.34 kB / 416.4 MB, free: 7.207 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004304/0.1701, allocations: 206.3 kB / 416.6 MB, free: 6.996 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.149e-05/0.1701, allocations: 29.7 kB / 416.6 MB, free: 6.961 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/0.1703, allocations: 182.7 kB / 416.8 MB, free: 6.777 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.029e-05/0.1704, allocations: 43.53 kB / 416.8 MB, free: 6.734 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.888e-05/0.1704, allocations: 0 / 416.8 MB, free: 6.734 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.1706, allocations: 322.8 kB / 417.1 MB, free: 6.41 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006189/0.1712, allocations: 83.94 kB / 417.2 MB, free: 6.328 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006856/0.1719, allocations: 112.2 kB / 417.3 MB, free: 6.203 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007085/0.1727, allocations: 113.6 kB / 417.4 MB, free: 6.086 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.1727, allocations: 0 / 417.4 MB, free: 6.086 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001712/0.1744, allocations: 267.1 kB / 417.7 MB, free: 5.812 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.347e-05/0.1745, allocations: 37.69 kB / 417.7 MB, free: 5.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.1745, allocations: 4 kB / 417.7 MB, free: 5.766 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.1746, allocations: 4.125 kB / 417.7 MB, free: 5.762 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005054/0.1751, allocations: 47.91 kB / 417.8 MB, free: 5.715 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.1751, allocations: 0 / 417.8 MB, free: 5.715 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005363/0.1757, allocations: 39.81 kB / 417.8 MB, free: 5.676 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.923e-05/0.1757, allocations: 8 kB / 417.8 MB, free: 5.668 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0002392/0.176, allocations: 137.3 kB / 418 MB, free: 5.527 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.961e-05/0.1761, allocations: 19.8 kB / 418 MB, free: 5.508 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.1762, allocations: 17.41 kB / 418 MB, free: 5.488 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.1762, allocations: 0 / 418 MB, free: 5.488 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.445e-05/0.1763, allocations: 4 kB / 418 MB, free: 5.484 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.1763, allocations: 7.875 kB / 418 MB, free: 5.477 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000415/0.1767, allocations: 233.5 kB / 418.2 MB, free: 5.199 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.1767, allocations: 0 / 418.2 MB, free: 5.199 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004034/0.1772, allocations: 35.97 kB / 418.3 MB, free: 5.164 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.1772, allocations: 0 / 418.3 MB, free: 5.164 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.728e-05/0.1772, allocations: 0 / 418.3 MB, free: 5.164 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.516e-06/0.1772, allocations: 4 kB / 418.3 MB, free: 5.16 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1773, allocations: 0 / 418.3 MB, free: 5.16 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002167/0.1794, allocations: 340.6 kB / 418.6 MB, free: 4.809 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.1796, allocations: 104.8 kB / 418.7 MB, free: 4.688 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.5e-05/0.1797, allocations: 4 kB / 418.7 MB, free: 4.684 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004238/0.1801, allocations: 32.03 kB / 418.7 MB, free: 4.652 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.1803, allocations: 27.84 kB / 418.8 MB, free: 4.625 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-05/0.1803, allocations: 4 kB / 418.8 MB, free: 4.621 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003107/0.1806, allocations: 160.7 kB / 418.9 MB, free: 4.465 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.1807, allocations: 0 / 418.9 MB, free: 4.465 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005756/0.1813, allocations: 36 kB / 419 MB, free: 4.43 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001564/0.1828, allocations: 404.4 kB / 419.4 MB, free: 4.145 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001157/0.184, allocations: 247.1 kB / 419.6 MB, free: 3.891 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.184, allocations: 0 / 419.6 MB, free: 3.891 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004942/0.1845, allocations: 88.12 kB / 419.7 MB, free: 3.805 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004202/0.185, allocations: 43.92 kB / 419.7 MB, free: 3.762 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.186, allocations: 372 kB / 420.1 MB, free: 3.371 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.1864, allocations: 0.7283 MB / 420.8 MB, free: 2.617 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.1865, allocations: 23.42 kB / 420.9 MB, free: 2.594 MB / 346.7 MB Notification: Performance of SimCode: time 8.01e-07/0.1865, allocations: 0 / 420.9 MB, free: 2.594 MB / 346.7 MB Notification: Performance of Templates: time 0.3639/0.5504, allocations: 2.743 MB / 423.6 MB, free: 12.61 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test14CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test14CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test14Functions.cpp:205:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp35.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.Test14CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test14CalcHelperMain.o] Error 1