Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.312/2.312, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.318e-05/3.328e-05, allocations: 3.984 kB / 305 MB, free: 5.562 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.431/0.4311, allocations: 54.86 MB / 359.9 MB, free: 2.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1647/0.5958, allocations: 81.14 MB / 441 MB, free: 15.73 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/0.5961, allocations: 77.05 kB / 441.1 MB, free: 15.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01391/0.61, allocations: 3.311 MB / 444.4 MB, free: 12.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.6101, allocations: 0 / 444.4 MB, free: 12.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.425e-05/0.6101, allocations: 4 kB / 444.4 MB, free: 12.37 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005011/0.6106, allocations: 396 kB / 444.8 MB, free: 11.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.6107, allocations: 12.03 kB / 444.8 MB, free: 11.92 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.976e-05/0.6107, allocations: 30.56 kB / 444.8 MB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.495e-05/0.6108, allocations: 11.86 kB / 444.8 MB, free: 11.87 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002747/0.6111, allocations: 187 kB / 445 MB, free: 11.65 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.6111, allocations: 0 / 445 MB, free: 11.65 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.6111, allocations: 8 kB / 445 MB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.6113, allocations: 52.42 kB / 445.1 MB, free: 11.58 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.6114, allocations: 0 / 445.1 MB, free: 11.58 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.6114, allocations: 3.984 kB / 445.1 MB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.6114, allocations: 7.953 kB / 445.1 MB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.786e-05/0.6115, allocations: 12 kB / 445.1 MB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004503/0.6119, allocations: 271.6 kB / 445.4 MB, free: 11.24 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002187/0.6122, allocations: 38.52 kB / 445.4 MB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.705e-05/0.6122, allocations: 12.86 kB / 445.4 MB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.6123, allocations: 0 / 445.4 MB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.6123, allocations: 34.52 kB / 445.4 MB, free: 11.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.744e-06/0.6123, allocations: 4 kB / 445.4 MB, free: 11.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005025/0.6128, allocations: 113 kB / 445.6 MB, free: 11.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.505e-05/0.6129, allocations: 81.11 kB / 445.6 MB, free: 10.92 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.6131, allocations: 113.6 kB / 445.8 MB, free: 10.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.6131, allocations: 25.7 kB / 445.8 MB, free: 10.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.71e-05/0.6132, allocations: 154.6 kB / 445.9 MB, free: 10.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/0.6132, allocations: 19.66 kB / 445.9 MB, free: 10.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.191e-06/0.6133, allocations: 4 kB / 445.9 MB, free: 10.6 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.6134, allocations: 318.8 kB / 446.3 MB, free: 10.28 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.933e-05/0.6135, allocations: 12 kB / 446.3 MB, free: 10.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.922e-05/0.6135, allocations: 25.66 kB / 446.3 MB, free: 10.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.917e-05/0.6136, allocations: 37.7 kB / 446.3 MB, free: 10.19 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.6136, allocations: 0 / 446.3 MB, free: 10.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001888/0.6138, allocations: 95.39 kB / 446.4 MB, free: 10.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.706e-05/0.6139, allocations: 33.66 kB / 446.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.6139, allocations: 7.969 kB / 446.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.6139, allocations: 3.984 kB / 446.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.6141, allocations: 12 kB / 446.5 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.6141, allocations: 0 / 446.5 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.535e-05/0.6142, allocations: 15.98 kB / 446.5 MB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.6142, allocations: 0 / 446.5 MB, free: 10.01 MB / 378.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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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 8.865e-05/0.6143, allocations: 105 kB / 446.6 MB, free: 9.898 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.765e-05/0.6144, allocations: 3.906 kB / 446.6 MB, free: 9.895 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002083/0.6146, allocations: 80.25 kB / 446.7 MB, free: 9.812 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.6146, allocations: 4.125 kB / 446.7 MB, free: 9.809 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.6146, allocations: 0 / 446.7 MB, free: 9.809 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.6146, allocations: 3.984 kB / 446.7 MB, free: 9.805 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004619/0.6151, allocations: 322.5 kB / 447 MB, free: 9.434 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.6151, allocations: 4.703 kB / 447 MB, free: 9.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/0.6153, allocations: 15.98 kB / 447 MB, free: 9.414 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.6153, allocations: 4 kB / 447 MB, free: 9.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.6153, allocations: 4 kB / 447 MB, free: 9.406 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.6153, allocations: 0 / 447 MB, free: 9.406 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6153, allocations: 0.875 kB / 447 MB, free: 9.406 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001978/0.6155, allocations: 160 kB / 447.2 MB, free: 9.234 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.417e-05/0.6156, allocations: 93.05 kB / 447.3 MB, free: 9.125 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.6156, allocations: 1.938 kB / 447.3 MB, free: 9.125 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.6158, allocations: 8 kB / 447.3 MB, free: 9.117 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.162e-05/0.6158, allocations: 7.984 kB / 447.3 MB, free: 9.109 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.024e-06/0.6158, allocations: 0 / 447.3 MB, free: 9.109 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.588e-05/0.6159, allocations: 97.03 kB / 447.4 MB, free: 9.016 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.616, allocations: 1.031 kB / 447.4 MB, free: 9.016 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003689/0.6163, allocations: 31.92 kB / 447.4 MB, free: 8.984 MB / 378.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 (5): * Single equations (assignments): 5 * 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.00147/0.6178, allocations: 0.9608 MB / 448.4 MB, free: 8.078 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001988/0.618, allocations: 83.41 kB / 448.5 MB, free: 7.984 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6181, allocations: 0 / 448.5 MB, free: 7.984 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.452e-05/0.6181, allocations: 16 kB / 448.5 MB, free: 7.969 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.6184, allocations: 11.98 kB / 448.5 MB, free: 7.957 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005954/0.619, allocations: 173.6 kB / 448.7 MB, free: 7.742 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.6194, allocations: 0.6887 MB / 449.4 MB, free: 7.027 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.224e-05/0.6195, allocations: 23.42 kB / 449.4 MB, free: 7.004 MB / 378.7 MB Notification: Performance of SimCode: time 8.42e-07/0.6195, allocations: 0 / 449.4 MB, free: 7.004 MB / 378.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"." -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24InitializeParameter.cpp:35:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp22; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24InitializeParameter.cpp:36:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/test.txt", tmp22); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24Initialize.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 3.2.2/Resources/Data/Tables/test.txt", tmp9); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24Initialize.cpp:261:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp16; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24Initialize.cpp:262:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp16); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24.cpp:712:24: error: use of undeclared identifier 'tmp4' _t_new_P_fileName_ = tmp4; ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24FMU.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_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24CalcHelperMain.o] Error 1