Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test78") Notification: Performance of loadModel(ModelicaTest): time 2.373/2.373, allocations: 270 MB / 282.6 MB, free: 1.797 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.248e-05/3.259e-05, allocations: 4 kB / 347 MB, free: 3.121 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.3656, allocations: 61.89 MB / 408.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1385/0.5041, allocations: 89.53 MB / 498.4 MB, free: 1.094 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/0.5044, allocations: 71.97 kB / 498.5 MB, free: 1.023 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03385/0.5382, allocations: 8.342 MB / 0.4949 GB, free: 8.668 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5383, allocations: 0 / 0.4949 GB, free: 8.668 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.827e-05/0.5383, allocations: 11.94 kB / 0.4949 GB, free: 8.656 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007828/0.5391, allocations: 0.4977 MB / 0.4954 GB, free: 8.113 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.5392, allocations: 8.031 kB / 0.4954 GB, free: 8.105 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.237e-05/0.5393, allocations: 35.62 kB / 0.4955 GB, free: 8.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006079/0.5399, allocations: 303.8 kB / 0.4958 GB, free: 7.734 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.5399, allocations: 8 kB / 0.4958 GB, free: 7.727 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.405e-05/0.54, allocations: 7.984 kB / 0.4958 GB, free: 7.719 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002416/0.5402, allocations: 109.1 kB / 0.4959 GB, free: 7.602 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.5403, allocations: 7.969 kB / 0.4959 GB, free: 7.594 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.954e-05/0.5403, allocations: 11.94 kB / 0.4959 GB, free: 7.582 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.154e-06/0.5403, allocations: 0 / 0.4959 GB, free: 7.582 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.5405, allocations: 43.92 kB / 0.4959 GB, free: 7.539 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008362/0.5413, allocations: 0.4969 MB / 0.4964 GB, free: 6.988 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003962/0.5417, allocations: 121.1 kB / 0.4965 GB, free: 6.852 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.5419, allocations: 37.84 kB / 0.4966 GB, free: 6.809 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.5419, allocations: 3.984 kB / 0.4966 GB, free: 6.805 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002482/0.5422, allocations: 117.1 kB / 0.4967 GB, free: 6.672 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 7.837e-06/0.5422, allocations: 0 / 0.4967 GB, free: 6.672 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.001262/0.5435, allocations: 447.6 kB / 0.4971 GB, free: 6.227 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.874e-05/0.5435, allocations: 81.11 kB / 0.4972 GB, free: 6.129 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000752/0.5443, allocations: 435.5 kB / 0.4976 GB, free: 5.688 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.56e-05/0.5444, allocations: 33.64 kB / 0.4976 GB, free: 5.648 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.5445, allocations: 207 kB / 0.4978 GB, free: 5.445 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.132e-05/0.5446, allocations: 78.92 kB / 0.4979 GB, free: 5.367 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.069e-05/0.5447, allocations: 8 kB / 0.4979 GB, free: 5.359 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.5448, allocations: 314.8 kB / 0.4982 GB, free: 5.043 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.545, allocations: 55.98 kB / 0.4983 GB, free: 4.988 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.5452, allocations: 85.61 kB / 0.4984 GB, free: 4.895 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.5454, allocations: 60.2 kB / 0.4984 GB, free: 4.836 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.5454, allocations: 0 / 0.4984 GB, free: 4.836 MB / 426.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000475/0.5459, allocations: 205.4 kB / 0.4986 GB, free: 4.629 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.5459, allocations: 15.94 kB / 0.4986 GB, free: 4.613 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.5459, allocations: 0 / 0.4986 GB, free: 4.613 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.5459, allocations: 4 kB / 0.4986 GB, free: 4.609 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.5462, allocations: 39.92 kB / 0.4987 GB, free: 4.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.5462, allocations: 4 kB / 0.4987 GB, free: 4.566 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.5464, allocations: 16.05 kB / 0.4987 GB, free: 4.551 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.532e-05/0.5464, allocations: 8 kB / 0.4987 GB, free: 4.543 MB / 426.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.0001237/0.5465, allocations: 116.9 kB / 0.4988 GB, free: 4.422 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.964e-05/0.5466, allocations: 31.62 kB / 0.4988 GB, free: 4.391 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006575/0.5473, allocations: 281.2 kB / 0.4991 GB, free: 4.113 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.595e-06/0.5473, allocations: 0 / 0.4991 GB, free: 4.113 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.082e-06/0.5473, allocations: 4 kB / 0.4991 GB, free: 4.109 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.5474, allocations: 7.984 kB / 0.4991 GB, free: 4.102 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001422/0.5488, allocations: 0.7857 MB / 0.4999 GB, free: 3.246 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.109e-06/0.5488, allocations: 7.938 kB / 0.4999 GB, free: 3.238 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001528/0.549, allocations: 40.05 kB / 0.4999 GB, free: 3.199 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.309e-05/0.549, allocations: 4 kB / 0.4999 GB, free: 3.195 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.508e-05/0.549, allocations: 8 kB / 0.4999 GB, free: 3.188 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.705e-06/0.5491, allocations: 4 kB / 0.4999 GB, free: 3.184 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.927e-06/0.5491, allocations: 4 kB / 0.4999 GB, free: 3.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006723/0.5498, allocations: 486.5 kB / 0.5004 GB, free: 2.641 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001706/0.5499, allocations: 136.6 kB / 0.5005 GB, free: 2.488 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.191e-05/0.55, allocations: 11.98 kB / 0.5005 GB, free: 2.477 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002289/0.5503, allocations: 8 kB / 0.5006 GB, free: 2.469 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.517e-05/0.5504, allocations: 23.97 kB / 0.5006 GB, free: 2.445 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-05/0.5504, allocations: 8 kB / 0.5006 GB, free: 2.438 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005468/0.551, allocations: 350.1 kB / 0.5009 GB, free: 2.102 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.26e-07/0.551, allocations: 0 / 0.5009 GB, free: 2.102 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000552/0.5515, allocations: 71.98 kB / 0.501 GB, free: 2.031 MB / 426.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 (24): * Single equations (assignments): 20 * 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.001846/0.5534, allocations: 0.5109 MB / 0.5015 GB, free: 1.684 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004159/0.5538, allocations: 159.7 kB / 0.5016 GB, free: 1.527 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.832e-06/0.5538, allocations: 0 / 0.5016 GB, free: 1.527 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001926/0.554, allocations: 83.86 kB / 0.5017 GB, free: 1.445 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005499/0.5546, allocations: 55.77 kB / 0.5018 GB, free: 1.391 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.5558, allocations: 0.5204 MB / 0.5023 GB, free: 0.8242 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005425/0.5564, allocations: 0.7873 MB / 0.503 GB, free: 12 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.5565, allocations: 39.47 kB / 0.5031 GB, free: 15.97 MB / 442.7 MB Notification: Performance of SimCode: time 1.651e-06/0.5566, allocations: 0 / 0.5031 GB, free: 15.97 MB / 442.7 MB Notification: Performance of Templates: time 0.008268/0.5648, allocations: 3.962 MB / 0.507 GB, free: 12.02 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test78CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test78CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test78Functions.cpp:282:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp12.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.Test78CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test78CalcHelperMain.o] Error 1