Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,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.Test52") Notification: Performance of loadModel(ModelicaTest): time 2.504/2.504, allocations: 269 MB / 284.1 MB, free: 3.641 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.194e-05/3.191e-05, allocations: 8 kB / 349 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1291, allocations: 61.9 MB / 410.9 MB, free: 12.83 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.00246/0.1316, allocations: 1.396 MB / 412.3 MB, free: 11.43 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001671/0.1333, allocations: 0.7219 MB / 413.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.055e-05/0.1334, allocations: 0 / 413.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002352/0.1337, allocations: 23.84 kB / 413.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001894/0.1339, allocations: 47.86 kB / 413.1 MB, free: 10.63 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003558/0.1343, allocations: 83.69 kB / 413.2 MB, free: 10.55 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.1344, allocations: 59.86 kB / 413.3 MB, free: 10.49 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.055e-05/0.1345, allocations: 4 kB / 413.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.656e-05/0.1346, allocations: 35.91 kB / 413.3 MB, free: 10.45 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.309e-05/0.1347, allocations: 23.86 kB / 413.3 MB, free: 10.43 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.1349, allocations: 27.98 kB / 413.3 MB, free: 10.4 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.1349, allocations: 4 kB / 413.4 MB, free: 10.39 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.136e-05/0.135, allocations: 19.92 kB / 413.4 MB, free: 10.38 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.244e-05/0.135, allocations: 4 kB / 413.4 MB, free: 10.37 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.1352, allocations: 96.02 kB / 413.5 MB, free: 10.28 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.1352, allocations: 0 / 413.5 MB, free: 10.28 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1352, allocations: 4 kB / 413.5 MB, free: 10.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.657e-06/0.1353, allocations: 0 / 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.000545/0.1358, allocations: 383.1 kB / 413.8 MB, free: 9.852 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.1359, allocations: 12.03 kB / 413.9 MB, free: 9.84 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.766e-05/0.1359, allocations: 11.81 kB / 413.9 MB, free: 9.828 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.1362, allocations: 202.9 kB / 414.1 MB, free: 9.59 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.1363, allocations: 4 kB / 414.1 MB, free: 9.586 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.078e-05/0.1363, allocations: 4 kB / 414.1 MB, free: 9.582 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.1365, allocations: 61.56 kB / 414.1 MB, free: 9.516 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.1365, allocations: 0 / 414.1 MB, free: 9.516 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.1365, allocations: 4 kB / 414.1 MB, free: 9.512 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/0.1366, allocations: 4 kB / 414.1 MB, free: 9.508 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.887e-05/0.1367, allocations: 19.92 kB / 414.2 MB, free: 9.488 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004274/0.1371, allocations: 292.8 kB / 414.5 MB, free: 9.152 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002357/0.1374, allocations: 62.62 kB / 414.5 MB, free: 9.082 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.1374, allocations: 3.938 kB / 414.5 MB, free: 9.078 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001927/0.1376, allocations: 63.52 kB / 414.6 MB, free: 9.004 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.034e-06/0.1376, allocations: 4 kB / 414.6 MB, free: 9 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007409/0.1384, allocations: 177.1 kB / 414.8 MB, free: 8.82 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.1384, allocations: 51.41 kB / 414.8 MB, free: 8.758 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002781/0.1387, allocations: 210.3 kB / 415 MB, free: 8.539 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.1388, allocations: 33.69 kB / 415 MB, free: 8.5 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.505e-05/0.1389, allocations: 162.6 kB / 415.2 MB, free: 8.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.428e-05/0.1389, allocations: 27.64 kB / 415.2 MB, free: 8.312 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-06/0.1389, allocations: 0 / 415.2 MB, free: 8.312 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.1391, allocations: 322.8 kB / 415.5 MB, free: 7.988 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.299e-05/0.1392, allocations: 12 kB / 415.6 MB, free: 7.977 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.1393, allocations: 45.64 kB / 415.6 MB, free: 7.926 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.601e-05/0.1394, allocations: 24 kB / 415.6 MB, free: 7.902 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.1394, 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.0002698/0.1397, allocations: 93.52 kB / 415.7 MB, free: 7.801 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.1397, allocations: 10.81 kB / 415.7 MB, free: 7.793 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.1397, allocations: 3.984 kB / 415.7 MB, free: 7.789 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.1398, allocations: 0 / 415.7 MB, free: 7.789 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.1399, allocations: 15.98 kB / 415.8 MB, free: 7.773 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.1399, allocations: 4.031 kB / 415.8 MB, free: 7.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.922e-05/0.14, allocations: 8 kB / 415.8 MB, free: 7.762 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.14, allocations: 4 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.0001328/0.1402, allocations: 125.8 kB / 415.9 MB, free: 7.625 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.1402, allocations: 11.86 kB / 415.9 MB, free: 7.613 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.579e-05/0.1403, allocations: 25.39 kB / 415.9 MB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1403, allocations: 0 / 415.9 MB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.1403, allocations: 0 / 415.9 MB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.1404, allocations: 4 kB / 415.9 MB, free: 7.578 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006111/0.141, allocations: 403.2 kB / 416.3 MB, free: 7.125 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.141, allocations: 0 / 416.3 MB, free: 7.125 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.969e-05/0.1411, allocations: 11.94 kB / 416.3 MB, free: 7.113 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.874e-06/0.1411, allocations: 3.984 kB / 416.3 MB, free: 7.109 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.1411, allocations: 3.938 kB / 416.3 MB, free: 7.105 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.1411, allocations: 4 kB / 416.3 MB, free: 7.102 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1411, allocations: 0 / 416.3 MB, free: 7.102 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003354/0.1415, allocations: 218.4 kB / 416.6 MB, free: 6.863 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.442e-05/0.1415, allocations: 88.92 kB / 416.6 MB, free: 6.758 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.877e-05/0.1416, allocations: 11.92 kB / 416.7 MB, free: 6.746 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.1417, allocations: 4 kB / 416.7 MB, free: 6.742 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/0.1418, allocations: 4 kB / 416.7 MB, free: 6.738 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/0.1418, allocations: 11.92 kB / 416.7 MB, free: 6.727 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002051/0.142, allocations: 172.3 kB / 416.8 MB, free: 6.559 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.142, allocations: 0 / 416.8 MB, free: 6.559 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003552/0.1424, 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.001288/0.1437, allocations: 440.5 kB / 417.3 MB, free: 6.227 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000256/0.144, allocations: 55.91 kB / 417.4 MB, free: 6.172 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.144, allocations: 0 / 417.4 MB, free: 6.172 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.1441, allocations: 31.92 kB / 417.4 MB, free: 6.141 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.1445, allocations: 28.28 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.0006517/0.1451, 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.0003261/0.1455, allocations: 0.716 MB / 418.4 MB, free: 5.039 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.565e-05/0.1455, allocations: 15.44 kB / 418.4 MB, free: 5.023 MB / 346.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1456, allocations: 0 / 418.4 MB, free: 5.023 MB / 346.7 MB Notification: Performance of Templates: time 0.005347/0.1509, allocations: 1.972 MB / 420.4 MB, free: 3.055 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test52CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test52CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test52Functions.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.Test52CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test52CalcHelperMain.o] Error 1