Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,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.Test9") Notification: Performance of loadModel(ModelicaTest): time 2.475/2.475, allocations: 269 MB / 284.1 MB, free: 3.637 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.087e-05/3.085e-05, allocations: 4 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1332, allocations: 61.9 MB / 410.9 MB, free: 12.85 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002473/0.1357, allocations: 1.388 MB / 412.3 MB, free: 11.45 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001669/0.1374, allocations: 0.7219 MB / 413 MB, free: 10.72 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.119e-05/0.1376, allocations: 0 / 413 MB, free: 10.72 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003052/0.1379, allocations: 75.77 kB / 413.1 MB, free: 10.65 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000202/0.1381, allocations: 59.84 kB / 413.2 MB, free: 10.59 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003549/0.1385, allocations: 79.69 kB / 413.3 MB, free: 10.51 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001582/0.1386, allocations: 51.92 kB / 413.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.002e-05/0.1387, allocations: 11.98 kB / 413.3 MB, free: 10.45 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.909e-05/0.1388, allocations: 35.86 kB / 413.3 MB, free: 10.41 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.139, allocations: 43.89 kB / 413.4 MB, free: 10.37 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.1391, allocations: 27.98 kB / 413.4 MB, free: 10.34 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.493e-05/0.1391, allocations: 4 kB / 413.4 MB, free: 10.34 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.815e-05/0.1392, allocations: 19.92 kB / 413.4 MB, free: 10.32 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.512e-05/0.1392, allocations: 7.938 kB / 413.5 MB, free: 10.31 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.1394, allocations: 88.08 kB / 413.5 MB, free: 10.23 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1395, allocations: 0 / 413.5 MB, free: 10.23 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1395, allocations: 3.938 kB / 413.5 MB, free: 10.22 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.1395, allocations: 0 / 413.5 MB, free: 10.22 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.0005553/0.14, allocations: 389.5 kB / 413.9 MB, free: 9.797 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.1401, allocations: 8.031 kB / 413.9 MB, free: 9.789 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.802e-05/0.1402, allocations: 7.906 kB / 413.9 MB, free: 9.781 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002956/0.1405, allocations: 214.3 kB / 414.1 MB, free: 9.535 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.1405, allocations: 4 kB / 414.2 MB, free: 9.531 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.1405, allocations: 0 / 414.2 MB, free: 9.531 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.1407, allocations: 61.62 kB / 414.2 MB, free: 9.465 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.1407, allocations: 0 / 414.2 MB, free: 9.465 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.1408, allocations: 7.938 kB / 414.2 MB, free: 9.457 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.1408, allocations: 3.938 kB / 414.2 MB, free: 9.453 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.1409, allocations: 23.92 kB / 414.2 MB, free: 9.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004479/0.1414, allocations: 284.9 kB / 414.5 MB, free: 9.102 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002384/0.1416, allocations: 58.67 kB / 414.6 MB, free: 9.035 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.1417, allocations: 3.938 kB / 414.6 MB, free: 9.031 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001961/0.1419, allocations: 67.52 kB / 414.7 MB, free: 8.953 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.713e-06/0.1419, allocations: 4 kB / 414.7 MB, free: 8.949 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007199/0.1426, allocations: 177 kB / 414.8 MB, free: 8.77 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.1427, allocations: 51.41 kB / 414.9 MB, free: 8.707 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000272/0.143, allocations: 197.4 kB / 415.1 MB, free: 8.504 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.143, allocations: 25.7 kB / 415.1 MB, free: 8.473 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.532e-05/0.1431, allocations: 162.6 kB / 415.3 MB, free: 8.312 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.187e-05/0.1431, allocations: 31.64 kB / 415.3 MB, free: 8.281 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.355e-06/0.1432, allocations: 4 kB / 415.3 MB, free: 8.277 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.1433, allocations: 314.8 kB / 415.6 MB, free: 7.961 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.609e-05/0.1434, allocations: 15.98 kB / 415.6 MB, free: 7.945 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.1435, allocations: 37.7 kB / 415.6 MB, free: 7.902 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/0.1436, allocations: 32.05 kB / 415.7 MB, free: 7.871 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1436, allocations: 7.891 kB / 415.7 MB, free: 7.863 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000266/0.1439, allocations: 85.69 kB / 415.8 MB, free: 7.773 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.1439, allocations: 10.81 kB / 415.8 MB, free: 7.766 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1439, allocations: 0 / 415.8 MB, free: 7.766 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.144, allocations: 0 / 415.8 MB, free: 7.766 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.1441, allocations: 19.92 kB / 415.8 MB, free: 7.746 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.1441, allocations: 4 kB / 415.8 MB, free: 7.742 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.153e-05/0.1442, allocations: 4 kB / 415.8 MB, free: 7.738 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.1443, allocations: 4 kB / 415.8 MB, free: 7.734 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.0001339/0.1444, allocations: 129.9 kB / 415.9 MB, free: 7.598 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.219e-05/0.1444, allocations: 15.77 kB / 416 MB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.778e-05/0.1445, allocations: 25.39 kB / 416 MB, free: 7.551 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.1445, allocations: 0 / 416 MB, free: 7.551 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.1445, allocations: 0 / 416 MB, free: 7.551 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1446, allocations: 0 / 416 MB, free: 7.551 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006347/0.1452, allocations: 395.3 kB / 416.4 MB, free: 7.105 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.1452, allocations: 0 / 416.4 MB, free: 7.105 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.898e-05/0.1453, allocations: 16.58 kB / 416.4 MB, free: 7.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.1453, allocations: 3.938 kB / 416.4 MB, free: 7.086 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.1454, allocations: 7.938 kB / 416.4 MB, free: 7.078 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.1454, allocations: 4 kB / 416.4 MB, free: 7.074 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.1454, allocations: 0 / 416.4 MB, free: 7.074 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003337/0.1457, allocations: 217.8 kB / 416.6 MB, free: 6.836 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.367e-05/0.1458, allocations: 93 kB / 416.7 MB, free: 6.727 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.464e-05/0.1459, allocations: 11.98 kB / 416.7 MB, free: 6.715 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.146, allocations: 0 / 416.7 MB, free: 6.715 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.873e-05/0.146, allocations: 7.984 kB / 416.7 MB, free: 6.707 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.362e-05/0.1461, allocations: 4 kB / 416.7 MB, free: 6.703 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001952/0.1463, allocations: 157 kB / 416.9 MB, free: 6.551 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1463, allocations: 0 / 416.9 MB, free: 6.551 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003363/0.1466, allocations: 24 kB / 416.9 MB, free: 6.527 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.001266/0.1479, allocations: 447.2 kB / 417.3 MB, free: 6.215 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002801/0.1482, allocations: 51.98 kB / 417.4 MB, free: 6.164 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1482, allocations: 3.938 kB / 417.4 MB, free: 6.16 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.1484, allocations: 35.91 kB / 417.4 MB, free: 6.125 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.1487, allocations: 19.98 kB / 417.4 MB, free: 6.105 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006612/0.1494, allocations: 287.8 kB / 417.7 MB, free: 5.789 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.1497, allocations: 0.7121 MB / 418.4 MB, free: 5.051 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.741e-05/0.1498, allocations: 27.42 kB / 418.5 MB, free: 5.023 MB / 346.7 MB Notification: Performance of SimCode: time 9.12e-07/0.1498, allocations: 4 kB / 418.5 MB, free: 5.02 MB / 346.7 MB Notification: Performance of Templates: time 0.005323/0.1551, allocations: 1.948 MB / 420.4 MB, free: 3.074 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test9CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test9CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test9Functions.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.Test9CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test9CalcHelperMain.o] Error 1