Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,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.Test35") Notification: Performance of loadModel(ModelicaTest): time 2.453/2.453, allocations: 269 MB / 284.1 MB, free: 3.652 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.375e-05/3.39e-05, allocations: 8 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1292, allocations: 61.89 MB / 410.9 MB, free: 12.85 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002551/0.1319, allocations: 1.411 MB / 412.3 MB, free: 11.43 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001779/0.1337, allocations: 0.7219 MB / 413.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.1338, allocations: 0 / 413.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003174/0.1342, allocations: 79.75 kB / 413.1 MB, free: 10.62 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002359/0.1344, allocations: 59.84 kB / 413.2 MB, free: 10.57 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004013/0.1348, allocations: 91.69 kB / 413.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001859/0.135, allocations: 63.86 kB / 413.3 MB, free: 10.41 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.486e-05/0.1351, allocations: 7.938 kB / 413.4 MB, free: 10.41 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.1353, allocations: 43.89 kB / 413.4 MB, free: 10.36 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.1354, allocations: 47.84 kB / 413.4 MB, free: 10.32 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001755/0.1356, allocations: 43.91 kB / 413.5 MB, free: 10.27 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.153e-05/0.1357, allocations: 4 kB / 413.5 MB, free: 10.27 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.132e-05/0.1358, allocations: 19.92 kB / 413.5 MB, free: 10.25 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.887e-05/0.1358, allocations: 4 kB / 413.5 MB, free: 10.25 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.1361, allocations: 100.1 kB / 413.6 MB, free: 10.15 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1361, allocations: 0 / 413.6 MB, free: 10.15 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.936e-06/0.1361, allocations: 4 kB / 413.6 MB, free: 10.14 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.1361, allocations: 0 / 413.6 MB, free: 10.14 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006203/0.1367, allocations: 395.1 kB / 414 MB, free: 9.711 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.1368, allocations: 8.031 kB / 414 MB, free: 9.703 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.504e-05/0.1369, allocations: 15.81 kB / 414 MB, free: 9.688 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003463/0.1372, allocations: 214.7 kB / 414.2 MB, free: 9.438 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.1373, allocations: 4 kB / 414.2 MB, free: 9.434 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.895e-05/0.1373, allocations: 7.984 kB / 414.2 MB, free: 9.426 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.1375, allocations: 61.62 kB / 414.3 MB, free: 9.359 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.1375, allocations: 0 / 414.3 MB, free: 9.359 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.1376, allocations: 0 / 414.3 MB, free: 9.359 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.1376, allocations: 4 kB / 414.3 MB, free: 9.355 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.1377, allocations: 23.98 kB / 414.3 MB, free: 9.332 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005306/0.1383, allocations: 308.6 kB / 414.6 MB, free: 8.98 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003266/0.1386, allocations: 58.55 kB / 414.7 MB, free: 8.914 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.1386, allocations: 0 / 414.7 MB, free: 8.914 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002218/0.1389, allocations: 75.58 kB / 414.8 MB, free: 8.828 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.144e-06/0.1389, allocations: 0 / 414.8 MB, free: 8.828 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.001121/0.14, allocations: 244.9 kB / 415 MB, free: 8.582 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.1401, allocations: 55.41 kB / 415.1 MB, free: 8.516 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003196/0.1404, allocations: 202.3 kB / 415.3 MB, free: 8.305 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.1405, allocations: 25.7 kB / 415.3 MB, free: 8.273 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.1406, allocations: 178.5 kB / 415.5 MB, free: 8.098 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.18e-05/0.1407, allocations: 35.45 kB / 415.5 MB, free: 8.062 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.935e-06/0.1407, allocations: 0 / 415.5 MB, free: 8.062 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.1408, allocations: 326.8 kB / 415.8 MB, free: 7.734 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.141, allocations: 23.98 kB / 415.8 MB, free: 7.711 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.1411, allocations: 49.64 kB / 415.9 MB, free: 7.656 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.1413, allocations: 32 kB / 415.9 MB, free: 7.625 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1413, allocations: 4 kB / 415.9 MB, free: 7.621 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003506/0.1416, allocations: 117.6 kB / 416 MB, free: 7.5 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.1417, allocations: 6.812 kB / 416 MB, free: 7.496 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.1417, allocations: 0 / 416 MB, free: 7.496 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.1417, allocations: 7.938 kB / 416 MB, free: 7.488 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.1419, allocations: 19.98 kB / 416.1 MB, free: 7.469 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1419, allocations: 0 / 416.1 MB, free: 7.469 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.244e-05/0.142, allocations: 4 kB / 416.1 MB, free: 7.465 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.142, allocations: 7.938 kB / 416.1 MB, free: 7.457 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 (13): * Single equations (assignments): 13 * 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.0001619/0.1422, allocations: 137.8 kB / 416.2 MB, free: 7.312 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.662e-05/0.1422, allocations: 23.73 kB / 416.2 MB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.387e-05/0.1423, allocations: 21.39 kB / 416.3 MB, free: 7.262 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.1424, allocations: 4 kB / 416.3 MB, free: 7.258 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1424, allocations: 0 / 416.3 MB, free: 7.258 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.1424, allocations: 0 / 416.3 MB, free: 7.258 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008145/0.1432, allocations: 452 kB / 416.7 MB, free: 6.754 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.1432, allocations: 0 / 416.7 MB, free: 6.754 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.953e-05/0.1433, allocations: 19.98 kB / 416.7 MB, free: 6.734 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/0.1434, allocations: 4 kB / 416.7 MB, free: 6.73 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.1434, allocations: 0 / 416.7 MB, free: 6.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.193e-06/0.1434, allocations: 8 kB / 416.7 MB, free: 6.723 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.1434, allocations: 0 / 416.7 MB, free: 6.723 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004292/0.1438, allocations: 256.5 kB / 417 MB, free: 6.438 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.224e-05/0.1439, allocations: 88.92 kB / 417.1 MB, free: 6.332 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.146e-05/0.144, allocations: 7.984 kB / 417.1 MB, free: 6.324 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.1441, allocations: 11.95 kB / 417.1 MB, free: 6.312 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.796e-05/0.1442, allocations: 11.92 kB / 417.1 MB, free: 6.301 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.418e-05/0.1442, allocations: 4 kB / 417.1 MB, free: 6.297 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002213/0.1444, allocations: 172.3 kB / 417.3 MB, free: 6.129 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1445, allocations: 0 / 417.3 MB, free: 6.129 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003627/0.1448, allocations: 31.98 kB / 417.3 MB, free: 6.098 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 (11): * Single equations (assignments): 9 * 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.001455/0.1463, allocations: 0.4901 MB / 417.8 MB, free: 5.754 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003379/0.1466, allocations: 83.84 kB / 417.9 MB, free: 5.672 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.1467, allocations: 0 / 417.9 MB, free: 5.672 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.1468, allocations: 35.92 kB / 417.9 MB, free: 5.637 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.1472, allocations: 34.22 kB / 417.9 MB, free: 5.605 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007732/0.148, allocations: 325.9 kB / 418.3 MB, free: 5.25 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.1484, allocations: 0.7199 MB / 419 MB, free: 4.504 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.947e-05/0.1485, allocations: 15.44 kB / 419 MB, free: 4.488 MB / 346.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1485, allocations: 0 / 419 MB, free: 4.488 MB / 346.7 MB Notification: Performance of Templates: time 0.006125/0.1546, allocations: 2.204 MB / 421.2 MB, free: 2.285 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test35CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test35CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test35Functions.cpp:285: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.Test35CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test35CalcHelperMain.o] Error 1