Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,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.Test53") Notification: Performance of loadModel(ModelicaTest): time 2.586/2.586, allocations: 269 MB / 284.1 MB, free: 3.617 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.226e-05/3.261e-05, allocations: 8 kB / 349 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.137, allocations: 61.9 MB / 410.9 MB, free: 12.83 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.002607/0.1396, allocations: 1.388 MB / 412.3 MB, free: 11.43 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001688/0.1414, allocations: 0.7258 MB / 413.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.339e-05/0.1415, allocations: 3.938 kB / 413.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002356/0.1417, allocations: 23.84 kB / 413.1 MB, free: 10.67 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001886/0.1419, allocations: 43.86 kB / 413.1 MB, free: 10.63 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003446/0.1423, allocations: 83.75 kB / 413.2 MB, free: 10.55 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.1425, allocations: 51.88 kB / 413.3 MB, free: 10.5 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.826e-05/0.1426, allocations: 8 kB / 413.3 MB, free: 10.49 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.1427, allocations: 35.84 kB / 413.3 MB, free: 10.45 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.376e-05/0.1428, allocations: 23.92 kB / 413.3 MB, free: 10.43 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.1429, allocations: 31.97 kB / 413.4 MB, free: 10.4 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.143, allocations: 4 kB / 413.4 MB, free: 10.39 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.001e-05/0.143, allocations: 19.92 kB / 413.4 MB, free: 10.38 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.031e-05/0.1431, allocations: 4 kB / 413.4 MB, free: 10.37 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002111/0.1433, allocations: 96.02 kB / 413.5 MB, free: 10.28 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.1433, allocations: 0 / 413.5 MB, free: 10.28 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1433, allocations: 0 / 413.5 MB, free: 10.28 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.1433, allocations: 4 kB / 413.5 MB, free: 10.27 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.0005707/0.1439, allocations: 387.1 kB / 413.9 MB, free: 9.848 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.144, allocations: 12.03 kB / 413.9 MB, free: 9.836 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.029e-05/0.144, allocations: 11.81 kB / 413.9 MB, free: 9.824 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002929/0.1443, allocations: 198.9 kB / 414.1 MB, free: 9.59 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.1444, allocations: 4 kB / 414.1 MB, free: 9.586 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.1444, allocations: 4 kB / 414.1 MB, free: 9.582 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.1446, allocations: 53.62 kB / 414.1 MB, free: 9.523 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.1446, allocations: 11.94 kB / 414.1 MB, free: 9.512 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.1446, allocations: 4 kB / 414.1 MB, free: 9.508 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.637e-06/0.1447, allocations: 4 kB / 414.2 MB, free: 9.504 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.1448, allocations: 27.84 kB / 414.2 MB, free: 9.477 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004366/0.1452, allocations: 296.8 kB / 414.5 MB, free: 9.137 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/0.1455, allocations: 58.69 kB / 414.5 MB, free: 9.07 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.1455, allocations: 0 / 414.5 MB, free: 9.07 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001982/0.1457, allocations: 67.45 kB / 414.6 MB, free: 8.992 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.784e-06/0.1458, allocations: 4 kB / 414.6 MB, free: 8.988 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007145/0.1465, allocations: 173.1 kB / 414.8 MB, free: 8.812 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.1465, allocations: 51.41 kB / 414.8 MB, free: 8.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002915/0.1468, allocations: 206.3 kB / 415 MB, free: 8.535 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.1469, allocations: 33.7 kB / 415.1 MB, free: 8.496 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.528e-05/0.147, allocations: 166.5 kB / 415.2 MB, free: 8.332 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.989e-05/0.1471, allocations: 23.66 kB / 415.2 MB, free: 8.309 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.1471, allocations: 0 / 415.2 MB, free: 8.309 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.1472, allocations: 322.8 kB / 415.6 MB, free: 7.984 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.548e-05/0.1473, allocations: 12 kB / 415.6 MB, free: 7.973 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.1474, allocations: 37.7 kB / 415.6 MB, free: 7.93 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.59e-05/0.1475, allocations: 28 kB / 415.6 MB, free: 7.902 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.1476, allocations: 3.953 kB / 415.6 MB, free: 7.898 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002736/0.1478, allocations: 97.5 kB / 415.7 MB, free: 7.797 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.1479, allocations: 8 kB / 415.7 MB, free: 7.789 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1479, allocations: 0 / 415.7 MB, free: 7.789 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.1479, allocations: 0 / 415.7 MB, free: 7.789 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.1481, allocations: 15.98 kB / 415.7 MB, free: 7.773 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.1481, allocations: 4 kB / 415.8 MB, free: 7.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.614e-05/0.1482, allocations: 32 / 415.8 MB, free: 7.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.1482, allocations: 12 kB / 415.8 MB, free: 7.758 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.1483, allocations: 129.8 kB / 415.9 MB, free: 7.621 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.285e-05/0.1484, allocations: 11.86 kB / 415.9 MB, free: 7.609 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.444e-05/0.1485, allocations: 21.41 kB / 415.9 MB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.1485, allocations: 3.984 kB / 415.9 MB, free: 7.578 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.1485, allocations: 0 / 415.9 MB, free: 7.578 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.1485, allocations: 4 kB / 415.9 MB, free: 7.574 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006397/0.1491, allocations: 403.2 kB / 416.3 MB, free: 7.121 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1492, allocations: 192 / 416.3 MB, free: 7.121 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.871e-05/0.1492, allocations: 8 kB / 416.3 MB, free: 7.113 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.1493, allocations: 3.938 kB / 416.3 MB, free: 7.109 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.1493, allocations: 8.297 kB / 416.3 MB, free: 7.102 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.1493, allocations: 4 kB / 416.3 MB, free: 7.098 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1493, allocations: 0 / 416.3 MB, free: 7.098 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003451/0.1496, allocations: 221.9 kB / 416.6 MB, free: 6.855 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.818e-05/0.1498, allocations: 88.92 kB / 416.7 MB, free: 6.75 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.941e-05/0.1498, allocations: 7.984 kB / 416.7 MB, free: 6.742 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.1499, allocations: 4 kB / 416.7 MB, free: 6.738 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.443e-05/0.15, allocations: 4 kB / 416.7 MB, free: 6.734 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-05/0.15, allocations: 7.984 kB / 416.7 MB, free: 6.727 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002192/0.1502, allocations: 168.3 kB / 416.8 MB, free: 6.562 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1503, allocations: 4 kB / 416.8 MB, free: 6.559 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000338/0.1506, allocations: 27.98 kB / 416.9 MB, free: 6.531 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.00134/0.152, allocations: 431.8 kB / 417.3 MB, free: 6.234 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002479/0.1522, allocations: 55.91 kB / 417.3 MB, free: 6.18 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.1522, allocations: 0 / 417.3 MB, free: 6.18 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.1524, allocations: 35.86 kB / 417.4 MB, free: 6.145 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.1527, allocations: 35.8 kB / 417.4 MB, free: 6.113 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006356/0.1534, allocations: 303.7 kB / 417.7 MB, free: 5.781 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.1537, allocations: 0.72 MB / 418.4 MB, free: 5.035 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.149e-05/0.1538, allocations: 15.44 kB / 418.5 MB, free: 5.02 MB / 346.7 MB Notification: Performance of SimCode: time 7.71e-07/0.1538, allocations: 0 / 418.5 MB, free: 5.02 MB / 346.7 MB Notification: Performance of Templates: time 0.005342/0.1591, allocations: 1.968 MB / 420.4 MB, free: 3.051 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test53CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test53CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test53Functions.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.Test53CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test53CalcHelperMain.o] Error 1