Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test79") Notification: Performance of loadModel(ModelicaTest): time 2.529/2.529, allocations: 269 MB / 284.1 MB, free: 3.629 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.582e-05/3.574e-05, allocations: 8 kB / 349 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1339, allocations: 61.89 MB / 410.9 MB, free: 12.84 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.002814/0.1368, allocations: 1.544 MB / 412.5 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001997/0.1389, allocations: 0.8076 MB / 413.3 MB, free: 10.47 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.139, allocations: 7.938 kB / 413.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004969/0.1395, allocations: 207.5 kB / 413.5 MB, free: 10.26 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003522/0.1399, allocations: 139.6 kB / 413.6 MB, free: 10.12 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005644/0.1405, allocations: 143.6 kB / 413.8 MB, free: 9.984 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002909/0.1408, allocations: 131.7 kB / 413.9 MB, free: 9.855 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.659e-05/0.1409, allocations: 11.98 kB / 413.9 MB, free: 9.844 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001766/0.1411, allocations: 91.75 kB / 414 MB, free: 9.754 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002186/0.1413, allocations: 107.7 kB / 414.1 MB, free: 9.648 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001592/0.1415, allocations: 43.92 kB / 414.1 MB, free: 9.605 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.564e-05/0.1415, allocations: 8 kB / 414.2 MB, free: 9.598 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.1416, allocations: 47.83 kB / 414.2 MB, free: 9.551 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.26e-05/0.1417, allocations: 12 kB / 414.2 MB, free: 9.539 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003039/0.142, allocations: 164 kB / 414.4 MB, free: 9.379 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.142, allocations: 0 / 414.4 MB, free: 9.379 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.829e-06/0.142, allocations: 0 / 414.4 MB, free: 9.379 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.829e-06/0.1421, allocations: 3.938 kB / 414.4 MB, free: 9.375 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008051/0.1429, allocations: 494.6 kB / 414.9 MB, free: 8.844 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.1429, allocations: 8.031 kB / 414.9 MB, free: 8.836 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.221e-05/0.143, allocations: 27.62 kB / 414.9 MB, free: 8.809 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004436/0.1435, allocations: 263.1 kB / 415.1 MB, free: 8.516 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.1435, allocations: 4 kB / 415.2 MB, free: 8.512 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.796e-05/0.1436, allocations: 15.92 kB / 415.2 MB, free: 8.496 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003409/0.1439, allocations: 111.3 kB / 415.3 MB, free: 8.375 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.1439, allocations: 3.984 kB / 415.3 MB, free: 8.371 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.144, allocations: 4 kB / 415.3 MB, free: 8.367 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.144, allocations: 0 / 415.3 MB, free: 8.367 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002178/0.1442, allocations: 47.95 kB / 415.3 MB, free: 8.32 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007285/0.145, allocations: 468.7 kB / 415.8 MB, free: 7.809 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000561/0.1455, allocations: 125.2 kB / 415.9 MB, free: 7.668 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.741e-05/0.1456, allocations: 8.125 kB / 415.9 MB, free: 7.66 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000331/0.146, allocations: 121 kB / 416 MB, free: 7.523 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 2.084e-06/0.146, allocations: 0 / 416 MB, free: 7.523 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.001996/0.148, allocations: 0.4929 MB / 416.5 MB, free: 7.023 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.1481, allocations: 81.06 kB / 416.6 MB, free: 6.926 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006627/0.1487, allocations: 391.7 kB / 417 MB, free: 6.527 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.915e-05/0.1488, allocations: 33.7 kB / 417 MB, free: 6.488 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.1489, allocations: 199 kB / 417.2 MB, free: 6.293 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.379e-05/0.149, allocations: 67.02 kB / 417.3 MB, free: 6.227 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.858e-05/0.1491, allocations: 8 kB / 417.3 MB, free: 6.219 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.1492, allocations: 318.8 kB / 417.6 MB, free: 5.898 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002199/0.1494, allocations: 55.97 kB / 417.7 MB, free: 5.844 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002643/0.1497, allocations: 92.88 kB / 417.7 MB, free: 5.742 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002489/0.15, allocations: 75.86 kB / 417.8 MB, free: 5.668 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.15, allocations: 0 / 417.8 MB, free: 5.668 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006435/0.1506, allocations: 205.4 kB / 418 MB, free: 5.461 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.1507, allocations: 6.812 kB / 418 MB, free: 5.457 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1507, allocations: 0 / 418 MB, free: 5.457 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.1507, allocations: 4 kB / 418 MB, free: 5.453 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003059/0.151, allocations: 47.91 kB / 418.1 MB, free: 5.406 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.1511, allocations: 4.062 kB / 418.1 MB, free: 5.402 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.1512, allocations: 11.95 kB / 418.1 MB, free: 5.391 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.443e-05/0.1513, allocations: 8 kB / 418.1 MB, free: 5.383 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002336/0.1515, allocations: 169.8 kB / 418.3 MB, free: 5.207 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.687e-05/0.1516, allocations: 27.62 kB / 418.3 MB, free: 5.18 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001147/0.1517, allocations: 42.61 kB / 418.3 MB, free: 5.137 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.1517, allocations: 4 kB / 418.3 MB, free: 5.133 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.1517, allocations: 4 kB / 418.3 MB, free: 5.129 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.1518, allocations: 4 kB / 418.3 MB, free: 5.125 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001388/0.1532, allocations: 0.7194 MB / 419.1 MB, free: 4.336 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.716e-06/0.1532, allocations: 4.062 kB / 419.1 MB, free: 4.332 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001757/0.1534, allocations: 35.98 kB / 419.1 MB, free: 4.297 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.136e-05/0.1534, allocations: 7.953 kB / 419.1 MB, free: 4.289 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/0.1534, allocations: 7.984 kB / 419.1 MB, free: 4.281 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.1534, allocations: 0 / 419.1 MB, free: 4.281 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/0.1534, allocations: 4 kB / 419.1 MB, free: 4.277 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007967/0.1543, allocations: 480.3 kB / 419.6 MB, free: 3.754 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.839e-05/0.1544, allocations: 104.7 kB / 419.7 MB, free: 3.633 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.304e-05/0.1545, allocations: 20.12 kB / 419.7 MB, free: 3.613 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.1547, allocations: 15.94 kB / 419.7 MB, free: 3.598 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.195e-05/0.1548, allocations: 23.84 kB / 419.8 MB, free: 3.574 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.016e-05/0.1548, allocations: 12 kB / 419.8 MB, free: 3.562 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005069/0.1553, allocations: 319 kB / 420.1 MB, free: 3.254 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1554, allocations: 0 / 420.1 MB, free: 3.254 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004836/0.1559, allocations: 48 kB / 420.1 MB, free: 3.207 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001468/0.1573, allocations: 0.5043 MB / 420.6 MB, free: 2.848 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005937/0.1579, allocations: 151.8 kB / 420.8 MB, free: 2.699 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.158, allocations: 4.125 kB / 420.8 MB, free: 2.695 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002718/0.1582, allocations: 83.84 kB / 420.9 MB, free: 2.613 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005914/0.1589, allocations: 51.66 kB / 420.9 MB, free: 2.559 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.1602, allocations: 0.6188 MB / 421.5 MB, free: 1.891 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004239/0.1606, allocations: 0.7832 MB / 422.3 MB, free: 1.082 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.1607, allocations: 35.42 kB / 422.4 MB, free: 1.051 MB / 346.7 MB Notification: Performance of SimCode: time 1.162e-06/0.1608, allocations: 0 / 422.4 MB, free: 1.051 MB / 346.7 MB Notification: Performance of Templates: time 0.3387/0.4995, allocations: 3.578 MB / 425.9 MB, free: 12.19 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test79CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test79CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test79Functions.cpp:285:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp39.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.Test79CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test79CalcHelperMain.o] Error 1