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.Test11.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.Test11,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.591/2.591, allocations: 235 MB / 248 MB, free: 14.54 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.247e-05/4.257e-05, allocations: 4 kB / 309.8 MB, free: 1.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4595/0.4595, allocations: 54.85 MB / 364.6 MB, free: 5.527 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1559/0.6155, allocations: 81.13 MB / 445.8 MB, free: 15.38 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002854/0.6159, allocations: 71.97 kB / 445.8 MB, free: 15.3 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0142/0.6301, allocations: 3.289 MB / 449.1 MB, free: 12.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.6302, allocations: 0 / 449.1 MB, free: 12.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.677e-05/0.6302, allocations: 4 kB / 449.1 MB, free: 12.04 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.0005509/0.6307, allocations: 400.1 kB / 449.5 MB, free: 11.6 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.6308, allocations: 8.031 kB / 449.5 MB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.078e-05/0.6309, allocations: 43.39 kB / 449.6 MB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.937e-05/0.6309, allocations: 3.906 kB / 449.6 MB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.6312, allocations: 187.8 kB / 449.7 MB, free: 11.31 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.6312, allocations: 4 kB / 449.8 MB, free: 11.31 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.6313, allocations: 4 kB / 449.8 MB, free: 11.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.6314, allocations: 59.41 kB / 449.8 MB, free: 11.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.6315, allocations: 15.23 kB / 449.8 MB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.6315, allocations: 4.797 kB / 449.8 MB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.6315, allocations: 4 kB / 449.8 MB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.443e-05/0.6316, allocations: 20 kB / 449.9 MB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004466/0.6321, allocations: 276.9 kB / 450.1 MB, free: 10.88 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.6322, allocations: 34.58 kB / 450.2 MB, free: 10.83 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.917e-05/0.6323, allocations: 20.75 kB / 450.2 MB, free: 10.81 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.6323, allocations: 4 kB / 450.2 MB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.6323, allocations: 34.56 kB / 450.2 MB, free: 10.76 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 2.624e-06/0.6323, allocations: 0 / 450.2 MB, free: 10.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006783/0.633, allocations: 146.3 kB / 450.4 MB, free: 10.61 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.716e-05/0.6331, allocations: 81.11 kB / 450.4 MB, free: 10.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.6333, allocations: 114.8 kB / 450.6 MB, free: 10.4 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.6333, allocations: 25.7 kB / 450.6 MB, free: 10.37 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.245e-05/0.6334, allocations: 162.5 kB / 450.7 MB, free: 10.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.418e-05/0.6334, allocations: 23.66 kB / 450.8 MB, free: 10.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.394e-06/0.6334, allocations: 0 / 450.8 MB, free: 10.18 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.6336, allocations: 314.8 kB / 451.1 MB, free: 9.867 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.73e-05/0.6337, allocations: 20 kB / 451.1 MB, free: 9.848 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.708e-05/0.6338, allocations: 30.75 kB / 451.1 MB, free: 9.812 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.6339, allocations: 49.73 kB / 451.2 MB, free: 9.758 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.6339, allocations: 0 / 451.2 MB, free: 9.758 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002525/0.6342, allocations: 111.3 kB / 451.3 MB, free: 9.637 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.272e-05/0.6342, allocations: 29.7 kB / 451.3 MB, free: 9.602 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.6342, allocations: 0 / 451.3 MB, free: 9.602 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.6343, allocations: 0 / 451.3 MB, free: 9.602 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002233/0.6345, allocations: 27.92 kB / 451.3 MB, free: 9.574 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.6345, allocations: 0 / 451.3 MB, free: 9.574 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.6347, allocations: 23.98 kB / 451.4 MB, free: 9.551 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.6347, allocations: 0 / 451.4 MB, free: 9.551 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 8.697e-05/0.6348, allocations: 108.9 kB / 451.5 MB, free: 9.438 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.61e-05/0.6348, allocations: 11.86 kB / 451.5 MB, free: 9.426 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002847/0.6351, allocations: 94.36 kB / 451.6 MB, free: 9.324 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.6352, allocations: 3.984 kB / 451.6 MB, free: 9.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.6352, allocations: 0 / 451.6 MB, free: 9.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.6352, allocations: 4 kB / 451.6 MB, free: 9.316 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005346/0.6357, allocations: 350.5 kB / 451.9 MB, free: 8.918 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.6358, allocations: 0 / 451.9 MB, free: 8.918 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001877/0.636, allocations: 27.92 kB / 451.9 MB, free: 8.891 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.052e-06/0.636, allocations: 0 / 451.9 MB, free: 8.891 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.636, allocations: 0 / 451.9 MB, free: 8.891 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.636, allocations: 0 / 451.9 MB, free: 8.891 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.636, allocations: 480 / 451.9 MB, free: 8.891 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/0.6363, allocations: 183.4 kB / 452.1 MB, free: 8.695 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.88e-05/0.6363, allocations: 85 kB / 452.2 MB, free: 8.594 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.6364, allocations: 4 kB / 452.2 MB, free: 8.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.6365, allocations: 15.98 kB / 452.2 MB, free: 8.574 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.136e-05/0.6366, allocations: 4 kB / 452.2 MB, free: 8.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.6366, allocations: 4 kB / 452.2 MB, free: 8.566 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.726e-05/0.6367, allocations: 96.14 kB / 452.3 MB, free: 8.473 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6367, allocations: 0 / 452.3 MB, free: 8.473 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003585/0.6371, allocations: 32 kB / 452.4 MB, free: 8.441 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.001637/0.6388, allocations: 0.9781 MB / 453.3 MB, free: 7.527 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000301/0.6391, allocations: 103.3 kB / 453.4 MB, free: 7.414 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.6391, allocations: 0 / 453.4 MB, free: 7.414 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.151e-05/0.6392, allocations: 24 kB / 453.5 MB, free: 7.391 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.6395, allocations: 12 kB / 453.5 MB, free: 7.379 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006841/0.6402, allocations: 192 kB / 453.7 MB, free: 7.148 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.6405, allocations: 0.6926 MB / 454.4 MB, free: 6.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.6406, allocations: 23.42 kB / 454.4 MB, free: 6.406 MB / 378.7 MB Notification: Performance of SimCode: time 8.81e-07/0.6407, allocations: 0 / 454.4 MB, free: 6.406 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_Test11CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test11CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test11CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test11InitializeParameter.cpp:35:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp26; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test11InitializeParameter.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_v6.mat", tmp26); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test11CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test11Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp12; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test11Initialize.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_v6.mat", tmp12); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test11Initialize.cpp:292:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp21; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test11Initialize.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_Test11CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test11.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_Test11CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test11FMU.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_Test11CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test11CalcHelperMain.o] Error 1