Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,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.Test26") Notification: Performance of loadModel(ModelicaTest): time 2.373/2.373, allocations: 269 MB / 284.1 MB, free: 3.57 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.236e-05/3.228e-05, allocations: 4 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1321, allocations: 61.89 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.002482/0.1346, allocations: 1.396 MB / 412.3 MB, free: 11.45 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001688/0.1363, allocations: 0.7219 MB / 413.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.508e-05/0.1365, allocations: 0 / 413.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002377/0.1367, allocations: 27.84 kB / 413.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001881/0.1369, allocations: 35.88 kB / 413.1 MB, free: 10.66 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003523/0.1373, allocations: 87.69 kB / 413.2 MB, free: 10.58 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001598/0.1375, allocations: 51.92 kB / 413.3 MB, free: 10.53 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.403e-05/0.1376, allocations: 7.938 kB / 413.3 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.903e-05/0.1377, allocations: 35.91 kB / 413.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.895e-05/0.1378, allocations: 15.92 kB / 413.3 MB, free: 10.47 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.1379, allocations: 31.92 kB / 413.3 MB, free: 10.44 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.1379, allocations: 4 kB / 413.3 MB, free: 10.43 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.916e-05/0.138, allocations: 15.98 kB / 413.4 MB, free: 10.42 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.681e-05/0.138, allocations: 7.938 kB / 413.4 MB, free: 10.41 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002058/0.1382, allocations: 92.08 kB / 413.5 MB, free: 10.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1383, allocations: 7.938 kB / 413.5 MB, free: 10.31 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1383, allocations: 0 / 413.5 MB, free: 10.31 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.1383, allocations: 0 / 413.5 MB, free: 10.31 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.0005578/0.1389, allocations: 375.1 kB / 413.8 MB, free: 9.898 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.1389, allocations: 12.03 kB / 413.8 MB, free: 9.887 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.683e-05/0.139, allocations: 7.906 kB / 413.9 MB, free: 9.879 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003261/0.1393, allocations: 211.5 kB / 414.1 MB, free: 9.629 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.1393, allocations: 0 / 414.1 MB, free: 9.629 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.1394, allocations: 8 kB / 414.1 MB, free: 9.621 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.1396, allocations: 57.62 kB / 414.1 MB, free: 9.559 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.1396, allocations: 3.906 kB / 414.1 MB, free: 9.555 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.1396, allocations: 0 / 414.1 MB, free: 9.555 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1396, allocations: 7.875 kB / 414.1 MB, free: 9.547 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.1398, allocations: 23.98 kB / 414.2 MB, free: 9.523 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004333/0.1402, allocations: 280.9 kB / 414.4 MB, free: 9.199 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002441/0.1405, allocations: 58.67 kB / 414.5 MB, free: 9.133 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.1405, allocations: 3.938 kB / 414.5 MB, free: 9.129 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000201/0.1407, allocations: 67.52 kB / 414.6 MB, free: 9.051 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.903e-06/0.1407, allocations: 0 / 414.6 MB, free: 9.051 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007413/0.1415, allocations: 177.1 kB / 414.7 MB, free: 8.871 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.1415, allocations: 55.41 kB / 414.8 MB, free: 8.805 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/0.1418, allocations: 177.8 kB / 415 MB, free: 8.621 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.1418, allocations: 29.7 kB / 415 MB, free: 8.586 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.791e-05/0.1419, allocations: 162.6 kB / 415.1 MB, free: 8.426 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.084e-05/0.142, allocations: 27.69 kB / 415.2 MB, free: 8.398 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.047e-06/0.142, allocations: 4 kB / 415.2 MB, free: 8.395 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.1421, allocations: 310.8 kB / 415.5 MB, free: 8.082 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.289e-05/0.1422, allocations: 23.98 kB / 415.5 MB, free: 8.059 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.1424, allocations: 37.7 kB / 415.5 MB, free: 8.016 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.77e-05/0.1425, allocations: 23.94 kB / 415.6 MB, free: 7.992 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.1425, allocations: 3.953 kB / 415.6 MB, free: 7.988 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002704/0.1428, allocations: 97.58 kB / 415.7 MB, free: 7.887 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.1428, allocations: 4 kB / 415.7 MB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1428, allocations: 384 / 415.7 MB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.1428, allocations: 0 / 415.7 MB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.143, allocations: 19.94 kB / 415.7 MB, free: 7.863 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.143, allocations: 4.031 kB / 415.7 MB, free: 7.859 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.956e-05/0.1431, allocations: 7.984 kB / 415.7 MB, free: 7.852 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.1431, allocations: 4.156 kB / 415.7 MB, free: 7.848 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.0001324/0.1433, allocations: 129.8 kB / 415.8 MB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.365e-05/0.1433, allocations: 15.84 kB / 415.8 MB, free: 7.695 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.45e-05/0.1434, allocations: 17.39 kB / 415.9 MB, free: 7.672 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.1434, allocations: 4.188 kB / 415.9 MB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1434, allocations: 0 / 415.9 MB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1434, allocations: 7.938 kB / 415.9 MB, free: 7.66 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000632/0.1441, allocations: 395.3 kB / 416.3 MB, free: 7.215 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.1441, allocations: 3.984 kB / 416.3 MB, free: 7.211 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.953e-05/0.1442, allocations: 8 kB / 416.3 MB, free: 7.203 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.1442, allocations: 7.922 kB / 416.3 MB, free: 7.195 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.1442, allocations: 0 / 416.3 MB, free: 7.195 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.1442, allocations: 4 kB / 416.3 MB, free: 7.191 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/0.1442, allocations: 3.938 kB / 416.3 MB, free: 7.188 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003288/0.1446, allocations: 217.9 kB / 416.5 MB, free: 6.949 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.495e-05/0.1447, allocations: 93 kB / 416.6 MB, free: 6.84 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.227e-05/0.1447, allocations: 0 / 416.6 MB, free: 6.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.1448, allocations: 4 kB / 416.6 MB, free: 6.836 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.1449, allocations: 7.984 kB / 416.6 MB, free: 6.828 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.1449, allocations: 4 kB / 416.6 MB, free: 6.824 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001895/0.1451, allocations: 155.5 kB / 416.8 MB, free: 6.676 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-07/0.1451, allocations: 0 / 416.8 MB, free: 6.676 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003327/0.1455, allocations: 20 kB / 416.8 MB, free: 6.656 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.00211/0.1476, allocations: 456.6 kB / 417.2 MB, free: 6.336 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004391/0.1481, allocations: 55.97 kB / 417.3 MB, free: 6.281 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.1481, allocations: 3.938 kB / 417.3 MB, free: 6.277 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.1482, allocations: 35.98 kB / 417.3 MB, free: 6.242 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003819/0.1486, allocations: 23.11 kB / 417.3 MB, free: 6.223 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006711/0.1493, allocations: 280 kB / 417.6 MB, free: 5.914 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.1497, allocations: 0.7121 MB / 418.3 MB, free: 5.176 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.778e-05/0.1497, allocations: 15.44 kB / 418.3 MB, free: 5.16 MB / 346.7 MB Notification: Performance of SimCode: time 9.72e-07/0.1498, allocations: 0 / 418.3 MB, free: 5.16 MB / 346.7 MB Notification: Performance of Templates: time 0.005324/0.1551, allocations: 1.907 MB / 420.2 MB, free: 3.25 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test26CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test26CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test26Functions.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.Test26CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test26CalcHelperMain.o] Error 1