Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test75") Notification: Performance of loadModel(ModelicaTest): time 2.344/2.344, allocations: 269 MB / 284.1 MB, free: 3.637 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.146e-05/3.141e-05, allocations: 4 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1275, allocations: 61.9 MB / 410.9 MB, free: 12.85 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.002767/0.1303, allocations: 1.544 MB / 412.5 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002041/0.1324, allocations: 0.7998 MB / 413.3 MB, free: 10.49 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.1326, allocations: 11.94 kB / 413.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000494/0.1331, allocations: 199.5 kB / 413.5 MB, free: 10.29 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003629/0.1335, allocations: 143.6 kB / 413.6 MB, free: 10.14 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006103/0.1341, allocations: 139.7 kB / 413.8 MB, free: 10.01 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003181/0.1345, allocations: 135.7 kB / 413.9 MB, free: 9.875 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.715e-05/0.1346, allocations: 11.98 kB / 413.9 MB, free: 9.863 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.1348, allocations: 83.75 kB / 414 MB, free: 9.781 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002461/0.135, allocations: 107.7 kB / 414.1 MB, free: 9.676 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001824/0.1352, allocations: 47.92 kB / 414.1 MB, free: 9.629 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.535e-05/0.1353, allocations: 4 kB / 414.1 MB, free: 9.625 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.189e-05/0.1354, allocations: 55.81 kB / 414.2 MB, free: 9.57 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.63e-05/0.1354, allocations: 8 kB / 414.2 MB, free: 9.562 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003155/0.1357, allocations: 168 kB / 414.4 MB, free: 9.398 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1358, allocations: 0 / 414.4 MB, free: 9.398 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.649e-06/0.1358, allocations: 7.938 kB / 414.4 MB, free: 9.391 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.1358, allocations: 0 / 414.4 MB, free: 9.391 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008002/0.1366, allocations: 481.1 kB / 414.9 MB, free: 8.875 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.1367, allocations: 8.031 kB / 414.9 MB, free: 8.867 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.993e-05/0.1367, allocations: 31.61 kB / 414.9 MB, free: 8.836 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004314/0.1372, allocations: 259.1 kB / 415.1 MB, free: 8.547 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.1372, allocations: 8 kB / 415.2 MB, free: 8.539 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.413e-05/0.1373, allocations: 15.94 kB / 415.2 MB, free: 8.523 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003202/0.1376, allocations: 115.3 kB / 415.3 MB, free: 8.398 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.1376, allocations: 4 kB / 415.3 MB, free: 8.395 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.1377, allocations: 0 / 415.3 MB, free: 8.395 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.914e-06/0.1377, allocations: 3.984 kB / 415.3 MB, free: 8.391 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002015/0.1379, allocations: 43.97 kB / 415.3 MB, free: 8.348 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007163/0.1386, allocations: 476.7 kB / 415.8 MB, free: 7.828 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005514/0.1392, allocations: 125.2 kB / 415.9 MB, free: 7.688 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.639e-05/0.1393, allocations: 12.05 kB / 415.9 MB, free: 7.676 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003391/0.1396, allocations: 117.1 kB / 416 MB, free: 7.543 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 5.62e-06/0.1396, allocations: 0 / 416 MB, free: 7.543 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.00193/0.1416, allocations: 0.4928 MB / 416.5 MB, free: 7.043 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.76e-05/0.1416, allocations: 81.06 kB / 416.6 MB, free: 6.945 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006174/0.1423, allocations: 391.7 kB / 417 MB, free: 6.547 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.544e-05/0.1423, allocations: 33.7 kB / 417 MB, free: 6.508 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.1425, allocations: 199 kB / 417.2 MB, free: 6.312 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.536e-05/0.1426, allocations: 67.02 kB / 417.3 MB, free: 6.246 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.591e-05/0.1426, allocations: 4 kB / 417.3 MB, free: 6.242 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.1427, allocations: 318.8 kB / 417.6 MB, free: 5.922 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002667/0.143, allocations: 63.97 kB / 417.7 MB, free: 5.859 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002346/0.1433, allocations: 83.41 kB / 417.8 MB, free: 5.766 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002348/0.1435, allocations: 72.08 kB / 417.8 MB, free: 5.695 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.1435, allocations: 4 kB / 417.8 MB, free: 5.691 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006215/0.1442, allocations: 209.4 kB / 418 MB, free: 5.48 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.1442, allocations: 6.812 kB / 418 MB, free: 5.477 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.1442, allocations: 4 kB / 418 MB, free: 5.473 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.1443, allocations: 0 / 418 MB, free: 5.473 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002925/0.1446, allocations: 47.91 kB / 418.1 MB, free: 5.426 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.1446, allocations: 0 / 418.1 MB, free: 5.426 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.1448, allocations: 15.95 kB / 418.1 MB, free: 5.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.52e-05/0.1448, allocations: 8 kB / 418.1 MB, free: 5.402 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002344/0.145, allocations: 165.8 kB / 418.3 MB, free: 5.23 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.764e-05/0.1451, allocations: 35.62 kB / 418.3 MB, free: 5.195 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001136/0.1452, allocations: 38.62 kB / 418.3 MB, free: 5.156 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1453, allocations: 0 / 418.3 MB, free: 5.156 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.1453, allocations: 0 / 418.3 MB, free: 5.156 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.1453, allocations: 7.984 kB / 418.4 MB, free: 5.148 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001362/0.1467, allocations: 0.735 MB / 419.1 MB, free: 4.344 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/0.1467, allocations: 0 / 419.1 MB, free: 4.344 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001829/0.1469, allocations: 27.98 kB / 419.1 MB, free: 4.316 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.068e-05/0.1469, allocations: 7.953 kB / 419.1 MB, free: 4.309 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.797e-05/0.1469, allocations: 4 kB / 419.1 MB, free: 4.305 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-06/0.147, allocations: 4 kB / 419.1 MB, free: 4.301 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/0.147, allocations: 7.922 kB / 419.1 MB, free: 4.293 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007452/0.1477, allocations: 480.5 kB / 419.6 MB, free: 3.77 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.1478, allocations: 108.7 kB / 419.7 MB, free: 3.645 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.008e-05/0.1479, allocations: 11.95 kB / 419.7 MB, free: 3.633 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000223/0.1482, allocations: 15.92 kB / 419.7 MB, free: 3.617 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.579e-05/0.1482, allocations: 19.92 kB / 419.8 MB, free: 3.598 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.642e-05/0.1483, allocations: 11.98 kB / 419.8 MB, free: 3.586 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004875/0.1488, allocations: 323 kB / 420.1 MB, free: 3.273 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1488, allocations: 0 / 420.1 MB, free: 3.273 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004732/0.1493, allocations: 48 kB / 420.1 MB, free: 3.227 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001456/0.1508, allocations: 0.4943 MB / 420.6 MB, free: 2.875 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006195/0.1514, allocations: 151.8 kB / 420.8 MB, free: 2.727 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.1514, allocations: 0 / 420.8 MB, free: 2.727 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002648/0.1517, allocations: 83.84 kB / 420.9 MB, free: 2.645 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006112/0.1523, allocations: 49.05 kB / 420.9 MB, free: 2.59 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.1537, allocations: 0.6211 MB / 421.5 MB, free: 1.922 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000456/0.1541, allocations: 0.7832 MB / 422.3 MB, free: 1.113 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.1543, allocations: 35.42 kB / 422.3 MB, free: 1.082 MB / 346.7 MB Notification: Performance of SimCode: time 9.02e-07/0.1543, allocations: 0 / 422.3 MB, free: 1.082 MB / 346.7 MB Notification: Performance of Templates: time 0.3711/0.5254, allocations: 3.598 MB / 425.9 MB, free: 12.24 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test75CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test75CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test75Functions.cpp:285:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp39.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.Test75CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test75CalcHelperMain.o] Error 1