Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,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.Test59") Notification: Performance of loadModel(ModelicaTest): time 2.448/2.448, allocations: 269 MB / 284.1 MB, free: 3.559 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.016e-05/4.008e-05, allocations: 8 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1287, allocations: 61.9 MB / 410.9 MB, free: 12.85 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.002504/0.1313, allocations: 1.392 MB / 412.3 MB, free: 11.45 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002576/0.1339, allocations: 1.288 MB / 413.6 MB, free: 10.15 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.1341, allocations: 0 / 413.6 MB, free: 10.15 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002561/0.1344, allocations: 31.83 kB / 413.6 MB, free: 10.12 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001958/0.1346, allocations: 31.89 kB / 413.7 MB, free: 10.09 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003578/0.135, allocations: 83.75 kB / 413.8 MB, free: 10.01 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001595/0.1351, allocations: 59.86 kB / 413.8 MB, free: 9.949 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.156e-05/0.1352, allocations: 0 / 413.8 MB, free: 9.949 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.1354, allocations: 35.84 kB / 413.8 MB, free: 9.914 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.1355, allocations: 23.92 kB / 413.9 MB, free: 9.891 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001656/0.1357, allocations: 47.91 kB / 413.9 MB, free: 9.844 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.734e-05/0.1357, allocations: 4 kB / 413.9 MB, free: 9.84 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.505e-05/0.1358, allocations: 15.92 kB / 413.9 MB, free: 9.824 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.704e-05/0.1358, allocations: 4 kB / 413.9 MB, free: 9.82 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.1361, allocations: 84.09 kB / 414 MB, free: 9.738 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1361, allocations: 11.94 kB / 414 MB, free: 9.727 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1361, allocations: 0 / 414 MB, free: 9.727 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.818e-06/0.1361, allocations: 0 / 414 MB, free: 9.727 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.0005786/0.1367, allocations: 379.1 kB / 414.4 MB, free: 9.309 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.1368, allocations: 8.031 kB / 414.4 MB, free: 9.301 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.062e-05/0.1368, allocations: 7.906 kB / 414.4 MB, free: 9.293 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003156/0.1372, allocations: 199 kB / 414.6 MB, free: 9.059 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.1372, allocations: 3.953 kB / 414.6 MB, free: 9.055 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.659e-05/0.1372, allocations: 11.91 kB / 414.6 MB, free: 9.043 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002127/0.1375, allocations: 63.39 kB / 414.7 MB, free: 8.969 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.1375, allocations: 0 / 414.7 MB, free: 8.969 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.1375, allocations: 7.984 kB / 414.7 MB, free: 8.961 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.1375, allocations: 4 kB / 414.7 MB, free: 8.957 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.1376, allocations: 12 kB / 414.7 MB, free: 8.945 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004693/0.1381, allocations: 288.7 kB / 415 MB, free: 8.613 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002417/0.1384, allocations: 62.67 kB / 415.1 MB, free: 8.543 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.821e-05/0.1384, allocations: 0 / 415.1 MB, free: 8.543 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000212/0.1386, allocations: 67.52 kB / 415.1 MB, free: 8.465 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 6.221e-06/0.1387, allocations: 0 / 415.1 MB, free: 8.465 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007393/0.1394, allocations: 177.2 kB / 415.3 MB, free: 8.285 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.081e-05/0.1395, allocations: 81.11 kB / 415.4 MB, free: 8.188 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000196/0.1397, allocations: 143.3 kB / 415.5 MB, free: 8.043 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.141e-05/0.1397, allocations: 33.7 kB / 415.6 MB, free: 8.004 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.884e-05/0.1398, allocations: 154.6 kB / 415.7 MB, free: 7.852 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.066e-05/0.1399, allocations: 27.64 kB / 415.7 MB, free: 7.824 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-06/0.1399, allocations: 0 / 415.7 MB, free: 7.824 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.14, allocations: 318.8 kB / 416 MB, free: 7.504 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.007e-05/0.1401, allocations: 27.98 kB / 416.1 MB, free: 7.477 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.1403, allocations: 38.56 kB / 416.1 MB, free: 7.43 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.1404, allocations: 24 kB / 416.1 MB, free: 7.406 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1404, allocations: 0 / 416.1 MB, free: 7.406 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003043/0.1407, allocations: 93.52 kB / 416.2 MB, free: 7.309 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.1407, allocations: 6.656 kB / 416.2 MB, free: 7.305 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/0.1408, allocations: 4 kB / 416.2 MB, free: 7.301 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.1408, allocations: 4.062 kB / 416.2 MB, free: 7.297 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.1409, allocations: 19.98 kB / 416.3 MB, free: 7.277 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.141, allocations: 0 / 416.3 MB, free: 7.277 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.556e-05/0.1411, allocations: 4 kB / 416.3 MB, free: 7.273 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.1411, allocations: 4 kB / 416.3 MB, free: 7.27 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.0001354/0.1412, allocations: 125.7 kB / 416.4 MB, free: 7.137 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.101e-05/0.1413, allocations: 11.91 kB / 416.4 MB, free: 7.125 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.664e-05/0.1413, allocations: 12.7 kB / 416.4 MB, free: 7.109 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.1414, allocations: 4 kB / 416.4 MB, free: 7.105 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.1414, allocations: 4 kB / 416.4 MB, free: 7.102 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.1414, allocations: 0 / 416.4 MB, free: 7.102 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006598/0.142, allocations: 387.3 kB / 416.8 MB, free: 6.664 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.1421, allocations: 0 / 416.8 MB, free: 6.664 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.338e-05/0.1421, allocations: 11.98 kB / 416.8 MB, free: 6.652 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.1422, allocations: 0 / 416.8 MB, free: 6.652 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.1422, allocations: 8 kB / 416.8 MB, free: 6.645 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.1422, allocations: 192 / 416.8 MB, free: 6.645 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1422, allocations: 4.031 kB / 416.8 MB, free: 6.641 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003373/0.1426, allocations: 222.1 kB / 417 MB, free: 6.398 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.653e-05/0.1426, allocations: 89 kB / 417.1 MB, free: 6.293 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.838e-05/0.1427, allocations: 3.984 kB / 417.1 MB, free: 6.289 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.1428, allocations: 11.94 kB / 417.1 MB, free: 6.277 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.943e-05/0.1429, allocations: 15.94 kB / 417.2 MB, free: 6.262 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.1429, allocations: 384 / 417.2 MB, free: 6.262 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000138/0.1431, allocations: 115.2 kB / 417.3 MB, free: 6.148 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.1431, allocations: 4 kB / 417.3 MB, free: 6.145 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003624/0.1434, allocations: 31.91 kB / 417.3 MB, free: 6.113 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.001439/0.1449, allocations: 493.5 kB / 417.8 MB, free: 5.77 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002989/0.1452, allocations: 51.92 kB / 417.8 MB, free: 5.719 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1452, allocations: 0 / 417.8 MB, free: 5.719 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.1454, allocations: 31.92 kB / 417.9 MB, free: 5.688 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.1458, allocations: 35.84 kB / 417.9 MB, free: 5.652 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005883/0.1464, allocations: 232 kB / 418.1 MB, free: 5.383 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.1467, allocations: 0.6965 MB / 418.8 MB, free: 4.66 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.983e-05/0.1468, allocations: 19.42 kB / 418.8 MB, free: 4.641 MB / 346.7 MB Notification: Performance of SimCode: time 8.31e-07/0.1468, allocations: 4 kB / 418.8 MB, free: 4.637 MB / 346.7 MB Notification: Performance of Templates: time 0.005696/0.1525, allocations: 2.062 MB / 420.9 MB, free: 2.578 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test59CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test59CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test59Functions.cpp:258: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.Test59CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test59CalcHelperMain.o] Error 1