Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,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.Test34") Notification: Performance of loadModel(ModelicaTest): time 2.458/2.458, allocations: 269 MB / 284.1 MB, free: 3.641 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.893e-05/2.886e-05, allocations: 4 kB / 349 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1284, allocations: 61.89 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.002501/0.1309, allocations: 1.396 MB / 412.3 MB, free: 11.46 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001684/0.1327, allocations: 0.718 MB / 413 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.083e-05/0.1328, allocations: 0 / 413 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002404/0.133, allocations: 31.83 kB / 413.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001819/0.1332, allocations: 35.89 kB / 413.1 MB, free: 10.67 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003674/0.1336, allocations: 87.62 kB / 413.2 MB, free: 10.58 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001547/0.1338, allocations: 55.92 kB / 413.2 MB, free: 10.53 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.947e-05/0.1339, allocations: 4 kB / 413.3 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.134, allocations: 35.84 kB / 413.3 MB, free: 10.49 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.402e-05/0.1341, allocations: 23.92 kB / 413.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.1343, allocations: 31.92 kB / 413.3 MB, free: 10.43 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.1343, allocations: 4 kB / 413.3 MB, free: 10.43 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.154e-05/0.1343, allocations: 11.98 kB / 413.4 MB, free: 10.42 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.767e-05/0.1344, allocations: 4 kB / 413.4 MB, free: 10.41 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002035/0.1346, allocations: 92.03 kB / 413.5 MB, free: 10.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.1346, allocations: 0 / 413.5 MB, free: 10.32 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1346, allocations: 0 / 413.5 MB, free: 10.32 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.1346, allocations: 0 / 413.5 MB, free: 10.32 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.0005762/0.1352, allocations: 387 kB / 413.8 MB, free: 9.898 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.1353, allocations: 12.03 kB / 413.8 MB, free: 9.887 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.692e-05/0.1353, allocations: 11.91 kB / 413.9 MB, free: 9.875 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003095/0.1357, allocations: 206.9 kB / 414.1 MB, free: 9.633 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.1357, allocations: 0 / 414.1 MB, free: 9.633 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.1357, allocations: 0 / 414.1 MB, free: 9.633 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.1359, allocations: 61.62 kB / 414.1 MB, free: 9.566 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.136, allocations: 0 / 414.1 MB, free: 9.566 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.136, allocations: 0 / 414.1 MB, free: 9.566 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.136, allocations: 0 / 414.1 MB, free: 9.566 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.1361, allocations: 31.86 kB / 414.1 MB, free: 9.535 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004403/0.1366, allocations: 288.8 kB / 414.4 MB, free: 9.203 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002369/0.1368, allocations: 54.67 kB / 414.5 MB, free: 9.141 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.1369, allocations: 0 / 414.5 MB, free: 9.141 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002028/0.1371, allocations: 67.45 kB / 414.5 MB, free: 9.062 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.883e-06/0.1371, allocations: 0 / 414.5 MB, free: 9.062 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007209/0.1378, allocations: 177.2 kB / 414.7 MB, free: 8.883 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.037e-05/0.1379, allocations: 51.41 kB / 414.8 MB, free: 8.82 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000238/0.1381, allocations: 177.9 kB / 414.9 MB, free: 8.645 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.1382, allocations: 25.7 kB / 415 MB, free: 8.613 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.619e-05/0.1383, allocations: 158.6 kB / 415.1 MB, free: 8.457 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.174e-05/0.1383, allocations: 27.69 kB / 415.2 MB, free: 8.43 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.035e-06/0.1383, allocations: 4 kB / 415.2 MB, free: 8.426 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.1385, allocations: 314.8 kB / 415.5 MB, free: 8.109 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.791e-05/0.1386, allocations: 23.98 kB / 415.5 MB, free: 8.086 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.1387, allocations: 37.7 kB / 415.5 MB, free: 8.043 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.984e-05/0.1388, allocations: 20 kB / 415.5 MB, free: 8.023 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.1388, allocations: 3.953 kB / 415.5 MB, free: 8.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002723/0.1391, allocations: 93.61 kB / 415.6 MB, free: 7.922 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.1391, allocations: 10.81 kB / 415.6 MB, free: 7.914 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.1392, allocations: 0 / 415.6 MB, free: 7.914 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.1392, allocations: 4.031 kB / 415.7 MB, free: 7.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.1393, allocations: 15.94 kB / 415.7 MB, free: 7.895 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.1394, allocations: 0 / 415.7 MB, free: 7.895 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.889e-05/0.1394, allocations: 7.984 kB / 415.7 MB, free: 7.887 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.1395, allocations: 4 kB / 415.7 MB, free: 7.883 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.000124/0.1396, allocations: 122 kB / 415.8 MB, free: 7.754 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/0.1396, allocations: 15.77 kB / 415.8 MB, free: 7.738 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.265e-05/0.1397, allocations: 24.64 kB / 415.8 MB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.1397, allocations: 7.984 kB / 415.8 MB, free: 7.703 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1397, allocations: 0 / 415.8 MB, free: 7.703 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.1398, allocations: 0 / 415.8 MB, free: 7.703 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006216/0.1404, allocations: 391.7 kB / 416.2 MB, free: 7.262 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.1404, allocations: 4 kB / 416.2 MB, free: 7.258 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.005e-05/0.1405, allocations: 12 kB / 416.2 MB, free: 7.246 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-06/0.1405, allocations: 3.984 kB / 416.2 MB, free: 7.242 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.1405, allocations: 3.938 kB / 416.3 MB, free: 7.238 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.1405, allocations: 4.031 kB / 416.3 MB, free: 7.234 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1405, allocations: 4 kB / 416.3 MB, free: 7.23 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000341/0.1409, allocations: 213.9 kB / 416.5 MB, free: 6.996 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.399e-05/0.141, allocations: 88.91 kB / 416.6 MB, free: 6.891 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.869e-05/0.141, allocations: 8 kB / 416.6 MB, free: 6.883 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.1411, allocations: 8 kB / 416.6 MB, free: 6.875 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.1412, allocations: 3.984 kB / 416.6 MB, free: 6.871 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.463e-05/0.1412, allocations: 4 kB / 416.6 MB, free: 6.867 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001804/0.1414, allocations: 135.2 kB / 416.7 MB, free: 6.734 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1414, allocations: 0 / 416.7 MB, free: 6.734 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003404/0.1418, allocations: 27.98 kB / 416.7 MB, free: 6.707 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.001358/0.1432, allocations: 440.1 kB / 417.2 MB, free: 6.402 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003205/0.1435, allocations: 59.91 kB / 417.2 MB, free: 6.344 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.1435, allocations: 0 / 417.2 MB, free: 6.344 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.1437, allocations: 40.02 kB / 417.3 MB, free: 6.305 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000386/0.1441, allocations: 32.05 kB / 417.3 MB, free: 6.273 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006245/0.1447, allocations: 256.2 kB / 417.5 MB, free: 5.977 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.1451, allocations: 0.7082 MB / 418.3 MB, free: 5.242 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.841e-05/0.1451, allocations: 15.44 kB / 418.3 MB, free: 5.227 MB / 346.7 MB Notification: Performance of SimCode: time 9.72e-07/0.1451, allocations: 0 / 418.3 MB, free: 5.227 MB / 346.7 MB Notification: Performance of Templates: time 0.005297/0.1504, allocations: 1.899 MB / 420.2 MB, free: 3.328 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test34CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test34CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test34Functions.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.Test34CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test34CalcHelperMain.o] Error 1