Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.566/2.566, allocations: 270 MB / 282.6 MB, free: 1.949 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.946e-05/4.956e-05, allocations: 4 kB / 347.1 MB, free: 3.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4076/0.4077, allocations: 61.88 MB / 408.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1658/0.5735, allocations: 89.27 MB / 498.2 MB, free: 1.305 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000311/0.5739, allocations: 71.95 kB / 498.3 MB, free: 1.234 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02636/0.6003, allocations: 5.633 MB / 0.4921 GB, free: 11.59 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.6004, allocations: 0 / 0.4921 GB, free: 11.59 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.353e-05/0.6004, allocations: 8 kB / 0.4921 GB, free: 11.59 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.0006565/0.6011, allocations: 406.1 kB / 0.4925 GB, free: 11.14 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/0.6011, allocations: 12.03 kB / 0.4925 GB, free: 11.13 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.519e-05/0.6012, allocations: 38.56 kB / 0.4925 GB, free: 11.09 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.901e-05/0.6013, allocations: 7.906 kB / 0.4925 GB, free: 11.08 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004364/0.6017, allocations: 224 kB / 0.4928 GB, free: 10.82 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.6017, allocations: 0 / 0.4928 GB, free: 10.82 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.515e-05/0.6018, allocations: 4 kB / 0.4928 GB, free: 10.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.602, allocations: 57.61 kB / 0.4928 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.602, allocations: 0 / 0.4928 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.602, allocations: 0 / 0.4928 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.602, allocations: 3.938 kB / 0.4928 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.387e-05/0.6021, allocations: 20 kB / 0.4928 GB, free: 10.73 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005421/0.6027, allocations: 300.9 kB / 0.4931 GB, free: 10.39 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.6029, allocations: 54.67 kB / 0.4932 GB, free: 10.32 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.2e-05/0.603, allocations: 16.98 kB / 0.4932 GB, free: 10.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.603, allocations: 4 kB / 0.4932 GB, free: 10.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001883/0.6032, allocations: 71.33 kB / 0.4933 GB, free: 10.22 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.865e-06/0.6032, allocations: 0 / 0.4933 GB, free: 10.22 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006568/0.6039, allocations: 165.1 kB / 0.4934 GB, free: 10.05 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.6039, allocations: 55.34 kB / 0.4935 GB, free: 9.984 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000312/0.6043, allocations: 197.4 kB / 0.4937 GB, free: 9.781 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.6043, allocations: 25.7 kB / 0.4937 GB, free: 9.75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.436e-05/0.6044, allocations: 166.6 kB / 0.4939 GB, free: 9.586 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.104e-05/0.6045, allocations: 27.66 kB / 0.4939 GB, free: 9.559 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.702e-06/0.6045, allocations: 0 / 0.4939 GB, free: 9.559 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.6046, allocations: 318.8 kB / 0.4942 GB, free: 9.238 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.615e-05/0.6047, allocations: 20 kB / 0.4942 GB, free: 9.219 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.342e-05/0.6048, allocations: 33.72 kB / 0.4942 GB, free: 9.18 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.669e-05/0.6049, allocations: 23.98 kB / 0.4943 GB, free: 9.156 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.6049, allocations: 0 / 0.4943 GB, free: 9.156 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002448/0.6051, allocations: 93.61 kB / 0.4943 GB, free: 9.059 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.6052, allocations: 8 kB / 0.4944 GB, free: 9.051 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.6052, allocations: 192 / 0.4944 GB, free: 9.051 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.6052, allocations: 0 / 0.4944 GB, free: 9.051 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.6054, allocations: 19.92 kB / 0.4944 GB, free: 9.031 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.6054, allocations: 4 kB / 0.4944 GB, free: 9.027 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.342e-05/0.6055, allocations: 192 / 0.4944 GB, free: 9.027 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.6056, allocations: 8 kB / 0.4944 GB, free: 9.02 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 0.0001024/0.6057, allocations: 118.3 kB / 0.4945 GB, free: 8.898 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.853e-05/0.6057, allocations: 19.84 kB / 0.4945 GB, free: 8.879 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003569/0.6061, allocations: 115.2 kB / 0.4946 GB, free: 8.754 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.6061, allocations: 4 kB / 0.4946 GB, free: 8.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.6061, allocations: 0 / 0.4946 GB, free: 8.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.6061, allocations: 3.938 kB / 0.4946 GB, free: 8.746 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006573/0.6068, allocations: 407.3 kB / 0.495 GB, free: 8.289 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.6068, allocations: 0 / 0.495 GB, free: 8.289 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.55e-05/0.6069, allocations: 15.92 kB / 0.495 GB, free: 8.273 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.8e-06/0.6069, allocations: 4.031 kB / 0.495 GB, free: 8.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.374e-05/0.607, allocations: 8 kB / 0.495 GB, free: 8.262 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.607, allocations: 0 / 0.495 GB, free: 8.262 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.607, allocations: 0 / 0.495 GB, free: 8.262 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003287/0.6073, allocations: 221.8 kB / 0.4953 GB, free: 8.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.156e-05/0.6074, allocations: 100.9 kB / 0.4954 GB, free: 7.902 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.6075, allocations: 4 kB / 0.4954 GB, free: 7.898 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.6076, allocations: 8 kB / 0.4954 GB, free: 7.891 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.353e-05/0.6077, allocations: 11.94 kB / 0.4954 GB, free: 7.879 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.6077, allocations: 4 kB / 0.4954 GB, free: 7.875 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002249/0.608, allocations: 160.2 kB / 0.4955 GB, free: 7.719 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.608, allocations: 0 / 0.4955 GB, free: 7.719 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003852/0.6084, allocations: 31.94 kB / 0.4956 GB, free: 7.688 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.002029/0.6104, allocations: 1.178 MB / 0.4967 GB, free: 6.629 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00025/0.6107, allocations: 51.94 kB / 0.4968 GB, free: 6.578 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.6107, allocations: 4.062 kB / 0.4968 GB, free: 6.574 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.6108, allocations: 35.92 kB / 0.4968 GB, free: 6.539 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004281/0.6113, allocations: 27.09 kB / 0.4968 GB, free: 6.516 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008377/0.6121, allocations: 266.2 kB / 0.4971 GB, free: 6.211 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.6125, allocations: 0.72 MB / 0.4978 GB, free: 5.465 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.6126, allocations: 39.42 kB / 0.4978 GB, free: 5.426 MB / 426.7 MB Notification: Performance of SimCode: time 1.533e-06/0.6126, allocations: 0 / 0.4978 GB, free: 5.426 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_Test40CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test40CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test40CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test40Functions.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, ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test40CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test40FMU.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_Test40CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test40CalcHelperMain.o] Error 1