Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test75") Notification: Performance of loadModel(ModelicaTest): time 2.492/2.492, allocations: 270 MB / 282.7 MB, free: 1.809 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.711e-05/6.74e-05, allocations: 4 kB / 347 MB, free: 3.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.367, allocations: 61.88 MB / 408.8 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1897/0.5568, allocations: 89.54 MB / 498.4 MB, free: 1.086 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/0.5571, allocations: 71.97 kB / 498.5 MB, free: 1.016 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0338/0.5909, allocations: 8.174 MB / 0.4948 GB, free: 8.832 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.591, allocations: 0 / 0.4948 GB, free: 8.832 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.886e-05/0.591, allocations: 11.94 kB / 0.4948 GB, free: 8.82 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.000773/0.5918, allocations: 0.4976 MB / 0.4953 GB, free: 8.277 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.5918, allocations: 8.031 kB / 0.4953 GB, free: 8.27 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.983e-05/0.5919, allocations: 27.72 kB / 0.4953 GB, free: 8.242 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005702/0.5925, allocations: 299.9 kB / 0.4956 GB, free: 7.91 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.5926, allocations: 4 kB / 0.4956 GB, free: 7.906 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.141e-05/0.5926, allocations: 8 kB / 0.4956 GB, free: 7.898 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002374/0.5928, allocations: 111.2 kB / 0.4957 GB, free: 7.777 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.5929, allocations: 4 kB / 0.4957 GB, free: 7.773 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.5929, allocations: 3.984 kB / 0.4957 GB, free: 7.77 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.012e-06/0.5929, allocations: 4 kB / 0.4957 GB, free: 7.766 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.5931, allocations: 43.98 kB / 0.4957 GB, free: 7.723 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008106/0.5939, allocations: 492.8 kB / 0.4962 GB, free: 7.188 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003972/0.5943, allocations: 117.2 kB / 0.4963 GB, free: 7.055 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.5944, allocations: 53.7 kB / 0.4964 GB, free: 6.996 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.5945, allocations: 0 / 0.4964 GB, free: 6.996 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002417/0.5947, allocations: 113.1 kB / 0.4965 GB, free: 6.867 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 2.596e-06/0.5947, allocations: 0 / 0.4965 GB, free: 6.867 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.001237/0.596, allocations: 448.2 kB / 0.4969 GB, free: 6.422 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.542e-05/0.5961, allocations: 81.11 kB / 0.497 GB, free: 6.324 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006352/0.5967, allocations: 386.6 kB / 0.4974 GB, free: 5.938 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.007e-05/0.5968, allocations: 33.7 kB / 0.4974 GB, free: 5.898 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.5969, allocations: 198.9 kB / 0.4976 GB, free: 5.703 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.429e-05/0.597, allocations: 75.08 kB / 0.4977 GB, free: 5.629 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.135e-05/0.5971, allocations: 3.938 kB / 0.4977 GB, free: 5.625 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.5972, allocations: 318.8 kB / 0.498 GB, free: 5.305 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.5974, allocations: 56 kB / 0.498 GB, free: 5.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001763/0.5976, allocations: 90.05 kB / 0.4981 GB, free: 5.152 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.5978, allocations: 63.92 kB / 0.4982 GB, free: 5.09 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.186e-06/0.5978, allocations: 0 / 0.4982 GB, free: 5.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004685/0.5982, allocations: 205.7 kB / 0.4984 GB, free: 4.883 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.5983, allocations: 12.02 kB / 0.4984 GB, free: 4.871 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.5983, allocations: 0 / 0.4984 GB, free: 4.871 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.5983, allocations: 4 kB / 0.4984 GB, free: 4.867 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002283/0.5986, allocations: 43.92 kB / 0.4984 GB, free: 4.824 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.438e-06/0.5986, allocations: 4 kB / 0.4984 GB, free: 4.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.5987, allocations: 7.984 kB / 0.4984 GB, free: 4.812 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.752e-05/0.5988, allocations: 12 kB / 0.4984 GB, free: 4.801 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.0001243/0.5989, allocations: 116.9 kB / 0.4986 GB, free: 4.68 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.801e-05/0.599, allocations: 35.62 kB / 0.4986 GB, free: 4.645 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006515/0.5997, allocations: 264.2 kB / 0.4988 GB, free: 4.379 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.5997, allocations: 7.984 kB / 0.4988 GB, free: 4.371 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.274e-06/0.5997, allocations: 3.938 kB / 0.4988 GB, free: 4.367 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.5997, allocations: 0 / 0.4988 GB, free: 4.367 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001391/0.6011, allocations: 0.7818 MB / 0.4996 GB, free: 3.516 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/0.6012, allocations: 4 kB / 0.4996 GB, free: 3.512 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/0.6013, allocations: 31.92 kB / 0.4996 GB, free: 3.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-05/0.6014, allocations: 4 kB / 0.4996 GB, free: 3.477 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.859e-05/0.6014, allocations: 12 kB / 0.4997 GB, free: 3.465 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.163e-06/0.6014, allocations: 7.938 kB / 0.4997 GB, free: 3.457 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.6014, allocations: 480 / 0.4997 GB, free: 3.457 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006767/0.6021, allocations: 490.7 kB / 0.5001 GB, free: 2.914 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001569/0.6023, allocations: 124.7 kB / 0.5003 GB, free: 2.773 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.624e-05/0.6024, allocations: 15.92 kB / 0.5003 GB, free: 2.758 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002271/0.6026, allocations: 8 kB / 0.5003 GB, free: 2.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.834e-05/0.6027, allocations: 19.97 kB / 0.5003 GB, free: 2.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.169e-05/0.6027, allocations: 12 kB / 0.5003 GB, free: 2.719 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004757/0.6032, allocations: 318.1 kB / 0.5006 GB, free: 2.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.79e-07/0.6032, allocations: 0 / 0.5006 GB, free: 2.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005395/0.6038, allocations: 67.98 kB / 0.5007 GB, free: 2.344 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.001884/0.6057, allocations: 0.5166 MB / 0.5012 GB, free: 1.984 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000408/0.6061, allocations: 155.7 kB / 0.5013 GB, free: 1.832 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.44e-06/0.6061, allocations: 0 / 0.5013 GB, free: 1.832 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001887/0.6063, allocations: 79.92 kB / 0.5014 GB, free: 1.754 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005323/0.6069, allocations: 60.14 kB / 0.5015 GB, free: 1.695 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.608, allocations: 490.2 kB / 0.5019 GB, free: 1.172 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005161/0.6085, allocations: 0.7795 MB / 0.5027 GB, free: 376 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.6086, allocations: 35.42 kB / 0.5027 GB, free: 344 kB / 426.7 MB Notification: Performance of SimCode: time 1.346e-06/0.6086, allocations: 0 / 0.5027 GB, free: 344 kB / 426.7 MB Notification: Performance of Templates: time 0.008047/0.6167, allocations: 3.824 MB / 0.5065 GB, free: 12.52 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test75CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test75CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test75Functions.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.Test75CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test75CalcHelperMain.o] Error 1