Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test88") Notification: Performance of loadModel(ModelicaTest): time 2.449/2.449, allocations: 270 MB / 282.7 MB, free: 1.891 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.703e-05/3.716e-05, allocations: 4 kB / 347 MB, free: 3.246 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.364, allocations: 61.87 MB / 408.8 MB, free: 10.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1392/0.5032, allocations: 89.96 MB / 498.8 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/0.5035, allocations: 71.97 kB / 498.9 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05062/0.5542, allocations: 12.34 MB / 0.4992 GB, free: 4.137 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.471e-06/0.5542, allocations: 0 / 0.4992 GB, free: 4.137 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.616e-05/0.5543, allocations: 16 kB / 0.4993 GB, free: 4.121 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001181/0.5555, allocations: 0.6666 MB / 0.4999 GB, free: 3.402 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.5555, allocations: 11.97 kB / 0.4999 GB, free: 3.391 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001435/0.5557, allocations: 55.34 kB / 0.5 GB, free: 3.336 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000982/0.5567, allocations: 426.9 kB / 0.5004 GB, free: 2.879 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.823e-05/0.5567, allocations: 15.94 kB / 0.5004 GB, free: 2.863 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.927e-05/0.5568, allocations: 19.94 kB / 0.5004 GB, free: 2.844 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004109/0.5572, allocations: 192.9 kB / 0.5006 GB, free: 2.637 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.5573, allocations: 3.906 kB / 0.5006 GB, free: 2.633 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.899e-05/0.5573, allocations: 8 kB / 0.5006 GB, free: 2.625 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.5573, allocations: 0 / 0.5006 GB, free: 2.625 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002501/0.5576, allocations: 91.89 kB / 0.5007 GB, free: 2.535 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001397/0.559, allocations: 0.8328 MB / 0.5015 GB, free: 1.641 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007147/0.5597, allocations: 238.6 kB / 0.5017 GB, free: 1.371 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002088/0.5599, allocations: 83.55 kB / 0.5018 GB, free: 1.277 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.56, allocations: 8.062 kB / 0.5018 GB, free: 1.27 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004057/0.5604, allocations: 196.3 kB / 0.502 GB, free: 1.047 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 3.792e-06/0.5604, allocations: 0 / 0.502 GB, free: 1.047 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.00248/0.5629, allocations: 0.9614 MB / 0.5029 GB, free: 76 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/0.5631, allocations: 136.5 kB / 0.5031 GB, free: 15.91 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/0.5643, allocations: 0.6727 MB / 0.5037 GB, free: 15.23 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.927e-05/0.5644, allocations: 37.7 kB / 0.5038 GB, free: 15.18 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002104/0.5646, allocations: 247.5 kB / 0.504 GB, free: 14.94 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/0.5648, allocations: 138.1 kB / 0.5041 GB, free: 14.8 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/0.5649, allocations: 12 kB / 0.5042 GB, free: 14.79 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.5651, allocations: 338.7 kB / 0.5045 GB, free: 14.45 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002697/0.5653, allocations: 104.9 kB / 0.5046 GB, free: 14.35 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000333/0.5657, allocations: 178.3 kB / 0.5047 GB, free: 14.15 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003118/0.566, allocations: 124.3 kB / 0.5049 GB, free: 14.03 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.96e-06/0.566, allocations: 7.984 kB / 0.5049 GB, free: 14.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008604/0.5669, allocations: 377.1 kB / 0.5052 GB, free: 13.65 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.5669, allocations: 4 kB / 0.5052 GB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.567, allocations: 4 kB / 0.5052 GB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.567, allocations: 7.984 kB / 0.5052 GB, free: 13.63 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004371/0.5674, allocations: 87.83 kB / 0.5053 GB, free: 13.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.5675, allocations: 4 kB / 0.5053 GB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002791/0.5678, allocations: 28.11 kB / 0.5054 GB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.557e-05/0.5678, allocations: 19.94 kB / 0.5054 GB, free: 13.5 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition3,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$whenCondition2,$PRE.t_new_3.nextTimeEvent,t_new_3.nextTimeEvent,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEventScaled,$whenCondition1,$PRE.t_new_4.nextTimeEvent,t_new_4.nextTimeEvent,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0001683/0.568, allocations: 135.1 kB / 0.5055 GB, free: 13.36 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.5682, allocations: 71.14 kB / 0.5056 GB, free: 13.29 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/0.5694, allocations: 498.9 kB / 0.5061 GB, free: 12.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/0.5694, allocations: 8 kB / 0.5061 GB, free: 12.79 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.947e-06/0.5694, allocations: 4 kB / 0.5061 GB, free: 12.79 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.5695, allocations: 0 / 0.5061 GB, free: 12.79 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002516/0.572, allocations: 1.404 MB / 0.5074 GB, free: 11.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.28e-05/0.572, allocations: 7.953 kB / 0.5074 GB, free: 11.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002819/0.5723, allocations: 59.92 kB / 0.5075 GB, free: 11.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.364e-05/0.5723, allocations: 4 kB / 0.5075 GB, free: 11.23 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.884e-05/0.5724, allocations: 19.98 kB / 0.5075 GB, free: 11.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.815e-06/0.5724, allocations: 12.25 kB / 0.5075 GB, free: 11.2 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.757e-06/0.5724, allocations: 3.938 kB / 0.5075 GB, free: 11.19 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/0.5737, allocations: 0.9125 MB / 0.5084 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003869/0.5742, allocations: 220.2 kB / 0.5086 GB, free: 9.93 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00012/0.5743, allocations: 19.95 kB / 0.5087 GB, free: 9.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004512/0.5748, allocations: 24.36 kB / 0.5087 GB, free: 9.887 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.5749, allocations: 35.95 kB / 0.5087 GB, free: 9.852 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.185e-05/0.5749, allocations: 23.98 kB / 0.5087 GB, free: 9.828 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009916/0.5759, allocations: 0.5327 MB / 0.5093 GB, free: 9.297 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.11e-07/0.576, allocations: 3.938 kB / 0.5093 GB, free: 9.293 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008354/0.5768, allocations: 115.9 kB / 0.5094 GB, free: 9.18 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001926/0.5787, allocations: 0.5507 MB / 0.5099 GB, free: 8.789 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007754/0.5795, allocations: 298.8 kB / 0.5102 GB, free: 8.496 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.563e-06/0.5796, allocations: 0 / 0.5102 GB, free: 8.496 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003795/0.58, allocations: 159.7 kB / 0.5103 GB, free: 8.34 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009427/0.5809, allocations: 105.8 kB / 0.5104 GB, free: 8.242 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002028/0.583, allocations: 0.9179 MB / 0.5113 GB, free: 7.258 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007046/0.5837, allocations: 0.8866 MB / 0.5122 GB, free: 6.344 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002312/0.5839, allocations: 67.41 kB / 0.5123 GB, free: 6.277 MB / 442.7 MB Notification: Performance of SimCode: time 5.319e-06/0.584, allocations: 3.938 kB / 0.5123 GB, free: 6.273 MB / 442.7 MB Notification: Performance of Templates: time 0.01282/0.5968, allocations: 6.517 MB / 0.5186 GB, free: 15.79 MB / 458.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test88.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.Test88CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test88CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test88CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test88Functions.cpp:282:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp24.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.Test88CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test88CalcHelperMain.o] Error 1