Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test24.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test24,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.461/2.461, allocations: 234.9 MB / 250.5 MB, free: 9.672 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000599/0.000599, allocations: 8 kB / 314.5 MB, free: 9.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3963/0.397, allocations: 54.87 MB / 369.4 MB, free: 12.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1545/0.5515, allocations: 81.22 MB / 450.6 MB, free: 11.32 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/0.5519, allocations: 75.97 kB / 450.7 MB, free: 11.24 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01467/0.5665, allocations: 3.523 MB / 454.2 MB, free: 7.711 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.185e-06/0.5666, allocations: 0 / 454.2 MB, free: 7.711 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.5666, allocations: 0 / 454.2 MB, free: 7.711 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.0005435/0.5672, allocations: 410.9 kB / 454.6 MB, free: 7.258 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.5672, allocations: 8.031 kB / 454.6 MB, free: 7.25 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.38e-05/0.5673, allocations: 30.56 kB / 454.6 MB, free: 7.211 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.091e-05/0.5673, allocations: 11.86 kB / 454.6 MB, free: 7.199 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.5676, allocations: 187 kB / 454.8 MB, free: 6.977 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.5676, allocations: 0 / 454.8 MB, free: 6.977 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/0.5676, allocations: 8 kB / 454.8 MB, free: 6.969 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/0.5679, allocations: 55.41 kB / 454.9 MB, free: 6.902 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.5679, allocations: 4 kB / 454.9 MB, free: 6.898 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.5679, allocations: 4 kB / 454.9 MB, free: 6.895 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.5679, allocations: 7.891 kB / 454.9 MB, free: 6.887 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.5681, allocations: 31.97 kB / 454.9 MB, free: 6.855 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005018/0.5686, allocations: 280.8 kB / 455.2 MB, free: 6.531 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002737/0.5689, allocations: 42.56 kB / 455.2 MB, free: 6.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.788e-05/0.569, allocations: 11.94 kB / 455.2 MB, free: 6.469 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.569, allocations: 30.56 kB / 455.3 MB, free: 6.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.844e-06/0.569, allocations: 0 / 455.3 MB, free: 6.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009176/0.5699, allocations: 169.4 kB / 455.4 MB, free: 6.258 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.724e-05/0.57, allocations: 77.11 kB / 455.5 MB, free: 6.164 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.5702, allocations: 113 kB / 455.6 MB, free: 6.047 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.5702, allocations: 29.7 kB / 455.7 MB, free: 6.012 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.08e-05/0.5703, allocations: 154.5 kB / 455.8 MB, free: 5.859 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.457e-05/0.5703, allocations: 19.75 kB / 455.8 MB, free: 5.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-06/0.5703, allocations: 0 / 455.8 MB, free: 5.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.5705, allocations: 314.8 kB / 456.1 MB, free: 5.523 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.5707, allocations: 35.91 kB / 456.2 MB, free: 5.488 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.5708, allocations: 37.7 kB / 456.2 MB, free: 5.445 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.571, allocations: 61.72 kB / 456.3 MB, free: 5.379 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.571, allocations: 3.938 kB / 456.3 MB, free: 5.375 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004189/0.5715, allocations: 127.5 kB / 456.4 MB, free: 5.238 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.952e-05/0.5715, allocations: 33.7 kB / 456.4 MB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.5716, allocations: 7.953 kB / 456.4 MB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.5716, allocations: 4 kB / 456.4 MB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.5717, allocations: 15.98 kB / 456.5 MB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/0.5718, allocations: 0 / 456.5 MB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.746e-05/0.5719, allocations: 4 kB / 456.5 MB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.5719, allocations: 4 kB / 456.5 MB, free: 5.164 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 () * Number of clocked 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 0.0001363/0.572, allocations: 118.5 kB / 456.6 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.137e-05/0.5721, allocations: 3.906 kB / 456.6 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004466/0.5726, allocations: 113.5 kB / 456.7 MB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.5726, allocations: 3.953 kB / 456.7 MB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.5726, allocations: 288 / 456.7 MB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.5726, allocations: 0 / 456.7 MB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007468/0.5734, allocations: 362.5 kB / 457.1 MB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.5734, allocations: 0 / 457.1 MB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.5735, allocations: 19.97 kB / 457.1 MB, free: 4.477 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.929e-06/0.5735, allocations: 3.953 kB / 457.1 MB, free: 4.473 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.5736, allocations: 0 / 457.1 MB, free: 4.473 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.548e-06/0.5736, allocations: 4 kB / 457.1 MB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.5736, allocations: 3.938 kB / 457.1 MB, free: 4.465 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004185/0.574, allocations: 191.4 kB / 457.3 MB, free: 4.262 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.536e-05/0.5741, allocations: 85.02 kB / 457.4 MB, free: 4.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.953e-05/0.5742, allocations: 4.203 kB / 457.4 MB, free: 4.156 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.5743, allocations: 15.98 kB / 457.4 MB, free: 4.141 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.256e-05/0.5744, allocations: 4 kB / 457.4 MB, free: 4.137 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.5744, allocations: 0 / 457.4 MB, free: 4.137 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001165/0.5745, allocations: 99.27 kB / 457.5 MB, free: 4.039 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.845e-06/0.5745, allocations: 0 / 457.5 MB, free: 4.039 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004317/0.575, allocations: 31.92 kB / 457.5 MB, free: 4.008 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 () * Number of clocked 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.001867/0.5769, allocations: 1.008 MB / 458.5 MB, free: 3.059 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004357/0.5773, allocations: 115.4 kB / 458.6 MB, free: 2.934 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.5774, allocations: 3.938 kB / 458.6 MB, free: 2.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.5775, allocations: 39.91 kB / 458.7 MB, free: 2.891 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.5778, allocations: 11.95 kB / 458.7 MB, free: 2.879 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008813/0.5787, allocations: 412.4 kB / 459.1 MB, free: 2.418 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/0.5791, allocations: 0.6926 MB / 459.8 MB, free: 1.699 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.249e-05/0.5792, allocations: 27.42 kB / 459.8 MB, free: 1.672 MB / 378.7 MB Notification: Performance of SimCode: time 1.182e-06/0.5792, allocations: 3.938 kB / 459.8 MB, free: 1.668 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_CombiTable1D_Test24CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test24CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test24CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test24InitializeParameter.cpp:35:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp22; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_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_CombiTable1D_Test24CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test24Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_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_CombiTable1D_Test24Initialize.cpp:261:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp16; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_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_CombiTable1D_Test24CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test24.cpp:714:24: error: use of undeclared identifier 'tmp4' _t_new_P_fileName_ = tmp4; ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test24CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_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_CombiTable1D_Test24CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test24CalcHelperMain.o] Error 1