Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,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.Test41") Notification: Performance of loadModel(ModelicaTest): time 2.43/2.43, allocations: 269 MB / 284.1 MB, free: 3.664 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.382e-05/3.384e-05, allocations: 4 kB / 349 MB, free: 10.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1312, allocations: 61.89 MB / 410.9 MB, free: 12.89 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002519/0.1337, allocations: 1.404 MB / 412.3 MB, free: 11.48 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.1355, allocations: 0.7141 MB / 413 MB, free: 10.76 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.288e-05/0.1356, allocations: 7.938 kB / 413.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003059/0.1359, allocations: 67.77 kB / 413.1 MB, free: 10.69 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002075/0.1361, allocations: 59.84 kB / 413.2 MB, free: 10.63 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003763/0.1365, allocations: 79.75 kB / 413.3 MB, free: 10.55 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002047/0.1367, allocations: 59.88 kB / 413.3 MB, free: 10.49 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.895e-05/0.1368, allocations: 3.984 kB / 413.3 MB, free: 10.49 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.1369, allocations: 39.84 kB / 413.4 MB, free: 10.45 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.1371, allocations: 39.91 kB / 413.4 MB, free: 10.41 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.1372, allocations: 27.97 kB / 413.4 MB, free: 10.38 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.1373, allocations: 4 kB / 413.4 MB, free: 10.38 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.853e-05/0.1373, allocations: 19.92 kB / 413.4 MB, free: 10.36 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.796e-05/0.1374, allocations: 11.94 kB / 413.5 MB, free: 10.35 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002116/0.1376, allocations: 92.03 kB / 413.5 MB, free: 10.26 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1376, allocations: 0 / 413.5 MB, free: 10.26 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1376, allocations: 0 / 413.5 MB, free: 10.26 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.227e-06/0.1376, allocations: 0 / 413.5 MB, free: 10.26 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.0005576/0.1382, allocations: 383.1 kB / 413.9 MB, free: 9.836 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.1382, allocations: 12.03 kB / 413.9 MB, free: 9.824 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.529e-05/0.1383, allocations: 7.906 kB / 413.9 MB, free: 9.816 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/0.1386, allocations: 214.2 kB / 414.2 MB, free: 9.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.1386, allocations: 4 kB / 414.2 MB, free: 9.566 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.1387, allocations: 4 kB / 414.2 MB, free: 9.562 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.1389, allocations: 57.62 kB / 414.2 MB, free: 9.5 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1389, allocations: 0 / 414.2 MB, free: 9.5 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.1389, allocations: 0 / 414.2 MB, free: 9.5 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.1389, allocations: 0 / 414.2 MB, free: 9.5 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.139, allocations: 23.92 kB / 414.2 MB, free: 9.477 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004378/0.1395, allocations: 296.8 kB / 414.5 MB, free: 9.137 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002303/0.1397, allocations: 54.67 kB / 414.6 MB, free: 9.074 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/0.1398, allocations: 4 kB / 414.6 MB, free: 9.07 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002028/0.14, allocations: 71.45 kB / 414.7 MB, free: 8.988 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.833e-06/0.14, allocations: 0 / 414.7 MB, free: 8.988 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.00075/0.1408, allocations: 181.1 kB / 414.8 MB, free: 8.805 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.1408, allocations: 55.34 kB / 414.9 MB, free: 8.738 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002754/0.1411, allocations: 193.4 kB / 415.1 MB, free: 8.539 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.1412, allocations: 25.7 kB / 415.1 MB, free: 8.508 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.057e-05/0.1413, allocations: 166.6 kB / 415.3 MB, free: 8.344 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.031e-05/0.1413, allocations: 23.66 kB / 415.3 MB, free: 8.32 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.982e-06/0.1413, allocations: 0 / 415.3 MB, free: 8.32 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.1415, allocations: 318.8 kB / 415.6 MB, free: 8 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.896e-05/0.1416, allocations: 20 kB / 415.6 MB, free: 7.98 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.1417, allocations: 33.7 kB / 415.6 MB, free: 7.941 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.1418, allocations: 27.98 kB / 415.7 MB, free: 7.914 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.1418, allocations: 3.953 kB / 415.7 MB, free: 7.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002764/0.1421, allocations: 93.61 kB / 415.8 MB, free: 7.812 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.1421, allocations: 6.656 kB / 415.8 MB, free: 7.809 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1421, allocations: 0 / 415.8 MB, free: 7.809 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.1422, allocations: 4.188 kB / 415.8 MB, free: 7.805 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.1423, allocations: 20.02 kB / 415.8 MB, free: 7.785 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.1423, allocations: 3.938 kB / 415.8 MB, free: 7.781 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.372e-05/0.1424, allocations: 8 kB / 415.8 MB, free: 7.773 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.1425, allocations: 4 kB / 415.8 MB, free: 7.77 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.0001368/0.1426, allocations: 129.8 kB / 415.9 MB, free: 7.633 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.211e-05/0.1427, allocations: 19.77 kB / 416 MB, free: 7.613 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.9e-05/0.1427, allocations: 17.39 kB / 416 MB, free: 7.59 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.1427, allocations: 0 / 416 MB, free: 7.59 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.1428, allocations: 8 kB / 416 MB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1428, allocations: 0 / 416 MB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006256/0.1434, allocations: 395.3 kB / 416.4 MB, free: 7.137 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1434, allocations: 0 / 416.4 MB, free: 7.137 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.433e-05/0.1435, allocations: 15.97 kB / 416.4 MB, free: 7.121 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.1435, allocations: 0 / 416.4 MB, free: 7.121 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.1435, allocations: 3.938 kB / 416.4 MB, free: 7.117 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-06/0.1436, allocations: 4 kB / 416.4 MB, free: 7.113 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.1436, allocations: 32 / 416.4 MB, free: 7.113 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003461/0.1439, allocations: 221.8 kB / 416.6 MB, free: 6.871 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.672e-05/0.144, allocations: 89 kB / 416.7 MB, free: 6.766 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/0.1441, allocations: 4 kB / 416.7 MB, free: 6.762 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.1442, allocations: 4 kB / 416.7 MB, free: 6.758 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/0.1442, allocations: 11.98 kB / 416.7 MB, free: 6.746 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.1443, allocations: 0 / 416.7 MB, free: 6.746 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001947/0.1445, allocations: 161 kB / 416.9 MB, free: 6.59 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1445, allocations: 0 / 416.9 MB, free: 6.59 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003762/0.1449, allocations: 28 kB / 416.9 MB, free: 6.562 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.001288/0.1462, allocations: 440 kB / 417.3 MB, free: 6.258 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002819/0.1465, allocations: 59.86 kB / 417.4 MB, free: 6.199 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.1465, allocations: 64 / 417.4 MB, free: 6.199 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.1466, allocations: 39.86 kB / 417.4 MB, free: 6.16 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.147, allocations: 28.23 kB / 417.5 MB, free: 6.133 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006721/0.1477, allocations: 283.7 kB / 417.7 MB, free: 5.82 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003974/0.1481, allocations: 0.716 MB / 418.5 MB, free: 5.078 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.657e-05/0.1482, allocations: 19.42 kB / 418.5 MB, free: 5.059 MB / 346.7 MB Notification: Performance of SimCode: time 1.002e-06/0.1482, allocations: 0 / 418.5 MB, free: 5.059 MB / 346.7 MB Notification: Performance of Templates: time 0.005392/0.1536, allocations: 1.945 MB / 420.4 MB, free: 3.117 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test41CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test41CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test41Functions.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.Test41CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test41CalcHelperMain.o] Error 1