Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,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.Test44") Notification: Performance of loadModel(ModelicaTest): time 2.446/2.446, allocations: 269 MB / 284.1 MB, free: 3.641 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.437e-05/3.45e-05, allocations: 8 kB / 349 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1361, allocations: 61.9 MB / 410.9 MB, free: 12.84 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.002505/0.1386, allocations: 1.392 MB / 412.3 MB, free: 11.44 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001688/0.1404, allocations: 0.7258 MB / 413.1 MB, free: 10.71 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.927e-05/0.1405, allocations: 0 / 413.1 MB, free: 10.71 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002305/0.1407, allocations: 23.84 kB / 413.1 MB, free: 10.69 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001749/0.1409, allocations: 43.88 kB / 413.1 MB, free: 10.64 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003371/0.1413, allocations: 79.7 kB / 413.2 MB, free: 10.57 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001635/0.1415, allocations: 55.86 kB / 413.2 MB, free: 10.51 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.951e-05/0.1416, allocations: 7.984 kB / 413.3 MB, free: 10.5 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.608e-05/0.1417, allocations: 35.91 kB / 413.3 MB, free: 10.47 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.518e-05/0.1418, allocations: 19.92 kB / 413.3 MB, free: 10.45 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.1419, allocations: 27.94 kB / 413.3 MB, free: 10.42 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.1419, allocations: 4 kB / 413.3 MB, free: 10.42 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.057e-05/0.142, allocations: 19.97 kB / 413.4 MB, free: 10.4 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.811e-05/0.142, allocations: 4 kB / 413.4 MB, free: 10.39 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.1422, allocations: 95.97 kB / 413.5 MB, free: 10.3 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.1422, allocations: 0 / 413.5 MB, free: 10.3 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1423, allocations: 0 / 413.5 MB, free: 10.3 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.1423, allocations: 0 / 413.5 MB, free: 10.3 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.0007089/0.143, allocations: 379.1 kB / 413.8 MB, free: 9.883 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.143, allocations: 12.03 kB / 413.8 MB, free: 9.871 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.602e-05/0.1431, allocations: 7.906 kB / 413.9 MB, free: 9.863 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002987/0.1434, allocations: 211.5 kB / 414.1 MB, free: 9.613 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.1434, allocations: 0 / 414.1 MB, free: 9.613 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/0.1435, allocations: 4 kB / 414.1 MB, free: 9.609 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.1437, allocations: 57.62 kB / 414.1 MB, free: 9.547 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.1437, allocations: 7.844 kB / 414.1 MB, free: 9.539 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.1437, allocations: 0 / 414.1 MB, free: 9.539 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.1438, allocations: 0 / 414.1 MB, free: 9.539 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.1439, allocations: 27.92 kB / 414.2 MB, free: 9.512 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004232/0.1443, allocations: 284.9 kB / 414.4 MB, free: 9.184 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002351/0.1446, allocations: 58.61 kB / 414.5 MB, free: 9.117 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.1446, allocations: 128 / 414.5 MB, free: 9.117 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001963/0.1448, allocations: 67.39 kB / 414.6 MB, free: 9.039 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.783e-06/0.1448, allocations: 0 / 414.6 MB, free: 9.039 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007174/0.1456, allocations: 185.4 kB / 414.7 MB, free: 8.852 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.1456, allocations: 51.41 kB / 414.8 MB, free: 8.789 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002494/0.1459, allocations: 177.8 kB / 415 MB, free: 8.605 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.1459, allocations: 29.7 kB / 415 MB, free: 8.57 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.106e-05/0.146, allocations: 166.6 kB / 415.1 MB, free: 8.406 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.49e-05/0.1461, allocations: 19.7 kB / 415.2 MB, free: 8.387 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.915e-06/0.1461, allocations: 4 kB / 415.2 MB, free: 8.383 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.1462, allocations: 310.8 kB / 415.5 MB, free: 8.07 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.139e-05/0.1463, allocations: 27.98 kB / 415.5 MB, free: 8.043 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.1464, allocations: 33.7 kB / 415.5 MB, free: 8.004 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.677e-05/0.1465, allocations: 23.94 kB / 415.6 MB, free: 7.98 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.1465, allocations: 3.953 kB / 415.6 MB, free: 7.977 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002769/0.1468, allocations: 97.58 kB / 415.7 MB, free: 7.875 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.1469, allocations: 4 kB / 415.7 MB, free: 7.871 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1469, allocations: 160 / 415.7 MB, free: 7.871 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.1469, allocations: 7.984 kB / 415.7 MB, free: 7.863 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.1471, allocations: 27.92 kB / 415.7 MB, free: 7.836 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1471, allocations: 160 / 415.7 MB, free: 7.836 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.496e-05/0.1472, allocations: 4 kB / 415.7 MB, free: 7.832 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.1472, allocations: 3.984 kB / 415.7 MB, free: 7.828 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.0001274/0.1473, allocations: 133.8 kB / 415.8 MB, free: 7.688 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.897e-05/0.1474, allocations: 11.86 kB / 415.8 MB, free: 7.676 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.621e-05/0.1474, allocations: 13.41 kB / 415.9 MB, free: 7.656 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.1474, allocations: 8.188 kB / 415.9 MB, free: 7.648 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.1475, allocations: 0 / 415.9 MB, free: 7.648 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1475, allocations: 3.938 kB / 415.9 MB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005972/0.1481, allocations: 399.3 kB / 416.3 MB, free: 7.195 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.1481, allocations: 0 / 416.3 MB, free: 7.195 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.68e-05/0.1482, allocations: 8 kB / 416.3 MB, free: 7.188 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/0.1482, allocations: 0 / 416.3 MB, free: 7.188 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.1482, allocations: 3.938 kB / 416.3 MB, free: 7.184 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.596e-06/0.1482, allocations: 11.97 kB / 416.3 MB, free: 7.172 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.1482, allocations: 0 / 416.3 MB, free: 7.172 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003264/0.1486, allocations: 217.9 kB / 416.5 MB, free: 6.934 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.367e-05/0.1486, allocations: 93 kB / 416.6 MB, free: 6.824 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.17e-05/0.1487, allocations: 0 / 416.6 MB, free: 6.824 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.1488, allocations: 4 kB / 416.6 MB, free: 6.82 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.1489, allocations: 11.98 kB / 416.6 MB, free: 6.809 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.1489, allocations: 4 kB / 416.6 MB, free: 6.805 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001751/0.1491, allocations: 150.3 kB / 416.8 MB, free: 6.66 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.1491, allocations: 0 / 416.8 MB, free: 6.66 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003217/0.1494, allocations: 20 kB / 416.8 MB, free: 6.641 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.001283/0.1507, allocations: 446.7 kB / 417.2 MB, free: 6.332 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002444/0.151, allocations: 59.97 kB / 417.3 MB, free: 6.273 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.83e-06/0.151, allocations: 0 / 417.3 MB, free: 6.273 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.1511, allocations: 35.86 kB / 417.3 MB, free: 6.238 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.1515, allocations: 27.86 kB / 417.3 MB, free: 6.211 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006188/0.1521, allocations: 284.1 kB / 417.6 MB, free: 5.898 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/0.1525, allocations: 0.7082 MB / 418.3 MB, free: 5.164 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.025e-05/0.1525, allocations: 15.44 kB / 418.3 MB, free: 5.148 MB / 346.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1525, allocations: 0 / 418.3 MB, free: 5.148 MB / 346.7 MB Notification: Performance of Templates: time 0.005259/0.1578, allocations: 1.918 MB / 420.3 MB, free: 3.227 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test44CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test44CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test44Functions.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.Test44CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test44CalcHelperMain.o] Error 1