Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test87") Notification: Performance of loadModel(ModelicaTest): time 2.353/2.353, allocations: 270 MB / 282.7 MB, free: 1.836 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.639e-05/3.651e-05, allocations: 8 kB / 347 MB, free: 3.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3266, allocations: 61.87 MB / 408.8 MB, free: 10.84 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1465/0.4731, allocations: 89.95 MB / 498.8 MB, free: 0.7656 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/0.4734, allocations: 75.95 kB / 498.9 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0517/0.5251, allocations: 12.7 MB / 0.4996 GB, free: 3.965 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.229e-06/0.5252, allocations: 0 / 0.4996 GB, free: 3.965 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.227e-05/0.5252, allocations: 12 kB / 0.4996 GB, free: 3.953 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.001204/0.5264, allocations: 0.7171 MB / 0.5003 GB, free: 3.184 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.5265, allocations: 12.03 kB / 0.5003 GB, free: 3.172 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001457/0.5267, allocations: 63.16 kB / 0.5004 GB, free: 3.109 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.5277, allocations: 467.5 kB / 0.5008 GB, free: 2.609 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.203e-05/0.5278, allocations: 11.95 kB / 0.5008 GB, free: 2.598 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.168e-05/0.5278, allocations: 23.84 kB / 0.5008 GB, free: 2.578 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004029/0.5283, allocations: 185 kB / 0.501 GB, free: 2.379 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.5283, allocations: 0 / 0.501 GB, free: 2.379 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.056e-05/0.5283, allocations: 15.92 kB / 0.501 GB, free: 2.363 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.5284, allocations: 4 kB / 0.501 GB, free: 2.359 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002421/0.5286, allocations: 83.91 kB / 0.5011 GB, free: 2.277 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001451/0.5301, allocations: 0.8719 MB / 0.502 GB, free: 1.344 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000713/0.5308, allocations: 238.5 kB / 0.5022 GB, free: 1.074 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001985/0.531, allocations: 83.55 kB / 0.5023 GB, free: 0.9805 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.5311, allocations: 8 kB / 0.5023 GB, free: 0.9727 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004251/0.5315, allocations: 196.9 kB / 0.5025 GB, free: 0.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 3.293e-06/0.5315, allocations: 0 / 0.5025 GB, free: 0.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.002516/0.534, allocations: 1.008 MB / 0.5035 GB, free: 15.73 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.5342, allocations: 144.5 kB / 0.5036 GB, free: 15.55 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00156/0.5358, allocations: 0.8238 MB / 0.5044 GB, free: 14.72 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.83e-05/0.5358, allocations: 37.7 kB / 0.5044 GB, free: 14.68 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002375/0.5361, allocations: 267.5 kB / 0.5047 GB, free: 14.41 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001672/0.5363, allocations: 142.1 kB / 0.5048 GB, free: 14.27 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/0.5363, allocations: 8 kB / 0.5048 GB, free: 14.27 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.5365, allocations: 330.6 kB / 0.5052 GB, free: 13.94 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002729/0.5368, allocations: 112.9 kB / 0.5053 GB, free: 13.83 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003413/0.5371, allocations: 174.3 kB / 0.5054 GB, free: 13.63 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003163/0.5375, allocations: 128.3 kB / 0.5055 GB, free: 13.51 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.5375, allocations: 0 / 0.5055 GB, free: 13.51 MB / 442.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008761/0.5384, allocations: 373.2 kB / 0.5059 GB, free: 13.14 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.5384, allocations: 4 kB / 0.5059 GB, free: 13.13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.5384, allocations: 4 kB / 0.5059 GB, free: 13.13 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.5385, allocations: 4 kB / 0.5059 GB, free: 13.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000435/0.5389, allocations: 87.89 kB / 0.506 GB, free: 13.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.392e-05/0.5389, allocations: 4.234 kB / 0.506 GB, free: 13.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003267/0.5393, allocations: 36.02 kB / 0.506 GB, free: 13 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.981e-05/0.5393, allocations: 19.98 kB / 0.5061 GB, free: 12.98 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.0001941/0.5395, allocations: 147 kB / 0.5062 GB, free: 12.83 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.5397, allocations: 67.16 kB / 0.5063 GB, free: 12.77 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001281/0.541, allocations: 0.5107 MB / 0.5068 GB, free: 12.24 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.5411, allocations: 15.94 kB / 0.5068 GB, free: 12.23 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.244e-06/0.5411, allocations: 0 / 0.5068 GB, free: 12.23 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.022e-06/0.5411, allocations: 0 / 0.5068 GB, free: 12.23 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002792/0.5439, allocations: 1.451 MB / 0.5082 GB, free: 10.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/0.5439, allocations: 4 kB / 0.5082 GB, free: 10.69 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002863/0.5442, allocations: 63.91 kB / 0.5083 GB, free: 10.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.306e-05/0.5443, allocations: 4 kB / 0.5083 GB, free: 10.62 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.627e-05/0.5443, allocations: 20.25 kB / 0.5083 GB, free: 10.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.196e-05/0.5443, allocations: 11.92 kB / 0.5083 GB, free: 10.59 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.226e-06/0.5444, allocations: 4 kB / 0.5083 GB, free: 10.59 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002221/0.5466, allocations: 0.924 MB / 0.5092 GB, free: 9.547 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00093/0.5476, allocations: 232 kB / 0.5094 GB, free: 9.301 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002852/0.5479, allocations: 19.98 kB / 0.5094 GB, free: 9.281 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/0.549, allocations: 27.98 kB / 0.5095 GB, free: 9.254 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002125/0.5493, allocations: 39.89 kB / 0.5095 GB, free: 9.215 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001178/0.5494, allocations: 23.98 kB / 0.5095 GB, free: 9.191 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002621/0.5521, allocations: 0.6635 MB / 0.5102 GB, free: 8.535 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.459e-06/0.5521, allocations: 0 / 0.5102 GB, free: 8.535 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002029/0.5541, allocations: 119.9 kB / 0.5103 GB, free: 8.418 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.003767/0.5579, allocations: 0.5367 MB / 0.5108 GB, free: 8.047 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001674/0.5597, allocations: 298.8 kB / 0.5111 GB, free: 7.758 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/0.5597, allocations: 0 / 0.5111 GB, free: 7.758 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008005/0.5605, allocations: 163.7 kB / 0.5113 GB, free: 7.598 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002205/0.5628, allocations: 114.1 kB / 0.5114 GB, free: 7.492 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004962/0.5678, allocations: 1.048 MB / 0.5124 GB, free: 6.375 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00149/0.5693, allocations: 0.9295 MB / 0.5133 GB, free: 5.422 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005067/0.5698, allocations: 63.36 kB / 0.5134 GB, free: 5.359 MB / 442.7 MB Notification: Performance of SimCode: time 2.998e-06/0.5699, allocations: 4 kB / 0.5134 GB, free: 5.355 MB / 442.7 MB Notification: Performance of Templates: time 0.02958/0.5995, allocations: 6.98 MB / 0.5202 GB, free: 14.39 MB / 458.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test87.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.Test87CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test87CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test87CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test87Functions.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.Test87CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test87CalcHelperMain.o] Error 1