Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test14.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.CombiTable2D.Test14,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.468/2.468, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.288e-05/3.302e-05, allocations: 4 kB / 309.8 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4186/0.4187, allocations: 54.86 MB / 364.6 MB, free: 5.543 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.166/0.5847, allocations: 81.13 MB / 445.8 MB, free: 15.34 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003801/0.5852, allocations: 71.95 kB / 445.8 MB, free: 15.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.023/0.6082, allocations: 3.298 MB / 449.1 MB, free: 12 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.6083, allocations: 0 / 449.1 MB, free: 12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.66e-05/0.6083, allocations: 0 / 449.1 MB, free: 12 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007579/0.6091, allocations: 404.1 kB / 449.5 MB, free: 11.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.541e-05/0.6092, allocations: 12.03 kB / 449.5 MB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.816e-05/0.6092, allocations: 34.56 kB / 449.6 MB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.53e-05/0.6093, allocations: 7.906 kB / 449.6 MB, free: 11.49 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003953/0.6098, allocations: 186.9 kB / 449.7 MB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.6098, allocations: 0 / 449.7 MB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.895e-05/0.6099, allocations: 4 kB / 449.8 MB, free: 11.26 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002567/0.6101, allocations: 63.34 kB / 449.8 MB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.6102, allocations: 7.172 kB / 449.8 MB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/0.6102, allocations: 8.797 kB / 449.8 MB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.6103, allocations: 3.984 kB / 449.8 MB, free: 11.17 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.6104, allocations: 16.88 kB / 449.9 MB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006427/0.6111, allocations: 272.9 kB / 450.1 MB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.6112, allocations: 46.45 kB / 450.2 MB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.151e-05/0.6114, allocations: 16.86 kB / 450.2 MB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.979e-05/0.6114, allocations: 0 / 450.2 MB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.264e-05/0.6115, allocations: 34.56 kB / 450.2 MB, free: 10.72 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 3.196e-06/0.6115, allocations: 0 / 450.2 MB, free: 10.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.001045/0.6126, allocations: 150.2 kB / 450.4 MB, free: 10.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.949e-05/0.6127, allocations: 81.11 kB / 450.4 MB, free: 10.47 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.6129, allocations: 117.5 kB / 450.6 MB, free: 10.35 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/0.6129, allocations: 25.7 kB / 450.6 MB, free: 10.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.6131, allocations: 154.6 kB / 450.7 MB, free: 10.17 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.888e-05/0.6131, allocations: 23.64 kB / 450.8 MB, free: 10.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.675e-05/0.6132, allocations: 4 kB / 450.8 MB, free: 10.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.6134, allocations: 310.8 kB / 451.1 MB, free: 9.828 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.6135, allocations: 20.75 kB / 451.1 MB, free: 9.809 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.6137, allocations: 37.7 kB / 451.1 MB, free: 9.766 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.6139, allocations: 41.7 kB / 451.2 MB, free: 9.719 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.077e-05/0.6139, allocations: 3.953 kB / 451.2 MB, free: 9.715 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004197/0.6144, allocations: 107.3 kB / 451.3 MB, free: 9.598 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.506e-05/0.6144, allocations: 33.7 kB / 451.3 MB, free: 9.559 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.6145, allocations: 3.938 kB / 451.3 MB, free: 9.555 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.6145, allocations: 0 / 451.3 MB, free: 9.555 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003262/0.6149, allocations: 31.22 kB / 451.3 MB, free: 9.527 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.6149, allocations: 4 kB / 451.3 MB, free: 9.523 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/0.6151, allocations: 8 kB / 451.3 MB, free: 9.516 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.101e-05/0.6152, allocations: 11.98 kB / 451.4 MB, free: 9.504 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 (8): * Single equations (assignments): 7 * 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.0001263/0.6153, allocations: 103.4 kB / 451.5 MB, free: 9.398 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.165e-05/0.6154, allocations: 11.86 kB / 451.5 MB, free: 9.387 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000425/0.6159, allocations: 98.22 kB / 451.6 MB, free: 9.281 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.6159, allocations: 4 kB / 451.6 MB, free: 9.277 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.6159, allocations: 0 / 451.6 MB, free: 9.277 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.6159, allocations: 1.406 kB / 451.6 MB, free: 9.277 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008055/0.6168, allocations: 354.5 kB / 451.9 MB, free: 8.875 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.6168, allocations: 0 / 451.9 MB, free: 8.875 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002945/0.6171, allocations: 19.98 kB / 451.9 MB, free: 8.855 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.008e-05/0.6172, allocations: 0 / 451.9 MB, free: 8.855 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/0.6172, allocations: 8 kB / 451.9 MB, free: 8.848 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.6172, allocations: 480 / 451.9 MB, free: 8.848 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.6173, allocations: 0 / 451.9 MB, free: 8.848 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005833/0.6178, allocations: 175.4 kB / 452.1 MB, free: 8.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.618, allocations: 85.02 kB / 452.2 MB, free: 8.559 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.971e-05/0.6181, allocations: 3.984 kB / 452.2 MB, free: 8.555 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003444/0.6185, allocations: 23.12 kB / 452.2 MB, free: 8.535 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.752e-05/0.6186, allocations: 7.984 kB / 452.2 MB, free: 8.527 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.6186, allocations: 4 kB / 452.2 MB, free: 8.523 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000144/0.6188, allocations: 96.91 kB / 452.3 MB, free: 8.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.81e-07/0.6188, allocations: 1.406 kB / 452.3 MB, free: 8.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000601/0.6194, allocations: 31.94 kB / 452.4 MB, free: 8.398 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 (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.002358/0.6218, allocations: 0.9698 MB / 453.3 MB, free: 7.492 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004222/0.6223, allocations: 103.4 kB / 453.4 MB, free: 7.379 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/0.6223, allocations: 8 kB / 453.4 MB, free: 7.371 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.6225, allocations: 27.94 kB / 453.5 MB, free: 7.344 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003924/0.6229, allocations: 4 kB / 453.5 MB, free: 7.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.6239, allocations: 192 kB / 453.7 MB, free: 7.109 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004095/0.6244, allocations: 0.6887 MB / 454.4 MB, free: 6.395 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/0.6246, allocations: 27.42 kB / 454.4 MB, free: 6.367 MB / 378.7 MB Notification: Performance of SimCode: time 1.543e-06/0.6246, allocations: 4 kB / 454.4 MB, free: 6.363 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_CombiTable2D_Test14CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14InitializeParameter.cpp:35:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp26; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14InitializeParameter.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", tmp26); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp12; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14Initialize.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", tmp12); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14Initialize.cpp:292:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp21; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14Initialize.cpp:293:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp21); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14.cpp:756:24: error: use of undeclared identifier 'tmp6' _t_new_P_fileName_ = tmp6; ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14FMU.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_CombiTable2D_Test14CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14CalcHelperMain.o] Error 1