Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.688/2.688, allocations: 270 MB / 282.6 MB, free: 1.848 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.608e-05/3.615e-05, allocations: 4 kB / 347.1 MB, free: 3.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3973/0.3974, allocations: 61.88 MB / 408.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1612/0.5586, allocations: 87.6 MB / 496.5 MB, free: 2.922 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/0.559, allocations: 71.97 kB / 496.6 MB, free: 2.852 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01182/0.5708, allocations: 3.058 MB / 499.7 MB, free: 15.77 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.5709, allocations: 0 / 499.7 MB, free: 15.77 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.5709, allocations: 0 / 499.7 MB, free: 15.77 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003754/0.5713, allocations: 354.6 kB / 0.4883 GB, free: 15.38 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.5713, allocations: 8.031 kB / 0.4883 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.452e-05/0.5714, allocations: 42.55 kB / 0.4883 GB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.706e-05/0.5715, allocations: 7.906 kB / 0.4883 GB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.5717, allocations: 183.2 kB / 0.4885 GB, free: 15.1 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.5717, allocations: 8 kB / 0.4885 GB, free: 15.09 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.5717, allocations: 4 kB / 0.4885 GB, free: 15.09 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003148/0.572, allocations: 191.3 kB / 0.4887 GB, free: 14.84 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.5721, allocations: 0 / 0.4887 GB, free: 14.84 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.5721, allocations: 8 kB / 0.4887 GB, free: 14.84 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.768e-05/0.5722, allocations: 4 kB / 0.4887 GB, free: 14.83 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000118/0.5723, allocations: 55.8 kB / 0.4888 GB, free: 14.78 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001232/0.5735, allocations: 1.693 MB / 0.4904 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.5737, allocations: 177.1 kB / 0.4906 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.238e-05/0.5737, allocations: 80.14 kB / 0.4907 GB, free: 12.71 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.208e-05/0.5738, allocations: 75.28 kB / 0.4907 GB, free: 12.64 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.849e-05/0.5739, allocations: 105.8 kB / 0.4908 GB, free: 12.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 2.976e-06/0.5739, allocations: 0 / 0.4908 GB, free: 12.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 0.000106/0.574, allocations: 45.58 kB / 0.4909 GB, free: 12.47 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.943e-05/0.5741, allocations: 130.7 kB / 0.491 GB, free: 12.33 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002473/0.5743, allocations: 171.8 kB / 0.4912 GB, free: 12.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.5744, allocations: 29.64 kB / 0.4912 GB, free: 12.12 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.5745, allocations: 221.5 kB / 0.4914 GB, free: 11.91 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.769e-06/0.5745, allocations: 0 / 0.4914 GB, free: 11.91 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.248e-05/0.5746, allocations: 4 kB / 0.4914 GB, free: 11.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.5747, allocations: 326.8 kB / 0.4917 GB, free: 11.57 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.776e-05/0.5748, allocations: 28 kB / 0.4918 GB, free: 11.55 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001803/0.575, allocations: 153.2 kB / 0.4919 GB, free: 11.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.5752, allocations: 63.91 kB / 0.492 GB, free: 11.27 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.5752, allocations: 4 kB / 0.492 GB, free: 11.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004387/0.5756, allocations: 177.7 kB / 0.4921 GB, free: 11.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.5757, allocations: 12.09 kB / 0.4922 GB, free: 11.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/0.5757, allocations: 7.984 kB / 0.4922 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/0.5757, allocations: 8 kB / 0.4922 GB, free: 11.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002281/0.576, allocations: 35.92 kB / 0.4922 GB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.583e-05/0.576, allocations: 7.953 kB / 0.4922 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.5762, allocations: 23.84 kB / 0.4922 GB, free: 11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/0.5762, allocations: 8 kB / 0.4922 GB, free: 10.99 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001141/0.5763, allocations: 196.1 kB / 0.4924 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.413e-05/0.5764, allocations: 112.9 kB / 0.4925 GB, free: 10.67 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.344e-05/0.5765, allocations: 124.3 kB / 0.4927 GB, free: 10.53 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.798e-05/0.5766, allocations: 176.3 kB / 0.4928 GB, free: 10.35 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-05/0.5767, allocations: 180.3 kB / 0.493 GB, free: 10.17 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-05/0.5768, allocations: 184.2 kB / 0.4932 GB, free: 9.98 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003166/0.5771, allocations: 421.2 kB / 0.4936 GB, free: 9.512 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.566e-05/0.5771, allocations: 109 kB / 0.4937 GB, free: 9.398 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.88e-05/0.5772, allocations: 108.9 kB / 0.4938 GB, free: 9.285 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.369e-05/0.5773, allocations: 176.3 kB / 0.4939 GB, free: 9.105 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-05/0.5774, allocations: 184.3 kB / 0.4941 GB, free: 8.918 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.622e-05/0.5775, allocations: 180.2 kB / 0.4943 GB, free: 8.734 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.827e-05/0.5776, allocations: 184.2 kB / 0.4945 GB, free: 8.547 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/0.5778, allocations: 319.6 kB / 0.4948 GB, free: 8.211 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.5779, allocations: 182 kB / 0.495 GB, free: 8.008 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.059e-05/0.578, allocations: 180.3 kB / 0.4951 GB, free: 7.824 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.5781, allocations: 109.7 kB / 0.4952 GB, free: 7.711 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.859e-05/0.5782, allocations: 184.3 kB / 0.4954 GB, free: 7.523 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.27e-05/0.5783, allocations: 101 kB / 0.4955 GB, free: 7.418 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001834/0.5785, allocations: 134.2 kB / 0.4956 GB, free: 7.289 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.476e-06/0.5785, allocations: 0 / 0.4956 GB, free: 7.289 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004099/0.5789, allocations: 19.94 kB / 0.4956 GB, free: 7.27 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.001023/0.5799, allocations: 0.9181 MB / 0.4965 GB, free: 6.375 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002662/0.5802, allocations: 64.98 kB / 0.4966 GB, free: 6.312 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.5802, allocations: 4.062 kB / 0.4966 GB, free: 6.309 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.976e-06/0.5802, allocations: 0 / 0.4966 GB, free: 6.309 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003873/0.5806, allocations: 0.5302 MB / 0.4971 GB, free: 5.773 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007308/0.5814, allocations: 276.2 kB / 0.4974 GB, free: 5.457 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.5817, allocations: 0.7048 MB / 0.4981 GB, free: 4.727 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.798e-05/0.5819, allocations: 31.42 kB / 0.4981 GB, free: 4.695 MB / 426.7 MB Notification: Performance of SimCode: time 1.232e-06/0.5819, allocations: 0 / 0.4981 GB, free: 4.695 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_CombiTable2Ds_Test17CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test17CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test17CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test17InitializeParameter.cpp:27:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp8; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test17InitializeParameter.cpp:28:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/Data/Tables/test_v4.mat", tmp8); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test17CalcHelperMain.cpp:31: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test17Initialize.cpp:96:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp4; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test17Initialize.cpp:97:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/Data/Tables/test_v4.mat", tmp4); ~~~~~~~~~~ ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test17Initialize.cpp:377:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp6; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test17Initialize.cpp:378:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp6); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test17CalcHelperMain.cpp:34: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test17.cpp:606:16: error: use of undeclared identifier 'tmp0' _fileName_ = tmp0; ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test17CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test17FMU.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 7 errors generated. : recipe for target 'OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test17CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test17CalcHelperMain.o] Error 1