Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) 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.322/2.322, allocations: 235.1 MB / 243 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.872e-05/2.894e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.372, allocations: 54.85 MB / 358.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1419/0.514, allocations: 80.46 MB / 438.6 MB, free: 14.37 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/0.5143, allocations: 79.89 kB / 438.7 MB, free: 14.29 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01348/0.5278, allocations: 3.189 MB / 441.9 MB, free: 11.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.5279, allocations: 0 / 441.9 MB, free: 11.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.382e-05/0.5279, allocations: 8 kB / 441.9 MB, free: 11.09 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.0004667/0.5284, allocations: 388.1 kB / 442.2 MB, free: 10.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.5284, allocations: 12.03 kB / 442.3 MB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.702e-05/0.5285, allocations: 11.86 kB / 442.3 MB, free: 10.63 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002499/0.5288, allocations: 179 kB / 442.4 MB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.5288, allocations: 4 kB / 442.4 MB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.5288, allocations: 0 / 442.4 MB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.525e-05/0.5289, allocations: 12 kB / 442.5 MB, free: 10.4 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.5291, allocations: 61.41 kB / 442.5 MB, free: 10.33 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.5291, allocations: 3.906 kB / 442.5 MB, free: 10.33 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.5291, allocations: 4 kB / 442.5 MB, free: 10.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.5291, allocations: 3.953 kB / 442.5 MB, free: 10.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003945/0.5295, allocations: 245.5 kB / 442.8 MB, free: 10.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.5298, allocations: 34.58 kB / 442.8 MB, free: 10 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.747e-05/0.5298, allocations: 8.953 kB / 442.8 MB, free: 9.988 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.5298, allocations: 3.984 kB / 442.8 MB, free: 9.984 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.5299, allocations: 42.5 kB / 442.9 MB, free: 9.934 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.013e-06/0.5299, allocations: 0 / 442.9 MB, free: 9.934 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004972/0.5304, allocations: 93.38 kB / 442.9 MB, free: 9.836 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.173e-05/0.5305, allocations: 85.11 kB / 443 MB, free: 9.734 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.5306, allocations: 116.9 kB / 443.1 MB, free: 9.613 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.5307, allocations: 25.7 kB / 443.2 MB, free: 9.582 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.739e-05/0.5308, allocations: 150.6 kB / 443.3 MB, free: 9.434 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.845e-05/0.5308, allocations: 19.75 kB / 443.3 MB, free: 9.414 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-06/0.5308, allocations: 3.938 kB / 443.3 MB, free: 9.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.531, allocations: 314.8 kB / 443.6 MB, free: 9.094 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.117e-05/0.5311, allocations: 15.94 kB / 443.7 MB, free: 9.078 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.63e-05/0.5311, allocations: 29.72 kB / 443.7 MB, free: 9.043 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.616e-05/0.5312, allocations: 11.94 kB / 443.7 MB, free: 9.031 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5312, allocations: 4 kB / 443.7 MB, free: 9.027 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001677/0.5314, allocations: 61.78 kB / 443.8 MB, free: 8.961 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.559e-05/0.5315, allocations: 33.7 kB / 443.8 MB, free: 8.922 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.5315, allocations: 8.031 kB / 443.8 MB, free: 8.914 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.5315, allocations: 4 kB / 443.8 MB, free: 8.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.5316, allocations: 19.95 kB / 443.8 MB, free: 8.891 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.5317, allocations: 32 / 443.8 MB, free: 8.891 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.893e-05/0.5318, allocations: 11.98 kB / 443.8 MB, free: 8.879 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.5318, allocations: 4 kB / 443.8 MB, free: 8.875 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 9.051e-05/0.5319, allocations: 107 kB / 443.9 MB, free: 8.766 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001508/0.532, allocations: 57.69 kB / 444 MB, free: 8.703 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.785e-05/0.5321, allocations: 7.906 kB / 444 MB, free: 8.695 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001898/0.5323, allocations: 66.05 kB / 444.1 MB, free: 8.629 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.5323, allocations: 0 / 444.1 MB, free: 8.629 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.5323, allocations: 4 kB / 444.1 MB, free: 8.625 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.5323, allocations: 0 / 444.1 MB, free: 8.625 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004623/0.5328, allocations: 299.1 kB / 444.4 MB, free: 8.289 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.5328, allocations: 0 / 444.4 MB, free: 8.289 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.5329, allocations: 12 kB / 444.4 MB, free: 8.277 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.318e-05/0.533, allocations: 7.938 kB / 444.4 MB, free: 8.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.533, allocations: 4 kB / 444.4 MB, free: 8.266 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.533, allocations: 0 / 444.4 MB, free: 8.266 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.533, allocations: 4 kB / 444.4 MB, free: 8.262 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001965/0.5332, allocations: 155.6 kB / 444.6 MB, free: 8.094 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.578e-05/0.5333, allocations: 81.02 kB / 444.6 MB, free: 7.996 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.5333, allocations: 11.95 kB / 444.6 MB, free: 7.984 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.5335, allocations: 7.984 kB / 444.7 MB, free: 7.977 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.5335, allocations: 8.141 kB / 444.7 MB, free: 7.969 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.5335, allocations: 0 / 444.7 MB, free: 7.969 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.591e-05/0.5336, allocations: 95.27 kB / 444.8 MB, free: 7.875 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5337, allocations: 0 / 444.8 MB, free: 7.875 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003671/0.534, allocations: 31.94 kB / 444.8 MB, free: 7.844 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.001378/0.5354, allocations: 0.9111 MB / 445.7 MB, free: 6.953 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001921/0.5356, allocations: 83.41 kB / 445.8 MB, free: 6.859 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5357, allocations: 4 kB / 445.8 MB, free: 6.855 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.508e-05/0.5357, allocations: 19.98 kB / 445.8 MB, free: 6.836 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.536, allocations: 7.953 kB / 445.8 MB, free: 6.828 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006392/0.5366, allocations: 179.2 kB / 446 MB, free: 6.605 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.537, allocations: 0.6885 MB / 446.7 MB, free: 5.891 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.976e-05/0.5371, allocations: 23.42 kB / 446.7 MB, free: 5.867 MB / 378.7 MB Notification: Performance of SimCode: time 7.81e-07/0.5371, allocations: 0 / 446.7 MB, free: 5.867 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=7 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp" -I"." -I"." -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/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/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/OMCompiler/build/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