Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,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.Test46") Notification: Performance of loadModel(ModelicaTest): time 2.416/2.416, allocations: 269 MB / 284.1 MB, free: 3.652 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.374e-05/3.367e-05, allocations: 11.98 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1281, allocations: 61.9 MB / 410.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.002533/0.1306, allocations: 1.388 MB / 412.3 MB, free: 11.47 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001699/0.1324, allocations: 0.7257 MB / 413 MB, free: 10.74 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.212e-05/0.1325, allocations: 3.938 kB / 413.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002446/0.1328, allocations: 27.84 kB / 413.1 MB, free: 10.71 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001903/0.133, allocations: 35.88 kB / 413.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003388/0.1333, allocations: 83.75 kB / 413.2 MB, free: 10.59 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001613/0.1335, allocations: 63.86 kB / 413.3 MB, free: 10.53 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.535e-05/0.1336, allocations: 3.984 kB / 413.3 MB, free: 10.53 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.1337, allocations: 39.84 kB / 413.3 MB, free: 10.49 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.809e-05/0.1338, allocations: 23.92 kB / 413.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.1339, allocations: 24 kB / 413.3 MB, free: 10.44 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.134, allocations: 4 kB / 413.4 MB, free: 10.44 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.78e-05/0.134, allocations: 27.91 kB / 413.4 MB, free: 10.41 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.774e-05/0.1341, allocations: 7.938 kB / 413.4 MB, free: 10.4 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.1343, allocations: 96.08 kB / 413.5 MB, free: 10.31 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1343, allocations: 4 kB / 413.5 MB, free: 10.3 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1343, allocations: 0 / 413.5 MB, free: 10.3 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.1343, allocations: 0 / 413.5 MB, free: 10.3 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.0005865/0.1349, allocations: 399.1 kB / 413.9 MB, free: 9.867 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.135, allocations: 8.031 kB / 413.9 MB, free: 9.859 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.38e-05/0.1351, allocations: 15.81 kB / 413.9 MB, free: 9.844 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003195/0.1354, allocations: 210.7 kB / 414.1 MB, free: 9.598 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.1354, allocations: 4 kB / 414.1 MB, free: 9.594 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.046e-05/0.1355, allocations: 8 kB / 414.1 MB, free: 9.586 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.1357, allocations: 57.62 kB / 414.2 MB, free: 9.523 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.1357, allocations: 0 / 414.2 MB, free: 9.523 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.1357, allocations: 0 / 414.2 MB, free: 9.523 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.1357, allocations: 3.938 kB / 414.2 MB, free: 9.52 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.1358, allocations: 27.92 kB / 414.2 MB, free: 9.492 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004516/0.1363, allocations: 296.9 kB / 414.5 MB, free: 9.152 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002354/0.1366, allocations: 54.62 kB / 414.5 MB, free: 9.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.942e-05/0.1366, allocations: 4.125 kB / 414.6 MB, free: 9.086 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002046/0.1368, allocations: 67.33 kB / 414.6 MB, free: 9.008 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.194e-06/0.1368, allocations: 0 / 414.6 MB, free: 9.008 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007493/0.1376, allocations: 181.1 kB / 414.8 MB, free: 8.824 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/0.1377, allocations: 59.41 kB / 414.9 MB, free: 8.754 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000349/0.138, allocations: 246 kB / 415.1 MB, free: 8.504 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.1381, allocations: 25.7 kB / 415.1 MB, free: 8.473 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.928e-05/0.1382, allocations: 174.5 kB / 415.3 MB, free: 8.301 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.148e-05/0.1382, allocations: 23.66 kB / 415.3 MB, free: 8.277 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-06/0.1382, allocations: 0 / 415.3 MB, free: 8.277 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.1384, allocations: 318.8 kB / 415.6 MB, free: 7.957 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.895e-05/0.1385, allocations: 16 kB / 415.6 MB, free: 7.941 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.1386, allocations: 37.7 kB / 415.7 MB, free: 7.898 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.1387, allocations: 24 kB / 415.7 MB, free: 7.875 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.1387, allocations: 3.953 kB / 415.7 MB, free: 7.871 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002834/0.139, allocations: 93.61 kB / 415.8 MB, free: 7.773 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.139, allocations: 6.656 kB / 415.8 MB, free: 7.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.1391, allocations: 0 / 415.8 MB, free: 7.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.1391, allocations: 0 / 415.8 MB, free: 7.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.1392, allocations: 19.98 kB / 415.8 MB, free: 7.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.1393, allocations: 4.188 kB / 415.8 MB, free: 7.746 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.803e-05/0.1394, allocations: 7.938 kB / 415.8 MB, free: 7.738 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.1394, allocations: 4 kB / 415.8 MB, free: 7.734 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.0001531/0.1396, allocations: 133.8 kB / 416 MB, free: 7.594 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.776e-05/0.1396, allocations: 19.77 kB / 416 MB, free: 7.574 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.208e-05/0.1397, allocations: 25.38 kB / 416 MB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.1397, allocations: 0 / 416 MB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1397, allocations: 0 / 416 MB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1397, allocations: 0 / 416 MB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006682/0.1404, allocations: 411.3 kB / 416.4 MB, free: 7.082 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.1404, allocations: 0 / 416.4 MB, free: 7.082 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.526e-05/0.1405, allocations: 8 kB / 416.4 MB, free: 7.074 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.1405, allocations: 3.938 kB / 416.4 MB, free: 7.07 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.1405, allocations: 4 kB / 416.4 MB, free: 7.066 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.1406, allocations: 384 / 416.4 MB, free: 7.066 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1406, allocations: 192 / 416.4 MB, free: 7.066 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003468/0.1409, allocations: 229.8 kB / 416.7 MB, free: 6.816 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.122e-05/0.141, allocations: 100.8 kB / 416.8 MB, free: 6.699 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.196e-05/0.1411, allocations: 8 kB / 416.8 MB, free: 6.691 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.1412, allocations: 4 kB / 416.8 MB, free: 6.688 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.588e-05/0.1412, allocations: 3.984 kB / 416.8 MB, free: 6.684 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.248e-05/0.1413, allocations: 4 kB / 416.8 MB, free: 6.68 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000258/0.1415, allocations: 204.5 kB / 417 MB, free: 6.48 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1416, allocations: 0 / 417 MB, free: 6.48 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003497/0.1419, allocations: 24 kB / 417 MB, free: 6.457 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.001345/0.1433, allocations: 439.6 kB / 417.4 MB, free: 6.152 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003256/0.1436, allocations: 59.91 kB / 417.5 MB, free: 6.094 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.1437, allocations: 3.938 kB / 417.5 MB, free: 6.09 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.1438, allocations: 32.05 kB / 417.5 MB, free: 6.059 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.1442, allocations: 27.77 kB / 417.5 MB, free: 6.031 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000766/0.145, allocations: 324.6 kB / 417.9 MB, free: 5.68 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.1453, allocations: 0.7199 MB / 418.6 MB, free: 4.934 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.64e-05/0.1454, allocations: 15.44 kB / 418.6 MB, free: 4.918 MB / 346.7 MB Notification: Performance of SimCode: time 1.192e-06/0.1454, allocations: 0 / 418.6 MB, free: 4.918 MB / 346.7 MB Notification: Performance of Templates: time 0.006009/0.1514, allocations: 2.051 MB / 420.6 MB, free: 2.867 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test46CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test46CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test46Functions.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.Test46CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test46CalcHelperMain.o] Error 1