Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.577/2.577, allocations: 270 MB / 282.6 MB, free: 1.852 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.506e-05/4.52e-05, allocations: 11.94 kB / 347.1 MB, free: 3.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3965/0.3966, allocations: 61.87 MB / 408.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1695/0.5662, allocations: 89.28 MB / 498.2 MB, free: 1.262 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/0.5665, allocations: 75.95 kB / 498.3 MB, free: 1.188 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0259/0.5924, allocations: 5.508 MB / 0.492 GB, free: 11.67 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.338e-06/0.5925, allocations: 8 kB / 0.492 GB, free: 11.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.543e-05/0.5925, allocations: 3.938 kB / 0.492 GB, free: 11.66 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.0005931/0.5931, allocations: 394.3 kB / 0.4924 GB, free: 11.23 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.5932, allocations: 8.031 kB / 0.4924 GB, free: 11.22 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.28e-05/0.5932, allocations: 34.55 kB / 0.4924 GB, free: 11.18 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.577e-05/0.5933, allocations: 11.91 kB / 0.4924 GB, free: 11.16 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003933/0.5937, allocations: 215.6 kB / 0.4926 GB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.5937, allocations: 7.891 kB / 0.4926 GB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.5938, allocations: 8 kB / 0.4926 GB, free: 10.9 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/0.594, allocations: 53.67 kB / 0.4927 GB, free: 10.84 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.594, allocations: 0 / 0.4927 GB, free: 10.84 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.594, allocations: 0 / 0.4927 GB, free: 10.84 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.594, allocations: 0 / 0.4927 GB, free: 10.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.822e-05/0.5941, allocations: 23.98 kB / 0.4927 GB, free: 10.82 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000479/0.5946, allocations: 288.9 kB / 0.493 GB, free: 10.48 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.5948, allocations: 62.62 kB / 0.4931 GB, free: 10.41 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.29e-05/0.5949, allocations: 16.98 kB / 0.4931 GB, free: 10.39 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.5949, allocations: 7.938 kB / 0.4931 GB, free: 10.39 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001689/0.5951, allocations: 67.38 kB / 0.4931 GB, free: 10.31 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.063e-06/0.5951, allocations: 0 / 0.4931 GB, free: 10.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006321/0.5958, allocations: 157.3 kB / 0.4933 GB, free: 10.15 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.5958, allocations: 55.41 kB / 0.4933 GB, free: 10.08 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002673/0.5961, allocations: 168.9 kB / 0.4935 GB, free: 9.914 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.5961, allocations: 29.7 kB / 0.4935 GB, free: 9.879 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.47e-05/0.5963, allocations: 162.6 kB / 0.4937 GB, free: 9.719 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.89e-05/0.5963, allocations: 19.7 kB / 0.4937 GB, free: 9.699 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-06/0.5963, allocations: 4 kB / 0.4937 GB, free: 9.695 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.5965, allocations: 318.8 kB / 0.494 GB, free: 9.375 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.634e-05/0.5965, allocations: 16 kB / 0.494 GB, free: 9.359 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.511e-05/0.5966, allocations: 45.64 kB / 0.4941 GB, free: 9.309 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.869e-05/0.5967, allocations: 16.08 kB / 0.4941 GB, free: 9.293 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.5967, allocations: 0 / 0.4941 GB, free: 9.293 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002339/0.597, allocations: 97.64 kB / 0.4942 GB, free: 9.191 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.597, allocations: 4 kB / 0.4942 GB, free: 9.188 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.597, allocations: 4.062 kB / 0.4942 GB, free: 9.184 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.5971, allocations: 4 kB / 0.4942 GB, free: 9.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.5972, allocations: 15.94 kB / 0.4942 GB, free: 9.164 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.5972, allocations: 8.016 kB / 0.4942 GB, free: 9.156 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.14e-05/0.5973, allocations: 15.84 kB / 0.4942 GB, free: 9.141 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.5974, allocations: 4 kB / 0.4942 GB, free: 9.137 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.206e-05/0.5975, allocations: 108.9 kB / 0.4943 GB, free: 9.023 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.542e-05/0.5975, allocations: 11.91 kB / 0.4944 GB, free: 9.012 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003337/0.5979, allocations: 110.2 kB / 0.4945 GB, free: 8.902 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.5979, allocations: 7.938 kB / 0.4945 GB, free: 8.895 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.5979, allocations: 0 / 0.4945 GB, free: 8.895 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.269e-06/0.5979, allocations: 4 kB / 0.4945 GB, free: 8.891 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006379/0.5986, allocations: 407.3 kB / 0.4949 GB, free: 8.434 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.5986, allocations: 0 / 0.4949 GB, free: 8.434 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.755e-05/0.5987, allocations: 12.27 kB / 0.4949 GB, free: 8.422 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.5987, allocations: 0 / 0.4949 GB, free: 8.422 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.5987, allocations: 8 kB / 0.4949 GB, free: 8.414 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.5987, allocations: 3.938 kB / 0.4949 GB, free: 8.41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.5987, allocations: 0 / 0.4949 GB, free: 8.41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003206/0.5991, allocations: 221.8 kB / 0.4951 GB, free: 8.168 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.71e-05/0.5992, allocations: 97 kB / 0.4952 GB, free: 8.055 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.279e-05/0.5992, allocations: 0 / 0.4952 GB, free: 8.055 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.5993, allocations: 4 kB / 0.4952 GB, free: 8.051 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.916e-05/0.5994, allocations: 19.92 kB / 0.4952 GB, free: 8.031 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.5994, allocations: 0 / 0.4952 GB, free: 8.031 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001899/0.5996, allocations: 148.3 kB / 0.4953 GB, free: 7.891 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.5996, allocations: 0 / 0.4953 GB, free: 7.891 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003856/0.6, allocations: 31.98 kB / 0.4954 GB, free: 7.859 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.001923/0.602, allocations: 1.182 MB / 0.4965 GB, free: 6.797 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002197/0.6022, allocations: 59.92 kB / 0.4966 GB, free: 6.738 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6022, allocations: 0 / 0.4966 GB, free: 6.738 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.636e-05/0.6023, allocations: 31.94 kB / 0.4966 GB, free: 6.707 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.6027, allocations: 23.94 kB / 0.4966 GB, free: 6.684 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007586/0.6035, allocations: 258.6 kB / 0.4969 GB, free: 6.379 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.6039, allocations: 0.7082 MB / 0.4976 GB, free: 5.645 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.244e-05/0.604, allocations: 31.42 kB / 0.4976 GB, free: 5.613 MB / 426.7 MB Notification: Performance of SimCode: time 1.002e-06/0.604, allocations: 0 / 0.4976 GB, free: 5.613 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_Test30CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test30CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test30CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test30Functions.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_Test30CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test30FMU.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_Test30CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test30CalcHelperMain.o] Error 1