Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test33") Notification: Performance of loadModel(ModelicaTest): time 2.46/2.46, allocations: 270 MB / 282.7 MB, free: 1.742 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.516e-05/6.526e-05, allocations: 4 kB / 347 MB, free: 3.121 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.3746, allocations: 61.87 MB / 408.8 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1396/0.5142, allocations: 89.28 MB / 498.1 MB, free: 1.344 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/0.5145, allocations: 75.95 kB / 498.2 MB, free: 1.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02304/0.5376, allocations: 5.522 MB / 0.4919 GB, free: 11.73 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.086e-06/0.5376, allocations: 0 / 0.4919 GB, free: 11.73 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.413e-05/0.5377, allocations: 0 / 0.4919 GB, free: 11.73 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005862/0.5383, allocations: 394.3 kB / 0.4923 GB, free: 11.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.5383, allocations: 8.031 kB / 0.4923 GB, free: 11.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.13e-05/0.5384, allocations: 11.84 kB / 0.4923 GB, free: 11.29 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003706/0.5388, allocations: 215.6 kB / 0.4925 GB, free: 11.04 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.5388, allocations: 7.953 kB / 0.4925 GB, free: 11.03 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.5388, allocations: 0 / 0.4925 GB, free: 11.03 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.539, allocations: 53.67 kB / 0.4926 GB, free: 10.97 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.539, allocations: 4 kB / 0.4926 GB, free: 10.96 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.539, allocations: 4 kB / 0.4926 GB, free: 10.96 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.681e-06/0.5391, allocations: 0 / 0.4926 GB, free: 10.96 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.644e-05/0.5391, allocations: 16 kB / 0.4926 GB, free: 10.95 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004819/0.5396, allocations: 292.9 kB / 0.4929 GB, free: 10.61 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.5398, allocations: 54.62 kB / 0.4929 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.901e-05/0.5399, allocations: 20.98 kB / 0.493 GB, free: 10.52 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.5399, allocations: 3.938 kB / 0.493 GB, free: 10.52 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001587/0.5401, allocations: 67.39 kB / 0.493 GB, free: 10.44 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 7.356e-06/0.5401, allocations: 3.984 kB / 0.493 GB, free: 10.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.000554/0.5407, allocations: 157.1 kB / 0.4932 GB, free: 10.28 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/0.5407, allocations: 55.41 kB / 0.4932 GB, free: 10.21 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002491/0.541, allocations: 168.9 kB / 0.4934 GB, free: 10.04 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.541, allocations: 33.7 kB / 0.4934 GB, free: 10 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.776e-05/0.5412, allocations: 162.6 kB / 0.4936 GB, free: 9.844 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.665e-05/0.5412, allocations: 19.72 kB / 0.4936 GB, free: 9.824 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.85e-06/0.5412, allocations: 0 / 0.4936 GB, free: 9.824 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.5414, allocations: 318.8 kB / 0.4939 GB, free: 9.504 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.696e-05/0.5415, allocations: 20 kB / 0.4939 GB, free: 9.484 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.909e-05/0.5416, allocations: 33.72 kB / 0.4939 GB, free: 9.445 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.446e-05/0.5416, allocations: 35.98 kB / 0.494 GB, free: 9.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.5417, allocations: 0 / 0.494 GB, free: 9.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002348/0.5419, allocations: 85.67 kB / 0.4941 GB, free: 9.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.5419, allocations: 8 kB / 0.4941 GB, free: 9.312 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.542, allocations: 3.984 kB / 0.4941 GB, free: 9.309 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.542, allocations: 0 / 0.4941 GB, free: 9.309 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.5421, allocations: 19.94 kB / 0.4941 GB, free: 9.289 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.047e-06/0.5421, allocations: 0 / 0.4941 GB, free: 9.289 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.353e-05/0.5422, allocations: 4.125 kB / 0.4941 GB, free: 9.285 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.5422, allocations: 11.98 kB / 0.4941 GB, free: 9.273 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.926e-05/0.5424, allocations: 113 kB / 0.4942 GB, free: 9.156 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.549e-05/0.5424, allocations: 15.81 kB / 0.4942 GB, free: 9.141 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002987/0.5427, allocations: 122.3 kB / 0.4943 GB, free: 9.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.46e-06/0.5427, allocations: 0 / 0.4943 GB, free: 9.02 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.563e-06/0.5427, allocations: 0 / 0.4943 GB, free: 9.02 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.492e-06/0.5428, allocations: 4 kB / 0.4944 GB, free: 9.016 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006343/0.5434, allocations: 403.3 kB / 0.4947 GB, free: 8.562 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.769e-06/0.5434, allocations: 0 / 0.4947 GB, free: 8.562 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.962e-05/0.5435, allocations: 12 kB / 0.4947 GB, free: 8.551 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.202e-06/0.5435, allocations: 0 / 0.4947 GB, free: 8.551 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.5435, allocations: 0 / 0.4947 GB, free: 8.551 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.265e-06/0.5436, allocations: 7.984 kB / 0.4948 GB, free: 8.543 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.096e-06/0.5436, allocations: 0 / 0.4948 GB, free: 8.543 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003207/0.5439, allocations: 233.8 kB / 0.495 GB, free: 8.289 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.593e-05/0.544, allocations: 89.02 kB / 0.4951 GB, free: 8.184 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.471e-05/0.544, allocations: 4 kB / 0.4951 GB, free: 8.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.5442, allocations: 3.984 kB / 0.4951 GB, free: 8.176 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.5442, allocations: 7.953 kB / 0.4951 GB, free: 8.168 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.5443, allocations: 8 kB / 0.4951 GB, free: 8.16 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001771/0.5444, allocations: 140.3 kB / 0.4952 GB, free: 8.027 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.86e-07/0.5445, allocations: 0 / 0.4952 GB, free: 8.027 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003793/0.5449, allocations: 35.98 kB / 0.4953 GB, free: 7.992 MB / 426.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001651/0.5465, allocations: 467 kB / 0.4957 GB, free: 7.68 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002033/0.5467, allocations: 51.94 kB / 0.4958 GB, free: 7.629 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.244e-06/0.5468, allocations: 4 kB / 0.4958 GB, free: 7.625 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.057e-05/0.5469, allocations: 27.98 kB / 0.4958 GB, free: 7.598 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.5472, allocations: 32.11 kB / 0.4958 GB, free: 7.566 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005078/0.5477, allocations: 192.9 kB / 0.496 GB, free: 7.34 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004033/0.5482, allocations: 0.7082 MB / 0.4967 GB, free: 6.605 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.053e-05/0.5482, allocations: 23.42 kB / 0.4967 GB, free: 6.582 MB / 426.7 MB Notification: Performance of SimCode: time 1.692e-06/0.5483, allocations: 0 / 0.4967 GB, free: 6.582 MB / 426.7 MB Notification: Performance of Templates: time 0.004726/0.553, allocations: 1.924 MB / 0.4986 GB, free: 4.656 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test33CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test33CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test33Functions.cpp:241:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp5.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.Test33CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test33CalcHelperMain.o] Error 1