Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,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.Test51") Notification: Performance of loadModel(ModelicaTest): time 2.426/2.426, allocations: 269 MB / 284.1 MB, free: 3.57 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.133e-05/5.143e-05, allocations: 11.98 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1419, allocations: 61.89 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002516/0.1444, allocations: 1.388 MB / 412.3 MB, free: 11.46 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001672/0.1462, allocations: 0.7258 MB / 413 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.936e-05/0.1463, allocations: 3.938 kB / 413 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002357/0.1465, allocations: 23.84 kB / 413.1 MB, free: 10.71 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001933/0.1467, allocations: 51.86 kB / 413.1 MB, free: 10.66 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003456/0.1471, allocations: 79.75 kB / 413.2 MB, free: 10.58 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001718/0.1473, allocations: 55.86 kB / 413.3 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.44e-05/0.1474, allocations: 8 kB / 413.3 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.934e-05/0.1475, allocations: 31.86 kB / 413.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.38e-05/0.1476, allocations: 23.91 kB / 413.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.1477, allocations: 27.98 kB / 413.3 MB, free: 10.43 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.1478, allocations: 8 kB / 413.4 MB, free: 10.43 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.837e-05/0.1478, allocations: 19.92 kB / 413.4 MB, free: 10.41 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.857e-05/0.1478, allocations: 4 kB / 413.4 MB, free: 10.4 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.1481, allocations: 96.02 kB / 413.5 MB, free: 10.31 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1481, allocations: 0 / 413.5 MB, free: 10.31 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.544e-06/0.1481, allocations: 0 / 413.5 MB, free: 10.31 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.1481, allocations: 0 / 413.5 MB, free: 10.31 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.000571/0.1487, allocations: 387.1 kB / 413.8 MB, free: 9.883 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.522e-05/0.1488, allocations: 12.03 kB / 413.9 MB, free: 9.871 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.004e-05/0.1488, allocations: 15.81 kB / 413.9 MB, free: 9.855 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003028/0.1492, allocations: 202.9 kB / 414.1 MB, free: 9.617 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.1492, allocations: 8 kB / 414.1 MB, free: 9.609 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/0.1492, allocations: 0 / 414.1 MB, free: 9.609 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.1494, allocations: 57.62 kB / 414.1 MB, free: 9.547 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.1495, allocations: 3.984 kB / 414.1 MB, free: 9.543 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.1495, allocations: 0 / 414.1 MB, free: 9.543 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.1495, allocations: 4 kB / 414.1 MB, free: 9.539 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.1496, allocations: 23.86 kB / 414.2 MB, free: 9.516 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004505/0.1501, allocations: 296.8 kB / 414.5 MB, free: 9.176 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/0.1503, allocations: 58.62 kB / 414.5 MB, free: 9.109 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.1504, allocations: 0 / 414.5 MB, free: 9.109 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001986/0.1506, allocations: 67.45 kB / 414.6 MB, free: 9.031 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.944e-06/0.1506, allocations: 4 kB / 414.6 MB, free: 9.027 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007578/0.1514, allocations: 177.1 kB / 414.8 MB, free: 8.848 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.1514, allocations: 51.41 kB / 414.8 MB, free: 8.785 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002879/0.1517, allocations: 206.3 kB / 415 MB, free: 8.57 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.1518, allocations: 33.69 kB / 415 MB, free: 8.531 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.732e-05/0.1519, allocations: 162.6 kB / 415.2 MB, free: 8.371 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.899e-05/0.1519, allocations: 23.66 kB / 415.2 MB, free: 8.348 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-06/0.1519, allocations: 0 / 415.2 MB, free: 8.348 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.1521, allocations: 326.8 kB / 415.5 MB, free: 8.02 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.1522, allocations: 12 kB / 415.6 MB, free: 8.008 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.1523, allocations: 41.69 kB / 415.6 MB, free: 7.961 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.1524, allocations: 28.06 kB / 415.6 MB, free: 7.934 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.1524, allocations: 3.953 kB / 415.6 MB, free: 7.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002712/0.1527, allocations: 93.52 kB / 415.7 MB, free: 7.832 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.1527, allocations: 12.03 kB / 415.7 MB, free: 7.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.1527, allocations: 0 / 415.7 MB, free: 7.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.1528, allocations: 0 / 415.7 MB, free: 7.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.1529, allocations: 16.36 kB / 415.7 MB, free: 7.805 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.1529, allocations: 4 kB / 415.7 MB, free: 7.801 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.388e-05/0.153, allocations: 8 kB / 415.8 MB, free: 7.793 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.1531, allocations: 7.938 kB / 415.8 MB, free: 7.785 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.0001351/0.1532, allocations: 129.8 kB / 415.9 MB, free: 7.648 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.841e-05/0.1532, allocations: 11.86 kB / 415.9 MB, free: 7.637 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.777e-05/0.1533, allocations: 25.39 kB / 415.9 MB, free: 7.605 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1533, allocations: 0 / 415.9 MB, free: 7.605 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1533, allocations: 0 / 415.9 MB, free: 7.605 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.1534, allocations: 0 / 415.9 MB, free: 7.605 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006271/0.154, allocations: 403.2 kB / 416.3 MB, free: 7.152 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.154, allocations: 0 / 416.3 MB, free: 7.152 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.148e-05/0.1541, allocations: 8 kB / 416.3 MB, free: 7.145 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.926e-06/0.1541, allocations: 3.984 kB / 416.3 MB, free: 7.141 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.1541, allocations: 7.969 kB / 416.3 MB, free: 7.133 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.1541, allocations: 4 kB / 416.3 MB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.1541, allocations: 192 / 416.3 MB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003414/0.1545, allocations: 213.9 kB / 416.6 MB, free: 6.895 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.798e-05/0.1546, allocations: 96.86 kB / 416.6 MB, free: 6.781 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.564e-05/0.1546, allocations: 3.984 kB / 416.7 MB, free: 6.777 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.1547, allocations: 8 kB / 416.7 MB, free: 6.77 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.1548, allocations: 4 kB / 416.7 MB, free: 6.766 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-05/0.1548, allocations: 7.984 kB / 416.7 MB, free: 6.758 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002084/0.155, allocations: 168.3 kB / 416.8 MB, free: 6.594 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1551, allocations: 0 / 416.8 MB, free: 6.594 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000369/0.1554, allocations: 27.98 kB / 416.9 MB, free: 6.566 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.001297/0.1567, allocations: 455 kB / 417.3 MB, free: 6.25 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002878/0.1571, allocations: 55.92 kB / 417.4 MB, free: 6.195 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.1571, allocations: 0 / 417.4 MB, free: 6.195 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.1572, allocations: 39.84 kB / 417.4 MB, free: 6.156 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.1576, allocations: 24.16 kB / 417.4 MB, free: 6.133 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006747/0.1583, allocations: 299.9 kB / 417.7 MB, free: 5.805 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.1586, allocations: 0.716 MB / 418.4 MB, free: 5.062 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.081e-05/0.1587, allocations: 15.44 kB / 418.4 MB, free: 5.047 MB / 346.7 MB Notification: Performance of SimCode: time 9.51e-07/0.1587, allocations: 0 / 418.4 MB, free: 5.047 MB / 346.7 MB Notification: Performance of Templates: time 0.005401/0.1641, allocations: 1.969 MB / 420.4 MB, free: 3.078 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test51CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test51CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test51Functions.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.Test51CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test51CalcHelperMain.o] Error 1