Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadModel(ModelicaTest): time 2.502/2.502, allocations: 269 MB / 284.1 MB, free: 3.562 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.652e-05/3.664e-05, allocations: 8 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1315, allocations: 61.89 MB / 410.9 MB, free: 12.85 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.00239/0.1339, allocations: 1.353 MB / 412.3 MB, free: 11.49 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00167/0.1356, allocations: 0.7024 MB / 413 MB, free: 10.78 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.266e-05/0.1357, allocations: 4 kB / 413 MB, free: 10.78 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003113/0.1361, allocations: 71.77 kB / 413.1 MB, free: 10.71 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002038/0.1363, allocations: 63.77 kB / 413.1 MB, free: 10.64 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003223/0.1366, allocations: 71.77 kB / 413.2 MB, free: 10.57 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000152/0.1368, allocations: 55.86 kB / 413.2 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.559e-05/0.1368, allocations: 0 / 413.2 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.137, allocations: 31.92 kB / 413.3 MB, free: 10.49 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.1371, allocations: 43.89 kB / 413.3 MB, free: 10.45 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.629e-05/0.1372, allocations: 23.92 kB / 413.3 MB, free: 10.42 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.341e-05/0.1372, allocations: 4 kB / 413.4 MB, free: 10.42 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.347e-05/0.1373, allocations: 15.92 kB / 413.4 MB, free: 10.4 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.54e-05/0.1373, allocations: 4 kB / 413.4 MB, free: 10.4 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.1375, allocations: 80.05 kB / 413.4 MB, free: 10.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.1375, allocations: 0 / 413.4 MB, free: 10.32 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.1375, allocations: 0 / 413.4 MB, free: 10.32 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.1376, allocations: 0 / 413.4 MB, free: 10.32 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000536/0.1381, allocations: 391.1 kB / 413.8 MB, free: 9.891 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.1382, allocations: 8.031 kB / 413.8 MB, free: 9.883 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.894e-05/0.1382, allocations: 7.906 kB / 413.8 MB, free: 9.875 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.1385, allocations: 210.3 kB / 414.1 MB, free: 9.633 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.1386, allocations: 4 kB / 414.1 MB, free: 9.629 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.1386, allocations: 0 / 414.1 MB, free: 9.629 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.1388, allocations: 49.62 kB / 414.1 MB, free: 9.574 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.1388, allocations: 0 / 414.1 MB, free: 9.574 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.1388, allocations: 4 kB / 414.1 MB, free: 9.57 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.1388, allocations: 11.92 kB / 414.1 MB, free: 9.559 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.467e-05/0.1389, allocations: 12 kB / 414.1 MB, free: 9.547 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002459/0.1392, allocations: 181.7 kB / 414.3 MB, free: 9.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002654/0.1395, allocations: 50.62 kB / 414.4 MB, free: 9.262 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.998e-05/0.1395, allocations: 4 kB / 414.4 MB, free: 9.258 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002068/0.1397, allocations: 75.38 kB / 414.4 MB, free: 9.172 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 2.014e-06/0.1398, allocations: 0 / 414.4 MB, free: 9.172 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003795/0.1401, allocations: 93.56 kB / 414.5 MB, free: 9.074 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.1402, allocations: 55.41 kB / 414.6 MB, free: 9.008 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002639/0.1405, allocations: 189.4 kB / 414.8 MB, free: 8.812 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.1405, allocations: 29.69 kB / 414.8 MB, free: 8.777 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.224e-05/0.1406, allocations: 170.5 kB / 415 MB, free: 8.609 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.599e-05/0.1407, allocations: 11.8 kB / 415 MB, free: 8.598 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/0.1407, allocations: 8 kB / 415 MB, free: 8.59 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.1408, allocations: 314.8 kB / 415.3 MB, free: 8.273 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.55e-05/0.1409, allocations: 15.98 kB / 415.3 MB, free: 8.258 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.807e-05/0.141, allocations: 25.66 kB / 415.3 MB, free: 8.227 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.112e-05/0.1411, allocations: 19.98 kB / 415.3 MB, free: 8.207 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1411, allocations: 0 / 415.3 MB, free: 8.207 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002192/0.1413, allocations: 69.69 kB / 415.4 MB, free: 8.133 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.1414, allocations: 10.69 kB / 415.4 MB, free: 8.125 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1414, allocations: 0 / 415.4 MB, free: 8.125 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.1414, allocations: 7.953 kB / 415.4 MB, free: 8.117 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.1415, allocations: 15.92 kB / 415.4 MB, free: 8.102 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.1416, allocations: 0 / 415.4 MB, free: 8.102 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.865e-05/0.1416, allocations: 7.938 kB / 415.5 MB, free: 8.094 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.098e-06/0.1417, allocations: 0 / 415.5 MB, free: 8.094 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 (7): * Single equations (assignments): 7 * 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.0001302/0.1418, allocations: 133.8 kB / 415.6 MB, free: 7.953 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/0.1418, allocations: 11.81 kB / 415.6 MB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.378e-05/0.1419, allocations: 21 kB / 415.6 MB, free: 7.918 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.1419, allocations: 3.953 kB / 415.6 MB, free: 7.914 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1419, allocations: 0 / 415.6 MB, free: 7.914 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.142, allocations: 3.984 kB / 415.6 MB, free: 7.91 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001895/0.1422, allocations: 181.6 kB / 415.8 MB, free: 7.684 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1422, allocations: 0 / 415.8 MB, free: 7.684 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.306e-05/0.1422, allocations: 4 kB / 415.8 MB, free: 7.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1422, allocations: 0 / 415.8 MB, free: 7.68 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.1422, allocations: 0 / 415.8 MB, free: 7.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/0.1423, allocations: 4 kB / 415.8 MB, free: 7.676 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.064e-06/0.1423, allocations: 15.88 kB / 415.8 MB, free: 7.66 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002672/0.1426, allocations: 105.3 kB / 415.9 MB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.641e-05/0.1426, allocations: 92.91 kB / 416 MB, free: 7.43 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.991e-05/0.1427, allocations: 0 / 416 MB, free: 7.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.684e-05/0.1428, allocations: 0 / 416 MB, free: 7.43 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.1428, allocations: 7.984 kB / 416 MB, free: 7.422 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.419e-05/0.1429, allocations: 7.953 kB / 416 MB, free: 7.414 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000214/0.1431, allocations: 162 kB / 416.2 MB, free: 7.258 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1431, allocations: 7.938 kB / 416.2 MB, free: 7.25 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002973/0.1434, allocations: 12 kB / 416.2 MB, free: 7.238 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.00122/0.1447, allocations: 391.6 kB / 416.6 MB, free: 6.961 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003157/0.145, allocations: 47.91 kB / 416.6 MB, free: 6.914 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.145, allocations: 0 / 416.6 MB, free: 6.914 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.1451, allocations: 16 kB / 416.7 MB, free: 6.898 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.1455, allocations: 31.91 kB / 416.7 MB, free: 6.867 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006442/0.1462, allocations: 254.9 kB / 416.9 MB, free: 6.586 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.1465, allocations: 0.716 MB / 417.7 MB, free: 5.844 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.862e-05/0.1466, allocations: 15.38 kB / 417.7 MB, free: 5.828 MB / 346.7 MB Notification: Performance of SimCode: time 1.273e-06/0.1466, allocations: 0 / 417.7 MB, free: 5.828 MB / 346.7 MB Notification: Performance of Templates: time 0.005565/0.1522, allocations: 1.714 MB / 419.4 MB, free: 4.109 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test65CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test65CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test65Functions.cpp:205:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp16.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.Test65CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test65CalcHelperMain.o] Error 1