Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test67") Notification: Performance of loadModel(ModelicaTest): time 2.463/2.463, allocations: 270 MB / 282.7 MB, free: 1.809 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.28e-05/4.291e-05, allocations: 11.94 kB / 347 MB, free: 3.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3294, allocations: 61.88 MB / 408.9 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1393/0.4687, allocations: 89.57 MB / 498.4 MB, free: 1.094 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/0.469, allocations: 67.97 kB / 498.5 MB, free: 1.027 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04846/0.5175, allocations: 11.34 MB / 0.4979 GB, free: 5.664 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.431e-06/0.5175, allocations: 7.875 kB / 0.4979 GB, free: 5.656 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.875e-05/0.5176, allocations: 8 kB / 0.4979 GB, free: 5.648 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001202/0.5188, allocations: 0.6357 MB / 0.4985 GB, free: 4.961 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.5188, allocations: 8.031 kB / 0.4985 GB, free: 4.953 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/0.519, allocations: 51.34 kB / 0.4986 GB, free: 4.902 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/0.5201, allocations: 423 kB / 0.499 GB, free: 4.449 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.825e-05/0.5201, allocations: 19.95 kB / 0.499 GB, free: 4.43 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.62e-05/0.5202, allocations: 12 kB / 0.499 GB, free: 4.418 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004478/0.5206, allocations: 203 kB / 0.4992 GB, free: 4.199 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.5207, allocations: 0 / 0.4992 GB, free: 4.199 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.21e-05/0.5207, allocations: 7.984 kB / 0.4992 GB, free: 4.191 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.5207, allocations: 4 kB / 0.4992 GB, free: 4.188 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002661/0.521, allocations: 103.8 kB / 0.4993 GB, free: 4.086 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001441/0.5225, allocations: 0.8917 MB / 0.5002 GB, free: 3.129 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005717/0.5231, allocations: 269.8 kB / 0.5004 GB, free: 2.82 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002119/0.5233, allocations: 88.41 kB / 0.5005 GB, free: 2.719 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.5233, allocations: 7.984 kB / 0.5005 GB, free: 2.711 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004642/0.5238, allocations: 219.5 kB / 0.5007 GB, free: 2.469 MB / 426.7 MB Notification: Performance of pre-optimization done (n=30): time 3.786e-06/0.5238, allocations: 0 / 0.5007 GB, free: 2.469 MB / 426.7 MB Notification: Performance of matching and sorting (n=40): time 0.00232/0.5262, allocations: 0.89 MB / 0.5016 GB, free: 1.566 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/0.5263, allocations: 162.2 kB / 0.5018 GB, free: 1.371 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.5274, allocations: 0.5476 MB / 0.5023 GB, free: 0.8125 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.551e-05/0.5275, allocations: 41.7 kB / 0.5023 GB, free: 0.7656 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002099/0.5277, allocations: 251.2 kB / 0.5026 GB, free: 0.5195 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001528/0.5278, allocations: 122.4 kB / 0.5027 GB, free: 408 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.56e-05/0.5279, allocations: 8 kB / 0.5027 GB, free: 400 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.5281, allocations: 330.8 kB / 0.503 GB, free: 60 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002735/0.5284, allocations: 88.92 kB / 0.5031 GB, free: 15.97 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003275/0.5287, allocations: 180 kB / 0.5033 GB, free: 15.77 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002896/0.529, allocations: 104.3 kB / 0.5034 GB, free: 15.66 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.599e-06/0.529, allocations: 0 / 0.5034 GB, free: 15.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008352/0.5299, allocations: 353.2 kB / 0.5037 GB, free: 15.31 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.5299, allocations: 4 kB / 0.5037 GB, free: 15.31 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.5299, allocations: 7.953 kB / 0.5037 GB, free: 15.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.53, allocations: 4 kB / 0.5037 GB, free: 15.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004448/0.5304, allocations: 83.89 kB / 0.5038 GB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.748e-05/0.5304, allocations: 7.938 kB / 0.5038 GB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003459/0.5308, allocations: 24.14 kB / 0.5038 GB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-05/0.5309, allocations: 20 kB / 0.5039 GB, free: 15.16 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.t_s.nextTimeEvent,t_s.nextTimeEvent,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEventScaled,$whenCondition4,$PRE.t_min.nextTimeEvent,t_min.nextTimeEvent,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEventScaled,$whenCondition3,$PRE.t_h.nextTimeEvent,t_h.nextTimeEvent,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEventScaled,$whenCondition2,$PRE.t_d.nextTimeEvent,t_d.nextTimeEvent,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEventScaled,$whenCondition1,$PRE.t_ms.nextTimeEvent,t_ms.nextTimeEvent,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0001747/0.5311, allocations: 132 kB / 0.504 GB, free: 15.03 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.5312, allocations: 63.23 kB / 0.504 GB, free: 14.97 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001204/0.5324, allocations: 461.5 kB / 0.5045 GB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.9e-05/0.5325, allocations: 11.94 kB / 0.5045 GB, free: 14.49 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/0.5325, allocations: 8 kB / 0.5045 GB, free: 14.48 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.19e-06/0.5325, allocations: 0 / 0.5045 GB, free: 14.48 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002413/0.5349, allocations: 1.343 MB / 0.5058 GB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-05/0.535, allocations: 7.984 kB / 0.5058 GB, free: 13.06 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002544/0.5352, allocations: 59.84 kB / 0.5059 GB, free: 13 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.474e-05/0.5353, allocations: 4 kB / 0.5059 GB, free: 13 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.137e-05/0.5353, allocations: 15.98 kB / 0.5059 GB, free: 12.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-05/0.5353, allocations: 7.938 kB / 0.5059 GB, free: 12.97 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.479e-06/0.5354, allocations: 4 kB / 0.5059 GB, free: 12.97 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001304/0.5367, allocations: 0.9289 MB / 0.5068 GB, free: 11.95 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002473/0.5369, allocations: 160.8 kB / 0.507 GB, free: 11.77 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.5371, allocations: 23.95 kB / 0.507 GB, free: 11.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000513/0.5376, allocations: 19.98 kB / 0.507 GB, free: 11.73 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.5377, allocations: 39.95 kB / 0.507 GB, free: 11.69 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-05/0.5378, allocations: 15.98 kB / 0.5071 GB, free: 11.67 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007971/0.5386, allocations: 457.5 kB / 0.5075 GB, free: 11.23 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.57e-07/0.5386, allocations: 4 kB / 0.5075 GB, free: 11.22 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008431/0.5395, allocations: 99.98 kB / 0.5076 GB, free: 11.12 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001731/0.5412, allocations: 478.9 kB / 0.5081 GB, free: 10.8 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007667/0.542, allocations: 287.5 kB / 0.5083 GB, free: 10.52 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/0.542, allocations: 320 / 0.5083 GB, free: 10.52 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003624/0.5424, allocations: 155.7 kB / 0.5085 GB, free: 10.37 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.5435, allocations: 123.4 kB / 0.5086 GB, free: 10.26 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001846/0.5454, allocations: 0.7574 MB / 0.5093 GB, free: 9.445 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007/0.5461, allocations: 0.8629 MB / 0.5102 GB, free: 8.555 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002267/0.5464, allocations: 59.41 kB / 0.5102 GB, free: 8.5 MB / 442.7 MB Notification: Performance of SimCode: time 2.019e-06/0.5464, allocations: 0 / 0.5102 GB, free: 8.5 MB / 442.7 MB Notification: Performance of Templates: time 0.01334/0.5597, allocations: 6.449 MB / 0.5165 GB, free: 2.066 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.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 -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -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.Test67CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test67CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test67CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test67Functions.cpp:241:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp25.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.Test67CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test67CalcHelperMain.o] Error 1