Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadModel(ModelicaTest): time 2.459/2.459, allocations: 269 MB / 284.1 MB, free: 3.562 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.469e-05/3.463e-05, allocations: 8 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1332, allocations: 61.89 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002608/0.1359, allocations: 1.427 MB / 412.4 MB, free: 11.42 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001698/0.1376, allocations: 0.7336 MB / 413.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.325e-05/0.1377, allocations: 0 / 413.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003455/0.1381, allocations: 95.67 kB / 413.2 MB, free: 10.59 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002132/0.1383, allocations: 71.81 kB / 413.2 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003488/0.1387, allocations: 83.75 kB / 413.3 MB, free: 10.44 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001974/0.1389, allocations: 79.84 kB / 413.4 MB, free: 10.36 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.268e-05/0.139, allocations: 11.98 kB / 413.4 MB, free: 10.35 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.1391, allocations: 43.84 kB / 413.5 MB, free: 10.3 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.1392, allocations: 47.89 kB / 413.5 MB, free: 10.26 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.1394, allocations: 47.92 kB / 413.6 MB, free: 10.21 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.698e-05/0.1394, allocations: 4 kB / 413.6 MB, free: 10.21 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.73e-05/0.1395, allocations: 27.91 kB / 413.6 MB, free: 10.18 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.994e-05/0.1395, allocations: 7.938 kB / 413.6 MB, free: 10.17 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002436/0.1398, allocations: 112 kB / 413.7 MB, free: 10.06 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1398, allocations: 0 / 413.7 MB, free: 10.06 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1398, allocations: 0 / 413.7 MB, free: 10.06 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.1398, allocations: 0 / 413.7 MB, free: 10.06 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005921/0.1404, allocations: 411 kB / 414.1 MB, free: 9.613 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.1405, allocations: 16.03 kB / 414.1 MB, free: 9.598 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.355e-05/0.1406, allocations: 15.81 kB / 414.1 MB, free: 9.582 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000328/0.1409, allocations: 218.6 kB / 414.4 MB, free: 9.328 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.1409, allocations: 8 kB / 414.4 MB, free: 9.32 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.155e-05/0.141, allocations: 4 kB / 414.4 MB, free: 9.316 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.1412, allocations: 81.48 kB / 414.4 MB, free: 9.23 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.1413, allocations: 0 / 414.4 MB, free: 9.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.1413, allocations: 4 kB / 414.4 MB, free: 9.227 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.1413, allocations: 0 / 414.4 MB, free: 9.227 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001935/0.1415, allocations: 39.97 kB / 414.5 MB, free: 9.188 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006619/0.1422, allocations: 328.7 kB / 414.8 MB, free: 8.816 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004327/0.1427, allocations: 82.42 kB / 414.9 MB, free: 8.727 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.1427, allocations: 0 / 414.9 MB, free: 8.727 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002652/0.143, allocations: 79.48 kB / 415 MB, free: 8.637 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.344e-06/0.143, allocations: 7.938 kB / 415 MB, free: 8.629 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.001505/0.1445, allocations: 293 kB / 415.3 MB, free: 8.336 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/0.1446, allocations: 51.41 kB / 415.3 MB, free: 8.273 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004125/0.145, allocations: 222.6 kB / 415.5 MB, free: 8.047 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.53e-05/0.1451, allocations: 29.7 kB / 415.6 MB, free: 8.012 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.1452, allocations: 178.5 kB / 415.7 MB, free: 7.836 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.674e-05/0.1453, allocations: 47.39 kB / 415.8 MB, free: 7.789 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.293e-05/0.1453, allocations: 4 kB / 415.8 MB, free: 7.785 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.1455, allocations: 322.8 kB / 416.1 MB, free: 7.461 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/0.1457, allocations: 35.98 kB / 416.1 MB, free: 7.426 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002041/0.1459, allocations: 61.62 kB / 416.2 MB, free: 7.359 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000216/0.1461, allocations: 40 kB / 416.2 MB, free: 7.32 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1462, allocations: 0 / 416.2 MB, free: 7.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005327/0.1467, allocations: 153.6 kB / 416.4 MB, free: 7.164 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.1467, allocations: 4 kB / 416.4 MB, free: 7.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.1468, allocations: 0.8438 kB / 416.4 MB, free: 7.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.1468, allocations: 3.938 kB / 416.4 MB, free: 7.156 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000228/0.147, allocations: 27.98 kB / 416.4 MB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.147, allocations: 0 / 416.4 MB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.1472, allocations: 8 kB / 416.4 MB, free: 7.121 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/0.1472, allocations: 4 kB / 416.4 MB, free: 7.117 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 (16): * Single equations (assignments): 16 * 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.0002128/0.1474, allocations: 145.8 kB / 416.6 MB, free: 6.965 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.16e-05/0.1475, allocations: 19.8 kB / 416.6 MB, free: 6.945 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/0.1476, allocations: 21.53 kB / 416.6 MB, free: 6.914 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.1476, allocations: 3.938 kB / 416.6 MB, free: 6.91 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.1477, allocations: 0 / 416.6 MB, free: 6.91 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.1477, allocations: 7.984 kB / 416.6 MB, free: 6.902 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/0.1488, allocations: 0.4921 MB / 417.1 MB, free: 6.348 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.1489, allocations: 4 kB / 417.1 MB, free: 6.344 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.149, allocations: 23.94 kB / 417.1 MB, free: 6.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.149, allocations: 0 / 417.1 MB, free: 6.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.79e-05/0.1491, allocations: 7.984 kB / 417.1 MB, free: 6.312 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.1491, allocations: 0 / 417.1 MB, free: 6.312 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.1491, allocations: 3.953 kB / 417.2 MB, free: 6.309 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006254/0.1497, allocations: 276.5 kB / 417.4 MB, free: 6.004 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.373e-05/0.1499, allocations: 92.92 kB / 417.5 MB, free: 5.895 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.601e-05/0.1499, allocations: 11.94 kB / 417.5 MB, free: 5.883 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.1502, allocations: 8 kB / 417.5 MB, free: 5.875 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.585e-05/0.1502, allocations: 15.92 kB / 417.5 MB, free: 5.859 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.651e-05/0.1503, allocations: 7.984 kB / 417.6 MB, free: 5.852 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003493/0.1507, allocations: 196 kB / 417.7 MB, free: 5.66 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.1507, allocations: 0 / 417.7 MB, free: 5.66 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006678/0.1514, allocations: 39.98 kB / 417.8 MB, free: 5.621 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.002262/0.1536, allocations: 499.8 kB / 418.3 MB, free: 5.281 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005523/0.1542, allocations: 103.9 kB / 418.4 MB, free: 5.18 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.1542, allocations: 0 / 418.4 MB, free: 5.18 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002475/0.1545, allocations: 47.92 kB / 418.4 MB, free: 5.133 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005929/0.1551, allocations: 32.16 kB / 418.5 MB, free: 5.102 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.1563, allocations: 385.7 kB / 418.8 MB, free: 4.688 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004902/0.1568, allocations: 0.7282 MB / 419.6 MB, free: 3.934 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.157, allocations: 27.42 kB / 419.6 MB, free: 3.906 MB / 346.7 MB Notification: Performance of SimCode: time 9.21e-07/0.157, allocations: 0 / 419.6 MB, free: 3.906 MB / 346.7 MB Notification: Performance of Templates: time 0.008676/0.1657, allocations: 2.434 MB / 422 MB, free: 1.477 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test5CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test5CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test5Functions.cpp:285:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp24.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.Test5CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test5CalcHelperMain.o] Error 1