Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,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.Test7") Notification: Performance of loadModel(ModelicaTest): time 2.44/2.44, allocations: 269 MB / 284.1 MB, free: 3.629 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.81e-05/3.795e-05, allocations: 15.98 kB / 349 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1352, allocations: 61.88 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002585/0.1378, allocations: 1.411 MB / 412.3 MB, free: 11.43 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001758/0.1397, allocations: 0.7297 MB / 413.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.914e-05/0.1398, allocations: 3.938 kB / 413.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000331/0.1401, allocations: 95.72 kB / 413.2 MB, free: 10.6 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002135/0.1403, allocations: 71.81 kB / 413.2 MB, free: 10.53 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003453/0.1407, allocations: 75.77 kB / 413.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001721/0.1409, allocations: 63.86 kB / 413.4 MB, free: 10.39 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.372e-05/0.141, allocations: 7.984 kB / 413.4 MB, free: 10.39 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.1411, allocations: 43.84 kB / 413.4 MB, free: 10.34 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.1412, allocations: 43.89 kB / 413.5 MB, free: 10.3 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.1414, allocations: 43.86 kB / 413.5 MB, free: 10.26 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.546e-05/0.1414, allocations: 4 kB / 413.5 MB, free: 10.25 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.472e-05/0.1415, allocations: 27.91 kB / 413.5 MB, free: 10.23 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.973e-05/0.1415, allocations: 8 kB / 413.5 MB, free: 10.22 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002208/0.1417, allocations: 96.08 kB / 413.6 MB, free: 10.12 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.1418, allocations: 0 / 413.6 MB, free: 10.12 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1418, allocations: 4 kB / 413.6 MB, free: 10.12 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.337e-06/0.1418, allocations: 0 / 413.6 MB, free: 10.12 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.0005874/0.1424, allocations: 395.1 kB / 414 MB, free: 9.688 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.1425, allocations: 12.03 kB / 414 MB, free: 9.676 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.899e-05/0.1425, allocations: 11.81 kB / 414.1 MB, free: 9.664 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003163/0.1428, allocations: 223.6 kB / 414.3 MB, free: 9.402 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.1429, allocations: 0 / 414.3 MB, free: 9.402 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.218e-05/0.1429, allocations: 7.906 kB / 414.3 MB, free: 9.395 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.1431, allocations: 65.55 kB / 414.3 MB, free: 9.324 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/0.1432, allocations: 11.94 kB / 414.4 MB, free: 9.312 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.1432, allocations: 0 / 414.4 MB, free: 9.312 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.1432, allocations: 0 / 414.4 MB, free: 9.312 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.1433, allocations: 19.98 kB / 414.4 MB, free: 9.293 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004629/0.1438, allocations: 300.8 kB / 414.7 MB, free: 8.949 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003004/0.1441, allocations: 66.48 kB / 414.7 MB, free: 8.875 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.1441, allocations: 0 / 414.7 MB, free: 8.875 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001976/0.1444, allocations: 71.58 kB / 414.8 MB, free: 8.793 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.743e-06/0.1444, allocations: 0 / 414.8 MB, free: 8.793 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.001038/0.1454, allocations: 248.9 kB / 415 MB, free: 8.543 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/0.1455, allocations: 55.41 kB / 415.1 MB, free: 8.477 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003401/0.1458, allocations: 222.1 kB / 415.3 MB, free: 8.254 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.1459, allocations: 33.64 kB / 415.4 MB, free: 8.215 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.146, allocations: 166.6 kB / 415.5 MB, free: 8.051 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.431e-05/0.1461, allocations: 35.55 kB / 415.5 MB, free: 8.016 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.046e-06/0.1461, allocations: 0 / 415.5 MB, free: 8.016 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.1463, allocations: 318.8 kB / 415.9 MB, free: 7.695 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.1464, allocations: 35.92 kB / 415.9 MB, free: 7.66 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.1465, allocations: 45.7 kB / 415.9 MB, free: 7.609 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.1467, allocations: 44.03 kB / 416 MB, free: 7.566 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1467, allocations: 0 / 416 MB, free: 7.566 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003466/0.1471, allocations: 113.5 kB / 416.1 MB, free: 7.449 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.1471, allocations: 6.812 kB / 416.1 MB, free: 7.445 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1471, allocations: 0 / 416.1 MB, free: 7.445 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.1471, allocations: 4.031 kB / 416.1 MB, free: 7.441 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.1473, allocations: 23.98 kB / 416.1 MB, free: 7.418 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.1473, allocations: 0 / 416.1 MB, free: 7.418 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.924e-05/0.1474, allocations: 8 kB / 416.1 MB, free: 7.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.1474, allocations: 3.984 kB / 416.1 MB, free: 7.406 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.0001592/0.1476, allocations: 141.7 kB / 416.3 MB, free: 7.258 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.739e-05/0.1476, allocations: 19.8 kB / 416.3 MB, free: 7.238 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.984e-05/0.1477, allocations: 21.41 kB / 416.3 MB, free: 7.211 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.1477, allocations: 4 kB / 416.3 MB, free: 7.207 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.1477, allocations: 0 / 416.3 MB, free: 7.207 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1478, allocations: 0 / 416.3 MB, free: 7.207 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007621/0.1485, allocations: 452 kB / 416.8 MB, free: 6.703 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1485, allocations: 96 / 416.8 MB, free: 6.703 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.138e-05/0.1486, allocations: 19.92 kB / 416.8 MB, free: 6.684 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1487, allocations: 0 / 416.8 MB, free: 6.684 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.1487, allocations: 12.06 kB / 416.8 MB, free: 6.672 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.1487, allocations: 0.7031 kB / 416.8 MB, free: 6.672 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.1487, allocations: 4 kB / 416.8 MB, free: 6.668 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004013/0.1491, allocations: 256.4 kB / 417.1 MB, free: 6.383 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.819e-05/0.1492, allocations: 92.92 kB / 417.1 MB, free: 6.273 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.025e-05/0.1493, allocations: 4 kB / 417.1 MB, free: 6.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.1494, allocations: 15.88 kB / 417.2 MB, free: 6.254 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/0.1494, allocations: 7.984 kB / 417.2 MB, free: 6.246 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.349e-05/0.1495, allocations: 11.98 kB / 417.2 MB, free: 6.234 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002295/0.1497, allocations: 184.3 kB / 417.4 MB, free: 6.055 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1497, allocations: 0 / 417.4 MB, free: 6.055 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000342/0.1501, allocations: 28 kB / 417.4 MB, free: 6.027 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.001462/0.1515, allocations: 499.4 kB / 417.9 MB, free: 5.684 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002912/0.1519, allocations: 79.8 kB / 418 MB, free: 5.605 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1519, allocations: 4.062 kB / 418 MB, free: 5.602 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.152, allocations: 35.98 kB / 418 MB, free: 5.566 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.1524, allocations: 29.97 kB / 418 MB, free: 5.539 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007091/0.1531, allocations: 349.6 kB / 418.4 MB, free: 5.164 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.1535, allocations: 0.716 MB / 419.1 MB, free: 4.422 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.13e-05/0.1535, allocations: 19.44 kB / 419.1 MB, free: 4.402 MB / 346.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1536, allocations: 4 kB / 419.1 MB, free: 4.398 MB / 346.7 MB Notification: Performance of Templates: time 0.005918/0.1595, allocations: 2.238 MB / 421.3 MB, free: 2.16 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test7CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test7CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test7Functions.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.Test7CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test7CalcHelperMain.o] Error 1