Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadModel(ModelicaTest): time 2.336/2.336, allocations: 270 MB / 282.7 MB, free: 1.797 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.592e-05/3.602e-05, allocations: 8 kB / 347 MB, free: 3.156 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.32, allocations: 61.87 MB / 408.9 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1379/0.4579, allocations: 89.54 MB / 498.4 MB, free: 1.137 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/0.4582, allocations: 79.94 kB / 498.5 MB, free: 1.059 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03885/0.4971, allocations: 8.331 MB / 0.4949 GB, free: 8.711 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.495e-06/0.4971, allocations: 0 / 0.4949 GB, free: 8.711 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.547e-05/0.4972, allocations: 4 kB / 0.4949 GB, free: 8.707 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.001331/0.4986, allocations: 0.5093 MB / 0.4954 GB, free: 8.152 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.976e-05/0.4986, allocations: 12.03 kB / 0.4954 GB, free: 8.141 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001578/0.4988, allocations: 27.62 kB / 0.4955 GB, free: 8.113 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.5, allocations: 307.8 kB / 0.4958 GB, free: 7.773 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.007e-05/0.5, allocations: 11.94 kB / 0.4958 GB, free: 7.762 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.385e-05/0.5001, allocations: 8 kB / 0.4958 GB, free: 7.754 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004393/0.5006, allocations: 107.3 kB / 0.4959 GB, free: 7.637 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/0.5006, allocations: 8 kB / 0.4959 GB, free: 7.629 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.83e-05/0.5007, allocations: 0 / 0.4959 GB, free: 7.629 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.601e-06/0.5007, allocations: 0 / 0.4959 GB, free: 7.629 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002721/0.501, allocations: 51.91 kB / 0.4959 GB, free: 7.578 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001427/0.5024, allocations: 0.489 MB / 0.4964 GB, free: 7.035 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006909/0.5032, allocations: 121.2 kB / 0.4965 GB, free: 6.898 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002046/0.5034, allocations: 41.84 kB / 0.4966 GB, free: 6.852 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.325e-05/0.5034, allocations: 4 kB / 0.4966 GB, free: 6.848 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004439/0.5039, allocations: 117 kB / 0.4967 GB, free: 6.715 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 4.545e-06/0.5039, allocations: 0 / 0.4967 GB, free: 6.715 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.002301/0.5063, allocations: 455.8 kB / 0.4971 GB, free: 6.262 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.5064, allocations: 81.11 kB / 0.4972 GB, free: 6.164 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001444/0.5079, allocations: 431.5 kB / 0.4976 GB, free: 5.727 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.595e-05/0.508, allocations: 33.7 kB / 0.4976 GB, free: 5.688 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002462/0.5082, allocations: 199 kB / 0.4978 GB, free: 5.492 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001646/0.5084, allocations: 74.98 kB / 0.4979 GB, free: 5.418 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.599e-05/0.5085, allocations: 8 kB / 0.4979 GB, free: 5.41 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002596/0.5087, allocations: 322.8 kB / 0.4982 GB, free: 5.086 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00028/0.509, allocations: 48 kB / 0.4983 GB, free: 5.039 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003367/0.5094, allocations: 94.42 kB / 0.4983 GB, free: 4.938 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003242/0.5098, allocations: 68.12 kB / 0.4984 GB, free: 4.871 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.989e-06/0.5098, allocations: 4 kB / 0.4984 GB, free: 4.867 MB / 426.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0009172/0.5107, allocations: 197.4 kB / 0.4986 GB, free: 4.668 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.294e-05/0.5108, allocations: 7.953 kB / 0.4986 GB, free: 4.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.594e-06/0.5108, allocations: 0 / 0.4986 GB, free: 4.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.817e-05/0.5109, allocations: 4 kB / 0.4986 GB, free: 4.656 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004504/0.5113, allocations: 51.91 kB / 0.4987 GB, free: 4.605 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.5114, allocations: 0 / 0.4987 GB, free: 4.605 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002819/0.5117, allocations: 4 kB / 0.4987 GB, free: 4.602 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-05/0.5117, allocations: 12 kB / 0.4987 GB, free: 4.59 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.0002088/0.512, allocations: 129 kB / 0.4988 GB, free: 4.457 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000157/0.5121, allocations: 35.61 kB / 0.4988 GB, free: 4.422 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001223/0.5134, allocations: 269 kB / 0.4991 GB, free: 4.156 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.417e-05/0.5134, allocations: 4 kB / 0.4991 GB, free: 4.152 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.87e-06/0.5135, allocations: 0 / 0.4991 GB, free: 4.152 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.641e-06/0.5135, allocations: 0 / 0.4991 GB, free: 4.152 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002578/0.5161, allocations: 0.7974 MB / 0.4999 GB, free: 3.285 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.301e-06/0.5161, allocations: 0 / 0.4999 GB, free: 3.285 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002806/0.5164, allocations: 31.92 kB / 0.4999 GB, free: 3.254 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-05/0.5165, allocations: 4 kB / 0.4999 GB, free: 3.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.958e-05/0.5165, allocations: 12.11 kB / 0.4999 GB, free: 3.238 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.194e-05/0.5166, allocations: 8 kB / 0.4999 GB, free: 3.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.218e-05/0.5166, allocations: 4 kB / 0.4999 GB, free: 3.227 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/0.5179, allocations: 491.1 kB / 0.5004 GB, free: 2.684 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003098/0.5182, allocations: 136.5 kB / 0.5005 GB, free: 2.531 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/0.5183, allocations: 8 kB / 0.5005 GB, free: 2.523 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005115/0.5189, allocations: 15.98 kB / 0.5006 GB, free: 2.508 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.519, allocations: 15.98 kB / 0.5006 GB, free: 2.492 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.768e-05/0.5191, allocations: 15.94 kB / 0.5006 GB, free: 2.477 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001061/0.5202, allocations: 354.1 kB / 0.5009 GB, free: 2.137 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.263e-06/0.5202, allocations: 0 / 0.5009 GB, free: 2.137 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001167/0.5214, allocations: 68 kB / 0.501 GB, free: 2.07 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.003303/0.5247, allocations: 0.5188 MB / 0.5015 GB, free: 1.715 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007616/0.5255, allocations: 154.8 kB / 0.5016 GB, free: 1.566 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.478e-06/0.5255, allocations: 0 / 0.5016 GB, free: 1.566 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003689/0.5259, allocations: 84 kB / 0.5017 GB, free: 1.484 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.527, allocations: 53.12 kB / 0.5018 GB, free: 1.43 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002166/0.5292, allocations: 0.5242 MB / 0.5023 GB, free: 0.8594 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008939/0.5301, allocations: 0.7912 MB / 0.5031 GB, free: 44 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002255/0.5304, allocations: 31.44 kB / 0.5031 GB, free: 12 kB / 426.7 MB Notification: Performance of SimCode: time 2.517e-06/0.5304, allocations: 4 kB / 0.5031 GB, free: 8 kB / 426.7 MB Notification: Performance of Templates: time 0.01554/0.546, allocations: 3.957 MB / 0.507 GB, free: 12.06 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74Functions.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.Test74CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74CalcHelperMain.o] Error 1