Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test15,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.748/2.748, allocations: 270 MB / 282.6 MB, free: 1.883 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.03e-05/6.038e-05, allocations: 4 kB / 347.1 MB, free: 3.121 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4064, allocations: 61.86 MB / 408.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1667/0.5731, allocations: 87.4 MB / 496.3 MB, free: 3.125 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002895/0.5735, allocations: 75.95 kB / 496.4 MB, free: 3.051 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01175/0.5852, allocations: 3.043 MB / 499.4 MB, free: 15.99 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5853, allocations: 0 / 499.4 MB, free: 15.99 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.375e-06/0.5853, allocations: 0 / 499.4 MB, free: 15.99 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.000394/0.5857, allocations: 354.4 kB / 499.8 MB, free: 15.6 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.652e-05/0.5858, allocations: 12.03 kB / 499.8 MB, free: 15.59 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.177e-05/0.5858, allocations: 38.55 kB / 499.8 MB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.674e-05/0.5859, allocations: 7.906 kB / 499.8 MB, free: 15.53 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.5861, allocations: 179.2 kB / 0.4883 GB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.5861, allocations: 15.98 kB / 0.4883 GB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.5861, allocations: 4 kB / 0.4883 GB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003181/0.5865, allocations: 189.2 kB / 0.4885 GB, free: 15.06 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.5865, allocations: 4 kB / 0.4885 GB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.5865, allocations: 7.938 kB / 0.4885 GB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.692e-05/0.5866, allocations: 8 kB / 0.4885 GB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.5867, allocations: 51.84 kB / 0.4886 GB, free: 14.99 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/0.588, allocations: 1.701 MB / 0.4902 GB, free: 13.18 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.5882, allocations: 173.1 kB / 0.4904 GB, free: 13 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.871e-05/0.5882, allocations: 88.12 kB / 0.4905 GB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.5883, allocations: 75.28 kB / 0.4906 GB, free: 12.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.674e-05/0.5883, allocations: 109.8 kB / 0.4907 GB, free: 12.72 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 2.575e-06/0.5883, allocations: 0 / 0.4907 GB, free: 12.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001017/0.5885, allocations: 37.61 kB / 0.4907 GB, free: 12.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.809e-05/0.5885, allocations: 126.7 kB / 0.4908 GB, free: 12.54 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00025/0.5888, allocations: 171.9 kB / 0.491 GB, free: 12.37 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.872e-05/0.5888, allocations: 25.7 kB / 0.491 GB, free: 12.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.589, allocations: 213.6 kB / 0.4912 GB, free: 12.12 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.769e-05/0.589, allocations: 4 kB / 0.4912 GB, free: 12.12 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-05/0.589, allocations: 7.938 kB / 0.4912 GB, free: 12.11 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.5892, allocations: 318.8 kB / 0.4915 GB, free: 11.79 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.484e-05/0.5893, allocations: 35.98 kB / 0.4916 GB, free: 11.76 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/0.5895, allocations: 153.1 kB / 0.4917 GB, free: 11.55 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.5897, allocations: 63.91 kB / 0.4918 GB, free: 11.48 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.5897, allocations: 4 kB / 0.4918 GB, free: 11.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004728/0.5902, allocations: 181.8 kB / 0.4919 GB, free: 11.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.5902, allocations: 4.062 kB / 0.4919 GB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.5902, allocations: 12 kB / 0.492 GB, free: 11.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.694e-05/0.5903, allocations: 4 kB / 0.492 GB, free: 11.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002341/0.5905, allocations: 35.92 kB / 0.492 GB, free: 11.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.23e-05/0.5905, allocations: 15.89 kB / 0.492 GB, free: 11.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.5907, allocations: 19.84 kB / 0.492 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.063e-05/0.5907, allocations: 8 kB / 0.492 GB, free: 11.2 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.0001363/0.5909, allocations: 196.1 kB / 0.4922 GB, free: 11 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.172e-05/0.591, allocations: 116.9 kB / 0.4923 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.096e-05/0.5911, allocations: 120.4 kB / 0.4924 GB, free: 10.74 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.735e-05/0.5912, allocations: 180.2 kB / 0.4926 GB, free: 10.56 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-05/0.5913, allocations: 180.2 kB / 0.4928 GB, free: 10.38 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.353e-05/0.5914, allocations: 180.2 kB / 0.493 GB, free: 10.19 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003306/0.5917, allocations: 421.2 kB / 0.4934 GB, free: 9.723 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.216e-05/0.5918, allocations: 113 kB / 0.4935 GB, free: 9.605 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.297e-05/0.5918, allocations: 105 kB / 0.4936 GB, free: 9.496 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.558e-05/0.5919, allocations: 180.2 kB / 0.4937 GB, free: 9.312 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.33e-05/0.592, allocations: 176.3 kB / 0.4939 GB, free: 9.133 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001092/0.5921, allocations: 176.3 kB / 0.4941 GB, free: 8.953 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.258e-05/0.5922, allocations: 196.2 kB / 0.4943 GB, free: 8.754 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.5924, allocations: 307.7 kB / 0.4946 GB, free: 8.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.5925, allocations: 189.9 kB / 0.4947 GB, free: 8.219 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.371e-05/0.5926, allocations: 180.2 kB / 0.4949 GB, free: 8.035 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.5928, allocations: 105.8 kB / 0.495 GB, free: 7.926 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.053e-05/0.5929, allocations: 192.2 kB / 0.4952 GB, free: 7.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-05/0.5929, allocations: 101 kB / 0.4953 GB, free: 7.625 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001837/0.5931, allocations: 130.3 kB / 0.4954 GB, free: 7.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.5931, allocations: 0 / 0.4954 GB, free: 7.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004104/0.5936, allocations: 16 kB / 0.4954 GB, free: 7.484 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.0009671/0.5945, allocations: 0.9258 MB / 0.4963 GB, free: 6.582 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002337/0.5948, allocations: 60.92 kB / 0.4964 GB, free: 6.523 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.5948, allocations: 8.188 kB / 0.4964 GB, free: 6.516 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.405e-06/0.5948, allocations: 0 / 0.4964 GB, free: 6.516 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.5952, allocations: 0.5263 MB / 0.4969 GB, free: 5.984 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006996/0.5959, allocations: 284.1 kB / 0.4972 GB, free: 5.66 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.5963, allocations: 0.7009 MB / 0.4979 GB, free: 4.934 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.965e-05/0.5965, allocations: 35.42 kB / 0.4979 GB, free: 4.898 MB / 426.7 MB Notification: Performance of SimCode: time 9.31e-07/0.5965, allocations: 4 kB / 0.4979 GB, free: 4.895 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_Test15CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test15CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test15CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test15InitializeParameter.cpp:27:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp8; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test15InitializeParameter.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_Test15CalcHelperMain.cpp:31: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test15Initialize.cpp:96:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp4; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test15Initialize.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_Test15Initialize.cpp:377:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp6; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test15Initialize.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_Test15CalcHelperMain.cpp:34: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test15.cpp:606:16: error: use of undeclared identifier 'tmp0' _fileName_ = tmp0; ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test15CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test15FMU.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_Test15CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test15CalcHelperMain.o] Error 1