Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.nextTimeEvent|startTime_0.y.1.|startTime.nextTimeEvent|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadModel(ModelicaTest): time 2.419/2.419, allocations: 269 MB / 284.1 MB, free: 3.641 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.452e-05/3.452e-05, allocations: 8 kB / 349 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.181, allocations: 61.9 MB / 410.9 MB, free: 12.84 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003464/0.1846, allocations: 1.458 MB / 412.4 MB, free: 11.37 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002567/0.1872, allocations: 0.7881 MB / 413.2 MB, free: 10.58 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001495/0.1874, allocations: 0 / 413.2 MB, free: 10.58 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007708/0.1882, allocations: 279.4 kB / 413.5 MB, free: 10.3 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005542/0.1888, allocations: 179.6 kB / 413.6 MB, free: 10.13 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007837/0.1896, allocations: 135.7 kB / 413.8 MB, free: 9.996 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003747/0.19, allocations: 123.7 kB / 413.9 MB, free: 9.875 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.797e-05/0.19, allocations: 0 / 413.9 MB, free: 9.875 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002219/0.1903, allocations: 87.75 kB / 414 MB, free: 9.789 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003635/0.1906, allocations: 139.7 kB / 414.1 MB, free: 9.652 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001907/0.1908, allocations: 24 kB / 414.1 MB, free: 9.629 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.033e-05/0.1909, allocations: 15.88 kB / 414.1 MB, free: 9.613 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002468/0.1912, allocations: 127.7 kB / 414.3 MB, free: 9.488 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.751e-05/0.1913, allocations: 12 kB / 414.3 MB, free: 9.477 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000588/0.1919, allocations: 271.8 kB / 414.6 MB, free: 9.211 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1919, allocations: 3.938 kB / 414.6 MB, free: 9.207 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.925e-06/0.1919, allocations: 4 kB / 414.6 MB, free: 9.203 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.15e-05/0.192, allocations: 0 / 414.6 MB, free: 9.203 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001169/0.1931, allocations: 0.5569 MB / 415.1 MB, free: 8.598 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.797e-05/0.1932, allocations: 8.031 kB / 415.1 MB, free: 8.59 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001435/0.1934, allocations: 43.44 kB / 415.2 MB, free: 8.547 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.1945, allocations: 419 kB / 415.6 MB, free: 8.094 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.156e-05/0.1946, allocations: 8 kB / 415.6 MB, free: 8.086 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.175e-05/0.1946, allocations: 3.984 kB / 415.6 MB, free: 8.082 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003878/0.195, allocations: 91.27 kB / 415.7 MB, free: 7.98 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.1951, allocations: 0 / 415.7 MB, free: 7.98 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.1951, allocations: 4 kB / 415.7 MB, free: 7.977 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.1951, allocations: 3.938 kB / 415.7 MB, free: 7.973 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002173/0.1953, allocations: 27.97 kB / 415.7 MB, free: 7.945 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007681/0.1961, allocations: 374.3 kB / 416.1 MB, free: 7.527 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005339/0.1967, allocations: 109.3 kB / 416.2 MB, free: 7.402 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.1967, allocations: 0 / 416.2 MB, free: 7.402 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004099/0.1972, allocations: 109.1 kB / 416.3 MB, free: 7.277 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 2.736e-06/0.1972, allocations: 4 kB / 416.3 MB, free: 7.273 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0009756/0.1982, allocations: 201.1 kB / 416.5 MB, free: 7.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.969e-05/0.1983, allocations: 77.11 kB / 416.6 MB, free: 6.977 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002238/0.2005, allocations: 0.9395 MB / 417.5 MB, free: 6.027 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.974e-05/0.2006, allocations: 33.69 kB / 417.5 MB, free: 5.988 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002698/0.2009, allocations: 242.6 kB / 417.8 MB, free: 5.75 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.553e-05/0.201, allocations: 27.7 kB / 417.8 MB, free: 5.723 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.137e-05/0.201, allocations: 0 / 417.8 MB, free: 5.723 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.2012, allocations: 322.8 kB / 418.1 MB, free: 5.398 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/0.2014, allocations: 23.98 kB / 418.1 MB, free: 5.375 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/0.2017, allocations: 59.41 kB / 418.2 MB, free: 5.305 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.2019, allocations: 39.92 kB / 418.2 MB, free: 5.266 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.2019, allocations: 0 / 418.2 MB, free: 5.266 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005706/0.2025, allocations: 113.6 kB / 418.3 MB, free: 5.148 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.212e-05/0.2025, allocations: 14.8 kB / 418.4 MB, free: 5.137 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.2025, allocations: 3.953 kB / 418.4 MB, free: 5.133 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/0.2026, allocations: 4 kB / 418.4 MB, free: 5.129 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002547/0.2028, allocations: 19.94 kB / 418.4 MB, free: 5.109 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.2029, allocations: 3.984 kB / 418.4 MB, free: 5.105 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003029/0.2032, allocations: 23.91 kB / 418.4 MB, free: 5.082 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.282e-05/0.2032, allocations: 7.938 kB / 418.4 MB, free: 5.074 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.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.00048/0.2037, allocations: 213.8 kB / 418.6 MB, free: 4.855 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.2039, allocations: 51.34 kB / 418.7 MB, free: 4.805 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001685/0.2041, allocations: 59.84 kB / 418.7 MB, free: 4.738 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.2041, allocations: 3.953 kB / 418.7 MB, free: 4.734 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.2041, allocations: 0 / 418.7 MB, free: 4.734 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.2041, allocations: 4 kB / 418.7 MB, free: 4.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005855/0.2047, allocations: 325.5 kB / 419.1 MB, free: 4.363 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.2048, allocations: 4 kB / 419.1 MB, free: 4.359 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.858e-05/0.2049, allocations: 15.92 kB / 419.1 MB, free: 4.344 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.882e-06/0.2049, allocations: 4.375 kB / 419.1 MB, free: 4.34 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.442e-05/0.2049, allocations: 4 kB / 419.1 MB, free: 4.336 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.2049, allocations: 4 kB / 419.1 MB, free: 4.332 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.285e-06/0.205, allocations: 7.953 kB / 419.1 MB, free: 4.324 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007175/0.2057, allocations: 207 kB / 419.3 MB, free: 4.094 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002935/0.206, allocations: 148.4 kB / 419.5 MB, free: 3.93 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.2061, allocations: 0 / 419.5 MB, free: 3.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.2064, allocations: 15.94 kB / 419.5 MB, free: 3.914 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.628e-05/0.2065, allocations: 8 kB / 419.5 MB, free: 3.906 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.658e-05/0.2065, allocations: 7.984 kB / 419.5 MB, free: 3.898 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001756/0.2083, allocations: 0.7487 MB / 420.2 MB, free: 3.152 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.2083, allocations: 0 / 420.2 MB, free: 3.152 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006348/0.209, allocations: 44 kB / 420.3 MB, free: 3.109 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001671/0.2106, allocations: 396.1 kB / 420.7 MB, free: 2.828 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005492/0.2112, allocations: 79.89 kB / 420.7 MB, free: 2.75 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.2112, allocations: 8.062 kB / 420.7 MB, free: 2.742 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002253/0.2115, allocations: 39.98 kB / 420.8 MB, free: 2.703 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007527/0.2123, allocations: 58.27 kB / 420.8 MB, free: 2.648 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00277/0.215, allocations: 0.9299 MB / 421.8 MB, free: 1.68 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000883/0.216, allocations: 0.8429 MB / 422.6 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.2161, allocations: 27.44 kB / 422.6 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of SimCode: time 1.262e-06/0.2162, allocations: 3.938 kB / 422.6 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of Templates: time 0.3536/0.5698, allocations: 4.852 MB / 427.5 MB, free: 11.8 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test69CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test69CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test69Functions.cpp:205:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp31.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.Test69CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test69CalcHelperMain.o] Error 1