Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.839/2.839, allocations: 270 MB / 282.6 MB, free: 1.934 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.551e-05/4.56e-05, allocations: 12 kB / 347.1 MB, free: 3.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4118/0.4119, allocations: 61.86 MB / 408.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1672/0.5792, allocations: 89.05 MB / 498 MB, free: 1.539 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/0.5795, allocations: 75.95 kB / 498.1 MB, free: 1.465 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02459/0.6042, allocations: 5.393 MB / 0.4916 GB, free: 12.06 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.033e-06/0.6042, allocations: 0 / 0.4916 GB, free: 12.06 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.605e-05/0.6042, allocations: 4 kB / 0.4917 GB, free: 12.06 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000576/0.6048, allocations: 402.2 kB / 0.492 GB, free: 11.62 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.6049, allocations: 8.031 kB / 0.492 GB, free: 11.61 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.761e-05/0.6049, allocations: 30.56 kB / 0.4921 GB, free: 11.57 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.617e-05/0.605, allocations: 11.91 kB / 0.4921 GB, free: 11.56 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004439/0.6055, allocations: 220.1 kB / 0.4923 GB, free: 11.31 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.6055, allocations: 4 kB / 0.4923 GB, free: 11.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.6055, allocations: 7.953 kB / 0.4923 GB, free: 11.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.6057, allocations: 49.62 kB / 0.4924 GB, free: 11.24 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.6057, allocations: 4 kB / 0.4924 GB, free: 11.24 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.6057, allocations: 7.922 kB / 0.4924 GB, free: 11.23 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.6057, allocations: 4 kB / 0.4924 GB, free: 11.23 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.258e-05/0.6058, allocations: 15.94 kB / 0.4924 GB, free: 11.21 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002552/0.6061, allocations: 189.6 kB / 0.4926 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.6063, allocations: 38.64 kB / 0.4926 GB, free: 10.93 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.305e-05/0.6063, allocations: 24.94 kB / 0.4926 GB, free: 10.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.6064, allocations: 7.953 kB / 0.4926 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001686/0.6065, allocations: 67.33 kB / 0.4927 GB, free: 10.82 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 2.775e-06/0.6066, allocations: 0 / 0.4927 GB, free: 10.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002785/0.6068, allocations: 77.59 kB / 0.4928 GB, free: 10.73 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.6069, allocations: 51.41 kB / 0.4928 GB, free: 10.67 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003032/0.6072, allocations: 205.3 kB / 0.493 GB, free: 10.46 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.6072, allocations: 25.7 kB / 0.493 GB, free: 10.43 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.951e-05/0.6073, allocations: 166.6 kB / 0.4932 GB, free: 10.27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.816e-05/0.6074, allocations: 7.906 kB / 0.4932 GB, free: 10.26 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.373e-06/0.6074, allocations: 4 kB / 0.4932 GB, free: 10.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.6075, allocations: 314.8 kB / 0.4935 GB, free: 9.938 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.786e-05/0.6076, allocations: 12 kB / 0.4935 GB, free: 9.926 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.119e-05/0.6077, allocations: 25.72 kB / 0.4935 GB, free: 9.895 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.15e-05/0.6077, allocations: 23.92 kB / 0.4936 GB, free: 9.871 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.6078, allocations: 4 kB / 0.4936 GB, free: 9.867 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001865/0.608, allocations: 65.69 kB / 0.4936 GB, free: 9.797 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.608, allocations: 7.953 kB / 0.4936 GB, free: 9.789 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.608, allocations: 0 / 0.4936 GB, free: 9.789 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.608, allocations: 0 / 0.4936 GB, free: 9.789 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.6082, allocations: 15.98 kB / 0.4937 GB, free: 9.773 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/0.6082, allocations: 4.141 kB / 0.4937 GB, free: 9.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.457e-05/0.6083, allocations: 7.906 kB / 0.4937 GB, free: 9.762 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.6083, allocations: 7.938 kB / 0.4937 GB, free: 9.754 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 (7): * Single equations (assignments): 7 * 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.642e-05/0.6084, allocations: 109 kB / 0.4938 GB, free: 9.641 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.102e-05/0.6085, allocations: 7.906 kB / 0.4938 GB, free: 9.633 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002746/0.6088, allocations: 102.6 kB / 0.4939 GB, free: 9.527 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.6088, allocations: 0 / 0.4939 GB, free: 9.527 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.6088, allocations: 0 / 0.4939 GB, free: 9.527 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.6088, allocations: 192 / 0.4939 GB, free: 9.527 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/0.609, allocations: 201.5 kB / 0.4941 GB, free: 9.281 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.6091, allocations: 0 / 0.4941 GB, free: 9.281 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.334e-05/0.6091, allocations: 4 kB / 0.4941 GB, free: 9.277 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.6091, allocations: 3.938 kB / 0.4941 GB, free: 9.273 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.6092, allocations: 7.984 kB / 0.4941 GB, free: 9.266 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.6092, allocations: 11.89 kB / 0.4941 GB, free: 9.254 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.6092, allocations: 0 / 0.4941 GB, free: 9.254 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.6095, allocations: 112.9 kB / 0.4942 GB, free: 9.125 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.896e-05/0.6096, allocations: 89 kB / 0.4943 GB, free: 9.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/0.6096, allocations: 8 kB / 0.4943 GB, free: 9.012 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.298e-05/0.6097, allocations: 0 / 0.4943 GB, free: 9.012 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.6097, allocations: 19.92 kB / 0.4943 GB, free: 8.992 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.6098, allocations: 0 / 0.4943 GB, free: 8.992 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002169/0.61, allocations: 160.2 kB / 0.4945 GB, free: 8.836 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.61, allocations: 0 / 0.4945 GB, free: 8.836 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003126/0.6103, allocations: 31.98 kB / 0.4945 GB, free: 8.805 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001621/0.612, allocations: 0.9355 MB / 0.4954 GB, free: 7.977 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002061/0.6122, allocations: 39.98 kB / 0.4955 GB, free: 7.938 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.6122, allocations: 4 kB / 0.4955 GB, free: 7.934 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.294e-05/0.6123, allocations: 24 kB / 0.4955 GB, free: 7.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.6127, allocations: 30.77 kB / 0.4955 GB, free: 7.883 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007667/0.6135, allocations: 249.3 kB / 0.4958 GB, free: 7.598 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.6138, allocations: 0.7004 MB / 0.4964 GB, free: 6.871 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.6139, allocations: 35.42 kB / 0.4965 GB, free: 6.836 MB / 426.7 MB Notification: Performance of SimCode: time 1.112e-06/0.6139, allocations: 0 / 0.4965 GB, free: 6.836 MB / 426.7 MB Error: Error building simulator. Build log: clang++ -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -I"." "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test65CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test65CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test65CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test65Functions.cpp:202:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp4.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, ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test65CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test65FMU.cpp:11: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.cpp:93:11: warning: 6 enumeration values not handled in switch: 'LC_INIT', 'LC_LS', 'LC_SOLVER'... [-Wswitch] switch (cat) { ^ 1 warning and 1 error generated. : recipe for target 'OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test65CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test65CalcHelperMain.o] Error 1