Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,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.Test60") Notification: Performance of loadModel(ModelicaTest): time 2.402/2.402, allocations: 269 MB / 284.1 MB, free: 3.641 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.248e-05/3.242e-05, allocations: 4 kB / 349 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1284, allocations: 61.9 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.002522/0.131, allocations: 1.388 MB / 412.3 MB, free: 11.46 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002533/0.1336, allocations: 1.288 MB / 413.6 MB, free: 10.16 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.565e-05/0.1337, allocations: 0 / 413.6 MB, free: 10.16 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002681/0.134, allocations: 31.83 kB / 413.6 MB, free: 10.13 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001975/0.1342, allocations: 35.89 kB / 413.7 MB, free: 10.1 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003414/0.1345, allocations: 79.75 kB / 413.8 MB, free: 10.02 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.1347, allocations: 55.86 kB / 413.8 MB, free: 9.965 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.718e-05/0.1348, allocations: 12 kB / 413.8 MB, free: 9.953 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.667e-05/0.1349, allocations: 31.84 kB / 413.9 MB, free: 9.922 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.1351, allocations: 23.92 kB / 413.9 MB, free: 9.898 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.1352, allocations: 43.92 kB / 413.9 MB, free: 9.855 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.728e-05/0.1353, allocations: 4 kB / 413.9 MB, free: 9.852 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.157e-05/0.1353, allocations: 15.91 kB / 413.9 MB, free: 9.836 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.46e-05/0.1354, allocations: 4 kB / 413.9 MB, free: 9.832 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.1356, allocations: 88.09 kB / 414 MB, free: 9.746 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.1356, allocations: 3.938 kB / 414 MB, free: 9.742 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1356, allocations: 0 / 414 MB, free: 9.742 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.1356, allocations: 0 / 414 MB, free: 9.742 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.0005627/0.1362, allocations: 387.1 kB / 414.4 MB, free: 9.316 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.1363, allocations: 8.031 kB / 414.4 MB, free: 9.309 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.581e-05/0.1363, allocations: 7.906 kB / 414.4 MB, free: 9.301 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002926/0.1366, allocations: 195 kB / 414.6 MB, free: 9.07 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.1367, allocations: 3.953 kB / 414.6 MB, free: 9.066 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.949e-05/0.1367, allocations: 11.84 kB / 414.6 MB, free: 9.055 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.1369, allocations: 67.39 kB / 414.7 MB, free: 8.977 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.1369, allocations: 3.984 kB / 414.7 MB, free: 8.973 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.137, allocations: 0 / 414.7 MB, free: 8.973 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.137, allocations: 4 kB / 414.7 MB, free: 8.969 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.1371, allocations: 19.98 kB / 414.7 MB, free: 8.949 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004267/0.1375, allocations: 280.8 kB / 415 MB, free: 8.625 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002705/0.1378, allocations: 74.55 kB / 415.1 MB, free: 8.543 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.1379, allocations: 0 / 415.1 MB, free: 8.543 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000203/0.1381, allocations: 63.52 kB / 415.1 MB, free: 8.469 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 3.877e-06/0.1381, allocations: 4 kB / 415.1 MB, free: 8.465 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007151/0.1388, allocations: 169.2 kB / 415.3 MB, free: 8.293 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/0.1389, allocations: 77.11 kB / 415.4 MB, free: 8.199 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.1391, allocations: 146.8 kB / 415.5 MB, free: 8.051 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.1391, allocations: 29.7 kB / 415.5 MB, free: 8.016 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.672e-05/0.1392, allocations: 158.6 kB / 415.7 MB, free: 7.859 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.982e-05/0.1393, allocations: 27.64 kB / 415.7 MB, free: 7.832 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.042e-06/0.1393, allocations: 0 / 415.7 MB, free: 7.832 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.1394, allocations: 318.8 kB / 416 MB, free: 7.512 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.845e-05/0.1395, allocations: 23.92 kB / 416.1 MB, free: 7.488 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.1397, allocations: 46.56 kB / 416.1 MB, free: 7.434 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.948e-05/0.1398, allocations: 24.08 kB / 416.1 MB, free: 7.41 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.1398, allocations: 0 / 416.1 MB, free: 7.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002747/0.1401, allocations: 97.5 kB / 416.2 MB, free: 7.309 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.1401, allocations: 10.5 kB / 416.2 MB, free: 7.301 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.1401, allocations: 0 / 416.2 MB, free: 7.301 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.1401, allocations: 0 / 416.2 MB, free: 7.301 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.1403, allocations: 12 kB / 416.3 MB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.1403, allocations: 8.047 kB / 416.3 MB, free: 7.281 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.521e-05/0.1404, allocations: 8 kB / 416.3 MB, free: 7.273 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.1404, 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.0001227/0.1406, allocations: 121.7 kB / 416.4 MB, free: 7.141 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/0.1406, allocations: 11.91 kB / 416.4 MB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.301e-05/0.1407, allocations: 16.7 kB / 416.4 MB, free: 7.109 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.1407, allocations: 0 / 416.4 MB, free: 7.109 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1407, allocations: 0 / 416.4 MB, free: 7.109 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.1407, allocations: 0 / 416.4 MB, free: 7.109 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006225/0.1414, allocations: 395.3 kB / 416.8 MB, free: 6.664 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.175e-06/0.1414, allocations: 0 / 416.8 MB, free: 6.664 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.62e-05/0.1415, allocations: 11.98 kB / 416.8 MB, free: 6.652 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1415, allocations: 0 / 416.8 MB, free: 6.652 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.1415, allocations: 4 kB / 416.8 MB, free: 6.648 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.1415, allocations: 0 / 416.8 MB, free: 6.648 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1415, allocations: 192 / 416.8 MB, free: 6.648 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003566/0.1419, allocations: 221.9 kB / 417 MB, free: 6.406 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.809e-05/0.142, allocations: 96.94 kB / 417.1 MB, free: 6.293 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.702e-05/0.142, allocations: 384 / 417.1 MB, free: 6.293 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.1421, allocations: 7.938 kB / 417.1 MB, free: 6.285 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.1422, allocations: 19.94 kB / 417.2 MB, free: 6.266 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.14e-05/0.1422, allocations: 4 kB / 417.2 MB, free: 6.262 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001367/0.1424, allocations: 119.2 kB / 417.3 MB, free: 6.145 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1424, allocations: 0 / 417.3 MB, free: 6.145 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003543/0.1427, 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.001385/0.1441, allocations: 480.3 kB / 417.8 MB, free: 5.785 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002772/0.1444, allocations: 59.91 kB / 417.8 MB, free: 5.727 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1445, allocations: 0 / 417.8 MB, free: 5.727 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.1446, allocations: 31.98 kB / 417.9 MB, free: 5.695 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.145, allocations: 27.86 kB / 417.9 MB, free: 5.668 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005583/0.1455, allocations: 240 kB / 418.1 MB, free: 5.391 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.1458, allocations: 0.6965 MB / 418.8 MB, free: 4.668 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.857e-05/0.1459, allocations: 19.42 kB / 418.8 MB, free: 4.648 MB / 346.7 MB Notification: Performance of SimCode: time 8.11e-07/0.1459, allocations: 4 kB / 418.9 MB, free: 4.645 MB / 346.7 MB Notification: Performance of Templates: time 0.005637/0.1516, allocations: 2.053 MB / 420.9 MB, free: 2.59 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test60CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test60CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test60Functions.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.Test60CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test60CalcHelperMain.o] Error 1