Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.589/2.589, allocations: 270 MB / 282.6 MB, free: 1.855 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.019e-05/4.025e-05, allocations: 8 kB / 347.1 MB, free: 3.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4052/0.4052, allocations: 61.86 MB / 408.9 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1655/0.5708, allocations: 89.27 MB / 498.2 MB, free: 1.395 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/0.5711, allocations: 79.95 kB / 498.3 MB, free: 1.316 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0257/0.5969, allocations: 5.684 MB / 0.4922 GB, free: 11.62 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5969, allocations: 0 / 0.4922 GB, free: 11.62 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.854e-05/0.5969, allocations: 0 / 0.4922 GB, free: 11.62 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.0006212/0.5976, allocations: 410.2 kB / 0.4925 GB, free: 11.18 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.5976, allocations: 8.031 kB / 0.4926 GB, free: 11.17 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.342e-05/0.5977, allocations: 30.56 kB / 0.4926 GB, free: 11.13 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.283e-05/0.5978, allocations: 15.81 kB / 0.4926 GB, free: 11.12 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004178/0.5982, allocations: 218.9 kB / 0.4928 GB, free: 10.86 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.5982, allocations: 3.953 kB / 0.4928 GB, free: 10.86 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.5983, allocations: 7.938 kB / 0.4928 GB, free: 10.85 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.5984, allocations: 61.59 kB / 0.4929 GB, free: 10.79 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.5985, allocations: 4 kB / 0.4929 GB, free: 10.78 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.5985, allocations: 0 / 0.4929 GB, free: 10.78 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.5985, allocations: 0 / 0.4929 GB, free: 10.78 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.079e-05/0.5986, allocations: 19.98 kB / 0.4929 GB, free: 10.76 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005771/0.5992, allocations: 300.8 kB / 0.4932 GB, free: 10.42 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.5994, allocations: 54.62 kB / 0.4932 GB, free: 10.36 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.62e-05/0.5995, allocations: 32.91 kB / 0.4933 GB, free: 10.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.5995, allocations: 4 kB / 0.4933 GB, free: 10.32 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001725/0.5997, allocations: 59.41 kB / 0.4933 GB, free: 10.25 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.575e-06/0.5997, allocations: 0 / 0.4933 GB, free: 10.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006377/0.6003, allocations: 153.2 kB / 0.4935 GB, free: 10.09 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.6004, allocations: 55.41 kB / 0.4935 GB, free: 10.02 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003361/0.6008, allocations: 195.2 kB / 0.4937 GB, free: 9.82 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.6008, allocations: 37.7 kB / 0.4938 GB, free: 9.777 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.458e-05/0.6009, allocations: 170.4 kB / 0.4939 GB, free: 9.609 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.129e-05/0.601, allocations: 23.78 kB / 0.4939 GB, free: 9.586 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/0.601, allocations: 0 / 0.4939 GB, free: 9.586 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.6011, allocations: 318.8 kB / 0.4942 GB, free: 9.266 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.423e-05/0.6012, allocations: 16 kB / 0.4943 GB, free: 9.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.386e-05/0.6013, allocations: 37.7 kB / 0.4943 GB, free: 9.207 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.011e-05/0.6014, allocations: 28.06 kB / 0.4943 GB, free: 9.18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.6014, allocations: 0 / 0.4943 GB, free: 9.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002492/0.6016, allocations: 93.52 kB / 0.4944 GB, free: 9.082 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.6017, allocations: 8 kB / 0.4944 GB, free: 9.074 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.6017, allocations: 0 / 0.4944 GB, free: 9.074 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.6017, allocations: 0 / 0.4944 GB, free: 9.074 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.6019, allocations: 20.17 kB / 0.4944 GB, free: 9.055 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.6019, allocations: 0 / 0.4944 GB, free: 9.055 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.514e-05/0.602, allocations: 4 kB / 0.4944 GB, free: 9.051 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.6021, allocations: 8 kB / 0.4944 GB, free: 9.043 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.87e-05/0.6022, allocations: 116.9 kB / 0.4946 GB, free: 8.922 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.02e-05/0.6022, allocations: 11.81 kB / 0.4946 GB, free: 8.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003556/0.6026, allocations: 127.2 kB / 0.4947 GB, free: 8.777 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.6026, allocations: 0 / 0.4947 GB, free: 8.777 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.6026, allocations: 0 / 0.4947 GB, free: 8.777 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.6026, allocations: 0 / 0.4947 GB, free: 8.777 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007157/0.6034, allocations: 423.3 kB / 0.4951 GB, free: 8.305 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.6034, allocations: 0 / 0.4951 GB, free: 8.305 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.553e-05/0.6035, allocations: 11.94 kB / 0.4951 GB, free: 8.293 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.6035, allocations: 3.984 kB / 0.4951 GB, free: 8.289 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.6035, allocations: 4 kB / 0.4951 GB, free: 8.285 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.6035, allocations: 3.938 kB / 0.4951 GB, free: 8.281 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.6036, allocations: 0 / 0.4951 GB, free: 8.281 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003347/0.6039, allocations: 225.8 kB / 0.4953 GB, free: 8.035 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.288e-05/0.604, allocations: 93 kB / 0.4954 GB, free: 7.926 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.105e-05/0.6041, allocations: 8 kB / 0.4954 GB, free: 7.918 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.6042, allocations: 0 / 0.4954 GB, free: 7.918 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.588e-05/0.6043, allocations: 11.94 kB / 0.4954 GB, free: 7.906 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.6043, allocations: 4 kB / 0.4954 GB, free: 7.902 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002452/0.6045, allocations: 167.5 kB / 0.4956 GB, free: 7.738 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6046, allocations: 0 / 0.4956 GB, free: 7.738 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000399/0.605, allocations: 39.92 kB / 0.4956 GB, free: 7.699 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.001943/0.6069, allocations: 1.179 MB / 0.4968 GB, free: 6.633 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002546/0.6072, allocations: 55.94 kB / 0.4968 GB, free: 6.578 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.6072, allocations: 0 / 0.4968 GB, free: 6.578 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.792e-05/0.6073, allocations: 35.92 kB / 0.4969 GB, free: 6.543 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004202/0.6078, allocations: 26.56 kB / 0.4969 GB, free: 6.516 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008574/0.6086, allocations: 286.5 kB / 0.4972 GB, free: 6.191 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.609, allocations: 0.72 MB / 0.4979 GB, free: 5.445 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.6091, allocations: 47.34 kB / 0.4979 GB, free: 5.398 MB / 426.7 MB Notification: Performance of SimCode: time 1.162e-06/0.6091, allocations: 0 / 0.4979 GB, free: 5.398 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_Test51CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test51CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test51CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test51Functions.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_Test51CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test51FMU.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_Test51CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test51CalcHelperMain.o] Error 1