Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test10,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.506/2.506, allocations: 270 MB / 282.6 MB, free: 1.926 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.364e-05/4.37e-05, allocations: 4 kB / 347.1 MB, free: 3.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4252/0.4253, allocations: 61.86 MB / 408.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2273/0.6526, allocations: 88.71 MB / 497.6 MB, free: 1.871 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003766/0.6531, allocations: 75.95 kB / 497.7 MB, free: 1.797 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02949/0.6826, allocations: 4.449 MB / 0.4904 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.6827, allocations: 0 / 0.4904 GB, free: 13.34 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.06e-05/0.6827, allocations: 4 kB / 0.4904 GB, free: 13.33 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006788/0.6834, allocations: 394.2 kB / 0.4908 GB, free: 12.9 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.708e-05/0.6835, allocations: 12.03 kB / 0.4908 GB, free: 12.89 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.637e-05/0.6835, allocations: 34.56 kB / 0.4908 GB, free: 12.85 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.44e-05/0.6836, allocations: 3.906 kB / 0.4908 GB, free: 12.84 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003575/0.684, allocations: 194.8 kB / 0.491 GB, free: 12.61 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.684, allocations: 4 kB / 0.491 GB, free: 12.61 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.6841, allocations: 4 kB / 0.491 GB, free: 12.61 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00025/0.6843, allocations: 59.41 kB / 0.4911 GB, free: 12.54 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.6844, allocations: 7.875 kB / 0.4911 GB, free: 12.53 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.6844, allocations: 4 kB / 0.4911 GB, free: 12.52 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.6844, allocations: 0 / 0.4911 GB, free: 12.52 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.6846, allocations: 19.98 kB / 0.4911 GB, free: 12.5 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006292/0.6852, allocations: 292.8 kB / 0.4914 GB, free: 12.17 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.6854, allocations: 34.56 kB / 0.4914 GB, free: 12.12 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.698e-05/0.6855, allocations: 12.86 kB / 0.4914 GB, free: 12.11 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.119e-05/0.6856, allocations: 11.92 kB / 0.4914 GB, free: 12.1 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.047e-05/0.6856, allocations: 42.5 kB / 0.4915 GB, free: 12.05 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 3.276e-06/0.6856, allocations: 0 / 0.4915 GB, free: 12.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009571/0.6866, allocations: 125.6 kB / 0.4916 GB, free: 11.92 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.299e-05/0.6867, allocations: 81.05 kB / 0.4917 GB, free: 11.82 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002705/0.687, allocations: 146.5 kB / 0.4918 GB, free: 11.67 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.516e-05/0.6871, allocations: 29.7 kB / 0.4918 GB, free: 11.63 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.532e-05/0.6872, allocations: 158.6 kB / 0.492 GB, free: 11.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.753e-05/0.6872, allocations: 19.78 kB / 0.492 GB, free: 11.46 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.327e-05/0.6873, allocations: 4 kB / 0.492 GB, free: 11.45 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.6874, allocations: 314.8 kB / 0.4923 GB, free: 11.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.134e-05/0.6875, allocations: 12 kB / 0.4923 GB, free: 11.12 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.6877, allocations: 37.78 kB / 0.4924 GB, free: 11.08 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.745e-05/0.6878, allocations: 12 kB / 0.4924 GB, free: 11.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.6878, allocations: 0 / 0.4924 GB, free: 11.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002757/0.6881, allocations: 65.69 kB / 0.4924 GB, free: 11 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.963e-05/0.6881, allocations: 9.719 kB / 0.4924 GB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.6882, allocations: 0 / 0.4924 GB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.6882, allocations: 0 / 0.4924 GB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003259/0.6885, allocations: 27.92 kB / 0.4925 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.6886, allocations: 0 / 0.4925 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002182/0.6888, allocations: 27.91 kB / 0.4925 GB, free: 10.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.039e-05/0.6889, allocations: 4 kB / 0.4925 GB, free: 10.93 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 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 0.0001113/0.689, allocations: 101 kB / 0.4926 GB, free: 10.83 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.116e-05/0.6891, allocations: 7.906 kB / 0.4926 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003602/0.6894, allocations: 86.3 kB / 0.4927 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-05/0.6895, allocations: 7.984 kB / 0.4927 GB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.6895, allocations: 4 kB / 0.4927 GB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/0.6895, allocations: 0 / 0.4927 GB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007664/0.6903, allocations: 362.3 kB / 0.493 GB, free: 10.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.6903, allocations: 0 / 0.493 GB, free: 10.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002759/0.6906, allocations: 27.98 kB / 0.4931 GB, free: 10.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.6907, allocations: 0 / 0.4931 GB, free: 10.28 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.6907, allocations: 0 / 0.4931 GB, free: 10.28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.306e-06/0.6907, allocations: 3.984 kB / 0.4931 GB, free: 10.28 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.6907, allocations: 7.953 kB / 0.4931 GB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003394/0.6911, allocations: 175.8 kB / 0.4933 GB, free: 10.08 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.311e-05/0.6912, allocations: 81.11 kB / 0.4933 GB, free: 9.984 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.389e-05/0.6913, allocations: 7.984 kB / 0.4933 GB, free: 9.977 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002524/0.6915, allocations: 8 kB / 0.4933 GB, free: 9.969 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.831e-05/0.6916, allocations: 15.98 kB / 0.4934 GB, free: 9.953 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.6917, allocations: 3.953 kB / 0.4934 GB, free: 9.949 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001737/0.6918, allocations: 109.4 kB / 0.4935 GB, free: 9.844 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.32e-07/0.6919, allocations: 3.938 kB / 0.4935 GB, free: 9.84 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006237/0.6925, allocations: 31.91 kB / 0.4935 GB, free: 9.809 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 (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 Backend phase and start with SimCode phase: time 0.002483/0.695, allocations: 1.048 MB / 0.4945 GB, free: 8.883 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002799/0.6953, allocations: 40 kB / 0.4946 GB, free: 8.844 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.6953, allocations: 0 / 0.4946 GB, free: 8.844 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.6955, allocations: 27.94 kB / 0.4946 GB, free: 8.816 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004373/0.6959, allocations: 19.05 kB / 0.4946 GB, free: 8.801 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.697, allocations: 201 kB / 0.4948 GB, free: 8.562 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003739/0.6974, allocations: 0.7004 MB / 0.4955 GB, free: 7.836 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001727/0.6976, allocations: 31.42 kB / 0.4955 GB, free: 7.805 MB / 426.7 MB Notification: Performance of SimCode: time 1.603e-06/0.6976, allocations: 0 / 0.4955 GB, free: 7.805 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_Test10CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test10CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test10CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test10InitializeParameter.cpp:40:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp30; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test10InitializeParameter.cpp:41: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", tmp30); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test10CalcHelperMain.cpp:31: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test10Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp12; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test10Initialize.cpp:96: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", tmp12); ~~~~~~~~~~ ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test10Initialize.cpp:277:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp20; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test10Initialize.cpp:278:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp20); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test10CalcHelperMain.cpp:34: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test10.cpp:758:24: error: use of undeclared identifier 'tmp6' _t_new_P_fileName_ = tmp6; ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test10CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test10FMU.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_Test10CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test10CalcHelperMain.o] Error 1