Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadModel(ModelicaTest): time 2.59/2.59, allocations: 269 MB / 284.1 MB, free: 3.621 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.846e-05/3.845e-05, allocations: 8 kB / 349 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1318, allocations: 61.89 MB / 410.9 MB, free: 12.84 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002425/0.1343, allocations: 1.361 MB / 412.3 MB, free: 11.47 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001649/0.136, allocations: 0.7063 MB / 413 MB, free: 10.76 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.083e-05/0.1361, allocations: 3.938 kB / 413 MB, free: 10.75 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002656/0.1364, allocations: 27.84 kB / 413 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001995/0.1366, allocations: 43.84 kB / 413.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003556/0.137, allocations: 79.75 kB / 413.1 MB, free: 10.61 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001542/0.1372, allocations: 55.88 kB / 413.2 MB, free: 10.55 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.885e-05/0.1372, allocations: 4 kB / 413.2 MB, free: 10.55 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.1373, allocations: 31.86 kB / 413.2 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.665e-05/0.1375, allocations: 23.91 kB / 413.3 MB, free: 10.49 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.1376, allocations: 23.98 kB / 413.3 MB, free: 10.47 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.1376, allocations: 0 / 413.3 MB, free: 10.47 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.471e-05/0.1377, allocations: 23.92 kB / 413.3 MB, free: 10.45 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.889e-05/0.1377, allocations: 4 kB / 413.3 MB, free: 10.44 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001998/0.1379, allocations: 84.09 kB / 413.4 MB, free: 10.36 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1379, allocations: 0 / 413.4 MB, free: 10.36 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.258e-06/0.138, allocations: 11.98 kB / 413.4 MB, free: 10.35 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.138, allocations: 0 / 413.4 MB, free: 10.35 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000566/0.1386, allocations: 389.5 kB / 413.8 MB, free: 9.922 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.1386, allocations: 8.031 kB / 413.8 MB, free: 9.914 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.423e-05/0.1387, allocations: 15.81 kB / 413.8 MB, free: 9.898 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002974/0.139, allocations: 206.8 kB / 414 MB, free: 9.656 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.139, allocations: 0 / 414 MB, free: 9.656 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.139, allocations: 4 kB / 414 MB, free: 9.652 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.1392, allocations: 53.62 kB / 414.1 MB, free: 9.594 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.1392, allocations: 3.938 kB / 414.1 MB, free: 9.59 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.1393, allocations: 0 / 414.1 MB, free: 9.59 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.1393, allocations: 4 kB / 414.1 MB, free: 9.586 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.482e-05/0.1394, allocations: 15.98 kB / 414.1 MB, free: 9.57 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002472/0.1396, allocations: 193.5 kB / 414.3 MB, free: 9.332 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002314/0.1399, allocations: 54.55 kB / 414.3 MB, free: 9.27 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.107e-05/0.1399, allocations: 7.984 kB / 414.3 MB, free: 9.262 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002062/0.1402, allocations: 71.44 kB / 414.4 MB, free: 9.18 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 2.295e-06/0.1402, allocations: 4 kB / 414.4 MB, free: 9.176 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004043/0.1406, allocations: 93.52 kB / 414.5 MB, free: 9.078 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.1406, allocations: 51.41 kB / 414.6 MB, free: 9.016 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000347/0.141, allocations: 246 kB / 414.8 MB, free: 8.766 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.141, allocations: 37.69 kB / 414.8 MB, free: 8.723 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.667e-05/0.1411, allocations: 170.5 kB / 415 MB, free: 8.555 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.178e-05/0.1412, allocations: 7.906 kB / 415 MB, free: 8.547 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.755e-06/0.1412, allocations: 4 kB / 415 MB, free: 8.543 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.1413, allocations: 310.8 kB / 415.3 MB, free: 8.23 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.357e-05/0.1414, allocations: 15.98 kB / 415.3 MB, free: 8.215 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.461e-05/0.1415, allocations: 21.72 kB / 415.4 MB, free: 8.188 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.92e-05/0.1416, allocations: 27.98 kB / 415.4 MB, free: 8.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1416, allocations: 0 / 415.4 MB, free: 8.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002321/0.1419, allocations: 69.62 kB / 415.4 MB, free: 8.086 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.1419, allocations: 6.812 kB / 415.5 MB, free: 8.082 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.1419, allocations: 4 kB / 415.5 MB, free: 8.078 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.142, allocations: 3.953 kB / 415.5 MB, free: 8.074 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.1421, allocations: 11.98 kB / 415.5 MB, free: 8.062 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.1421, allocations: 0 / 415.5 MB, free: 8.062 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.582e-05/0.1422, allocations: 7.906 kB / 415.5 MB, free: 8.055 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.1422, allocations: 8.031 kB / 415.5 MB, free: 8.047 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 (7): * Single equations (assignments): 7 * 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.0001451/0.1424, allocations: 137.8 kB / 415.6 MB, free: 7.902 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.171e-05/0.1424, allocations: 11.91 kB / 415.6 MB, free: 7.891 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.359e-05/0.1425, allocations: 20.98 kB / 415.7 MB, free: 7.863 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.1425, allocations: 3.953 kB / 415.7 MB, free: 7.859 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1425, allocations: 0 / 415.7 MB, free: 7.859 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/0.1425, allocations: 0 / 415.7 MB, free: 7.859 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002008/0.1428, allocations: 201.5 kB / 415.9 MB, free: 7.613 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.1428, allocations: 0 / 415.9 MB, free: 7.613 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.678e-05/0.1428, allocations: 4 kB / 415.9 MB, free: 7.609 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.1428, allocations: 4 kB / 415.9 MB, free: 7.605 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.1428, allocations: 0 / 415.9 MB, free: 7.605 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.1429, allocations: 4 kB / 415.9 MB, free: 7.602 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.1429, allocations: 3.953 kB / 415.9 MB, free: 7.598 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.1432, allocations: 109.3 kB / 416 MB, free: 7.473 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.4e-05/0.1432, allocations: 96.91 kB / 416.1 MB, free: 7.359 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.412e-05/0.1433, allocations: 0 / 416.1 MB, free: 7.359 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.016e-05/0.1434, allocations: 11.94 kB / 416.1 MB, free: 7.348 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.906e-05/0.1434, allocations: 0 / 416.1 MB, free: 7.348 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.737e-05/0.1435, allocations: 15.94 kB / 416.1 MB, free: 7.332 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002536/0.1437, allocations: 188.5 kB / 416.3 MB, free: 7.148 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1437, allocations: 3.938 kB / 416.3 MB, free: 7.145 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002779/0.144, allocations: 20 kB / 416.3 MB, free: 7.125 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001195/0.1452, allocations: 391.9 kB / 416.7 MB, free: 6.848 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002627/0.1455, allocations: 39.97 kB / 416.7 MB, free: 6.809 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.1455, allocations: 0 / 416.7 MB, free: 6.809 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.196e-05/0.1456, allocations: 19.94 kB / 416.7 MB, free: 6.789 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.146, allocations: 27.75 kB / 416.8 MB, free: 6.762 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006643/0.1467, allocations: 295.6 kB / 417.1 MB, free: 6.441 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.147, allocations: 0.7238 MB / 417.8 MB, free: 5.691 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.293e-05/0.1471, allocations: 15.44 kB / 417.8 MB, free: 5.676 MB / 346.7 MB Notification: Performance of SimCode: time 9.92e-07/0.1471, allocations: 0 / 417.8 MB, free: 5.676 MB / 346.7 MB Notification: Performance of Templates: time 0.005292/0.1524, allocations: 1.805 MB / 419.6 MB, free: 3.863 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64Functions.cpp:205:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp16.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.Test64CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64CalcHelperMain.o] Error 1