Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadModel(ModelicaTest): time 2.345/2.345, allocations: 269 MB / 284.1 MB, free: 3.641 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.324e-05/3.321e-05, allocations: 4 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1491, allocations: 61.9 MB / 410.9 MB, free: 12.85 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002799/0.152, allocations: 1.577 MB / 412.5 MB, free: 11.26 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00179/0.1538, allocations: 0.7528 MB / 413.3 MB, free: 10.5 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.154, allocations: 4 kB / 413.3 MB, free: 10.5 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002583/0.1542, allocations: 35.77 kB / 413.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002046/0.1544, allocations: 35.88 kB / 413.3 MB, free: 10.43 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004037/0.1549, allocations: 103.6 kB / 413.4 MB, free: 10.32 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002183/0.1551, allocations: 83.83 kB / 413.5 MB, free: 10.24 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.986e-05/0.1552, allocations: 15.98 kB / 413.5 MB, free: 10.23 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.1553, allocations: 39.86 kB / 413.6 MB, free: 10.19 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.702e-05/0.1554, allocations: 39.83 kB / 413.6 MB, free: 10.15 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.1556, allocations: 31.92 kB / 413.6 MB, free: 10.12 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.758e-05/0.1556, allocations: 7.938 kB / 413.6 MB, free: 10.11 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.885e-05/0.1557, allocations: 19.92 kB / 413.7 MB, free: 10.09 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.297e-05/0.1557, allocations: 4 kB / 413.7 MB, free: 10.09 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002294/0.156, allocations: 104 kB / 413.8 MB, free: 9.984 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.156, allocations: 0 / 413.8 MB, free: 9.984 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.156, allocations: 0 / 413.8 MB, free: 9.984 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.777e-06/0.156, allocations: 0 / 413.8 MB, free: 9.984 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007065/0.1567, allocations: 436.8 kB / 414.2 MB, free: 9.504 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.1568, allocations: 8.031 kB / 414.2 MB, free: 9.496 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.837e-05/0.1568, allocations: 15.81 kB / 414.2 MB, free: 9.48 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003453/0.1572, allocations: 226.2 kB / 414.4 MB, free: 9.223 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.518e-05/0.1573, allocations: 8 kB / 414.5 MB, free: 9.215 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.04e-05/0.1573, allocations: 4 kB / 414.5 MB, free: 9.211 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004104/0.1577, allocations: 112.2 kB / 414.6 MB, free: 9.086 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.1578, allocations: 7.938 kB / 414.6 MB, free: 9.078 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/0.1578, allocations: 0 / 414.6 MB, free: 9.078 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.1578, allocations: 0 / 414.6 MB, free: 9.078 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000306/0.1581, allocations: 59.91 kB / 414.6 MB, free: 9.02 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009265/0.1591, allocations: 0.5126 MB / 415.1 MB, free: 8.449 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005637/0.1597, allocations: 90.67 kB / 415.2 MB, free: 8.352 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.174e-05/0.1597, allocations: 4 kB / 415.2 MB, free: 8.348 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003515/0.1601, allocations: 95.22 kB / 415.3 MB, free: 8.242 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 3.046e-06/0.1601, allocations: 0 / 415.3 MB, free: 8.242 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007599/0.1609, allocations: 149.4 kB / 415.5 MB, free: 8.09 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.637e-05/0.1609, allocations: 55.41 kB / 415.5 MB, free: 8.023 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003016/0.1613, allocations: 163.8 kB / 415.7 MB, free: 7.852 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.581e-05/0.1613, allocations: 29.7 kB / 415.7 MB, free: 7.816 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.1615, allocations: 178.4 kB / 415.9 MB, free: 7.641 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.69e-05/0.1615, allocations: 23.62 kB / 415.9 MB, free: 7.617 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.224e-05/0.1615, allocations: 4 kB / 415.9 MB, free: 7.613 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.1617, allocations: 326.8 kB / 416.2 MB, free: 7.285 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001848/0.1619, allocations: 27.98 kB / 416.3 MB, free: 7.258 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002169/0.1621, allocations: 60.27 kB / 416.3 MB, free: 7.184 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002143/0.1624, allocations: 43.94 kB / 416.4 MB, free: 7.141 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.1624, allocations: 0 / 416.4 MB, free: 7.141 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005491/0.163, allocations: 125.5 kB / 416.5 MB, free: 7.012 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.163, allocations: 10.81 kB / 416.5 MB, free: 7.004 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.163, allocations: 4.125 kB / 416.5 MB, free: 7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.1631, allocations: 4 kB / 416.5 MB, free: 6.996 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/0.1633, allocations: 23.98 kB / 416.5 MB, free: 6.973 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.1633, allocations: 3.938 kB / 416.5 MB, free: 6.969 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.1635, allocations: 19.83 kB / 416.6 MB, free: 6.949 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.1635, allocations: 12.45 kB / 416.6 MB, free: 6.938 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: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,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 (14): * Single equations (assignments): 14 * 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.0001733/0.1637, allocations: 125.8 kB / 416.7 MB, free: 6.805 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.848e-05/0.1638, allocations: 11.81 kB / 416.7 MB, free: 6.793 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.646e-05/0.1639, allocations: 25.39 kB / 416.7 MB, free: 6.762 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.1639, allocations: 0 / 416.7 MB, free: 6.762 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1639, allocations: 3.938 kB / 416.7 MB, free: 6.758 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.1639, allocations: 0 / 416.7 MB, free: 6.758 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003174/0.1643, allocations: 213.7 kB / 416.9 MB, free: 6.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.1643, allocations: 3.938 kB / 416.9 MB, free: 6.496 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001677/0.1645, allocations: 19.92 kB / 417 MB, free: 6.477 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.1645, allocations: 0 / 417 MB, free: 6.477 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.1645, allocations: 0 / 417 MB, free: 6.477 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.1645, allocations: 0 / 417 MB, free: 6.477 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.1645, allocations: 8 kB / 417 MB, free: 6.469 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007828/0.1653, allocations: 184.8 kB / 417.2 MB, free: 6.27 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.426e-05/0.1655, allocations: 96.97 kB / 417.2 MB, free: 6.156 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.606e-05/0.1655, allocations: 0 / 417.2 MB, free: 6.156 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.1657, allocations: 16.05 kB / 417.3 MB, free: 6.141 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.015e-05/0.1657, allocations: 4 kB / 417.3 MB, free: 6.137 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-05/0.1658, allocations: 4 kB / 417.3 MB, free: 6.133 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002318/0.166, allocations: 146 kB / 417.4 MB, free: 5.992 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.166, allocations: 0 / 417.4 MB, free: 5.992 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005292/0.1666, allocations: 31.89 kB / 417.4 MB, free: 5.961 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001557/0.1681, allocations: 388.4 kB / 417.8 MB, free: 5.691 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004966/0.1687, allocations: 87.78 kB / 417.9 MB, free: 5.605 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.1687, allocations: 0 / 417.9 MB, free: 5.605 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002202/0.1689, allocations: 48.16 kB / 418 MB, free: 5.559 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004747/0.1694, allocations: 32.16 kB / 418 MB, free: 5.527 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000896/0.1703, allocations: 327.8 kB / 418.3 MB, free: 5.18 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/0.1707, allocations: 0.7165 MB / 419 MB, free: 4.438 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.116e-05/0.1708, allocations: 19.44 kB / 419 MB, free: 4.418 MB / 346.7 MB Notification: Performance of SimCode: time 1.222e-06/0.1708, allocations: 0 / 419 MB, free: 4.418 MB / 346.7 MB Notification: Performance of Templates: time 0.007925/0.1788, allocations: 2.129 MB / 421.2 MB, free: 2.285 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test13CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test13CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test13Functions.cpp:205:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp21.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.Test13CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test13CalcHelperMain.o] Error 1