Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadModel(ModelicaTest): time 2.456/2.456, allocations: 269 MB / 284.1 MB, free: 3.633 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.758e-05/3.767e-05, allocations: 12 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1274, allocations: 61.88 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.002752/0.1302, allocations: 1.544 MB / 412.5 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.1322, allocations: 0.8193 MB / 413.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.1323, allocations: 0 / 413.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004133/0.1328, allocations: 143.6 kB / 413.4 MB, free: 10.34 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003234/0.1331, allocations: 111.7 kB / 413.5 MB, free: 10.23 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005874/0.1337, allocations: 139.6 kB / 413.7 MB, free: 10.09 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002795/0.134, allocations: 127.7 kB / 413.8 MB, free: 9.969 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.851e-05/0.1341, allocations: 23.97 kB / 413.8 MB, free: 9.945 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001671/0.1343, allocations: 79.7 kB / 413.9 MB, free: 9.867 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001945/0.1345, allocations: 87.78 kB / 414 MB, free: 9.781 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001634/0.1347, allocations: 39.92 kB / 414 MB, free: 9.742 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.556e-05/0.1347, allocations: 8 kB / 414 MB, free: 9.734 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.077e-05/0.1348, allocations: 43.83 kB / 414.1 MB, free: 9.691 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.175e-05/0.1349, allocations: 16 kB / 414.1 MB, free: 9.676 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002893/0.1352, allocations: 151.9 kB / 414.2 MB, free: 9.527 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.1352, allocations: 0 / 414.2 MB, free: 9.527 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1352, allocations: 4 kB / 414.2 MB, free: 9.523 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.1352, allocations: 0 / 414.2 MB, free: 9.523 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007498/0.136, allocations: 470.7 kB / 414.7 MB, free: 9.016 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.1361, allocations: 8.031 kB / 414.7 MB, free: 9.008 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.537e-05/0.1362, allocations: 23.72 kB / 414.7 MB, free: 8.984 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000418/0.1366, allocations: 266.4 kB / 415 MB, free: 8.684 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.1366, allocations: 4 kB / 415 MB, free: 8.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.538e-05/0.1367, allocations: 8 kB / 415 MB, free: 8.672 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000323/0.137, allocations: 111.3 kB / 415.1 MB, free: 8.551 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.137, allocations: 0 / 415.1 MB, free: 8.551 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.1371, allocations: 0 / 415.1 MB, free: 8.551 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.1371, allocations: 4 kB / 415.1 MB, free: 8.547 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002018/0.1373, allocations: 55.83 kB / 415.2 MB, free: 8.492 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006953/0.138, allocations: 468.7 kB / 415.6 MB, free: 7.98 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005483/0.1386, allocations: 121.2 kB / 415.8 MB, free: 7.844 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.566e-05/0.1386, allocations: 8 kB / 415.8 MB, free: 7.836 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003261/0.139, allocations: 113.1 kB / 415.9 MB, free: 7.707 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 2.645e-06/0.139, allocations: 0 / 415.9 MB, free: 7.707 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.001951/0.1409, allocations: 489.1 kB / 416.3 MB, free: 7.223 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.194e-05/0.141, allocations: 89.06 kB / 416.4 MB, free: 7.117 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005049/0.1415, allocations: 318.2 kB / 416.7 MB, free: 6.805 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.289e-05/0.1416, allocations: 29.7 kB / 416.8 MB, free: 6.77 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.1417, allocations: 190.9 kB / 417 MB, free: 6.582 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.302e-05/0.1418, allocations: 71.09 kB / 417 MB, free: 6.512 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.56e-05/0.1419, allocations: 4 kB / 417 MB, free: 6.508 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.142, allocations: 326.8 kB / 417.4 MB, free: 6.18 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/0.1422, allocations: 55.97 kB / 417.4 MB, free: 6.125 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002343/0.1425, allocations: 87.41 kB / 417.5 MB, free: 6.027 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000232/0.1427, allocations: 71.86 kB / 417.6 MB, free: 5.957 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1427, allocations: 0 / 417.6 MB, free: 5.957 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006062/0.1433, allocations: 205.4 kB / 417.8 MB, free: 5.75 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.1434, allocations: 10.81 kB / 417.8 MB, free: 5.742 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.1434, allocations: 0 / 417.8 MB, free: 5.742 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.1434, allocations: 4 kB / 417.8 MB, free: 5.738 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002873/0.1437, allocations: 39.92 kB / 417.8 MB, free: 5.699 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.1437, allocations: 7.984 kB / 417.8 MB, free: 5.691 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/0.1439, allocations: 11.95 kB / 417.8 MB, free: 5.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.585e-05/0.1439, allocations: 8 kB / 417.8 MB, free: 5.672 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.000222/0.1442, allocations: 161.8 kB / 418 MB, free: 5.504 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.137e-05/0.1442, allocations: 27.62 kB / 418 MB, free: 5.477 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001057/0.1444, allocations: 33.97 kB / 418.1 MB, free: 5.445 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.1444, allocations: 4 kB / 418.1 MB, free: 5.441 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.1444, allocations: 0 / 418.1 MB, free: 5.441 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.1444, allocations: 0 / 418.1 MB, free: 5.441 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/0.1457, allocations: 0.7272 MB / 418.8 MB, free: 4.645 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.1458, allocations: 4 kB / 418.8 MB, free: 4.641 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/0.1459, allocations: 31.97 kB / 418.8 MB, free: 4.609 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.173e-06/0.146, allocations: 3.953 kB / 418.8 MB, free: 4.605 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.44e-05/0.146, allocations: 8 kB / 418.8 MB, free: 4.598 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.694e-06/0.146, allocations: 7.984 kB / 418.8 MB, free: 4.59 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/0.146, allocations: 4.062 kB / 418.9 MB, free: 4.586 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008072/0.1468, allocations: 476.4 kB / 419.3 MB, free: 4.066 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.147, allocations: 108.7 kB / 419.4 MB, free: 3.941 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.857e-05/0.147, allocations: 11.95 kB / 419.4 MB, free: 3.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/0.1473, allocations: 19.92 kB / 419.5 MB, free: 3.91 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.141e-05/0.1474, allocations: 15.92 kB / 419.5 MB, free: 3.895 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-05/0.1474, allocations: 15.98 kB / 419.5 MB, free: 3.879 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003851/0.1478, allocations: 261.9 kB / 419.7 MB, free: 3.621 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.1478, allocations: 4 kB / 419.7 MB, free: 3.617 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004909/0.1483, allocations: 44 kB / 419.8 MB, free: 3.574 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.001514/0.1499, allocations: 0.4944 MB / 420.3 MB, free: 3.219 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005591/0.1504, allocations: 151.8 kB / 420.4 MB, free: 3.07 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1504, allocations: 0 / 420.4 MB, free: 3.07 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002502/0.1507, allocations: 79.91 kB / 420.5 MB, free: 2.992 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005736/0.1513, allocations: 53.22 kB / 420.6 MB, free: 2.938 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.1525, allocations: 0.5429 MB / 421.1 MB, free: 2.344 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004205/0.1529, allocations: 0.7716 MB / 421.9 MB, free: 1.547 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.153, allocations: 35.42 kB / 421.9 MB, free: 1.512 MB / 346.7 MB Notification: Performance of SimCode: time 6.41e-07/0.1531, allocations: 3.938 kB / 421.9 MB, free: 1.508 MB / 346.7 MB Notification: Performance of Templates: time 0.319/0.4721, allocations: 3.441 MB / 425.4 MB, free: 11.86 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test77CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test77CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test77Functions.cpp:285:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp39.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.Test77CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test77CalcHelperMain.o] Error 1