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.Test16.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.CombiTable2D.Test16,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.34/2.34, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.046e-05/3.075e-05, allocations: 7.984 kB / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3805/0.3806, allocations: 54.84 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1468/0.5274, allocations: 80.56 MB / 438.7 MB, free: 14.18 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/0.5277, allocations: 71.97 kB / 438.8 MB, free: 14.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0093/0.537, allocations: 2.53 MB / 441.3 MB, free: 11.56 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.5371, allocations: 4 kB / 441.3 MB, free: 11.56 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.5371, allocations: 0 / 441.3 MB, free: 11.56 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003634/0.5375, allocations: 354.8 kB / 441.6 MB, free: 11.17 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.5375, allocations: 12.03 kB / 441.6 MB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.248e-05/0.5376, allocations: 15.86 kB / 441.7 MB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.5378, allocations: 170.9 kB / 441.8 MB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.5378, allocations: 4 kB / 441.8 MB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.5378, allocations: 4 kB / 441.8 MB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000126/0.538, allocations: 35.98 kB / 441.9 MB, free: 10.89 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002433/0.5382, allocations: 181.2 kB / 442 MB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.5382, allocations: 0 / 442 MB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.5383, allocations: 4 kB / 442 MB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.244e-05/0.5383, allocations: 15.98 kB / 442.1 MB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001187/0.5395, allocations: 1.67 MB / 443.7 MB, free: 8.875 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.354e-05/0.5396, allocations: 169.1 kB / 443.9 MB, free: 8.699 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.536e-05/0.5397, allocations: 88.14 kB / 444 MB, free: 8.609 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.62e-05/0.5397, allocations: 75.28 kB / 444.1 MB, free: 8.535 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.611e-05/0.5398, allocations: 105.8 kB / 444.2 MB, free: 8.422 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.853e-06/0.5398, allocations: 0 / 444.2 MB, free: 8.422 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 9.383e-05/0.5399, allocations: 43 kB / 444.2 MB, free: 8.375 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.54, allocations: 51.41 kB / 444.3 MB, free: 8.312 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002515/0.5402, allocations: 169.8 kB / 444.4 MB, free: 8.141 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.5403, allocations: 29.7 kB / 444.4 MB, free: 8.105 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.5404, allocations: 217.6 kB / 444.7 MB, free: 7.891 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.657e-06/0.5404, allocations: 0 / 444.7 MB, free: 7.891 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.043e-06/0.5404, allocations: 4 kB / 444.7 MB, free: 7.887 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.5406, allocations: 314.8 kB / 445 MB, free: 7.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.451e-05/0.5407, allocations: 27.98 kB / 445 MB, free: 7.543 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/0.5408, allocations: 153.1 kB / 445.2 MB, free: 7.332 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.541, allocations: 67.89 kB / 445.2 MB, free: 7.266 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.541, allocations: 0 / 445.2 MB, free: 7.266 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003826/0.5414, allocations: 169.7 kB / 445.4 MB, free: 7.094 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.5414, allocations: 4 kB / 445.4 MB, free: 7.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.5415, allocations: 4 kB / 445.4 MB, free: 7.086 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.5415, allocations: 8 kB / 445.4 MB, free: 7.078 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.5417, allocations: 39.86 kB / 445.4 MB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.5417, allocations: 8 kB / 445.4 MB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.5419, allocations: 15.84 kB / 445.5 MB, free: 7.016 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.232e-05/0.5419, allocations: 12 kB / 445.5 MB, free: 7.004 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.0001217/0.542, allocations: 192.3 kB / 445.7 MB, free: 6.809 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001041/0.5421, allocations: 146.5 kB / 445.8 MB, free: 6.652 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.892e-05/0.5422, allocations: 115.6 kB / 445.9 MB, free: 6.535 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.14e-05/0.5423, allocations: 124.9 kB / 446 MB, free: 6.406 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.59e-05/0.5424, allocations: 176.3 kB / 446.2 MB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.381e-05/0.5425, allocations: 176.3 kB / 446.4 MB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.772e-05/0.5426, allocations: 188.1 kB / 446.6 MB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002876/0.5429, allocations: 401.8 kB / 447 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-05/0.5429, allocations: 109 kB / 447.1 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.461e-05/0.543, allocations: 104.9 kB / 447.2 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001092/0.5432, allocations: 180.2 kB / 447.3 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/0.5433, allocations: 180.3 kB / 447.5 MB, free: 4.828 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001088/0.5434, allocations: 188.2 kB / 447.7 MB, free: 4.637 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001014/0.5435, allocations: 180.3 kB / 447.9 MB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.5438, allocations: 307.6 kB / 448.2 MB, free: 4.129 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001541/0.544, allocations: 198 kB / 448.4 MB, free: 3.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000149/0.5441, allocations: 184.2 kB / 448.6 MB, free: 3.723 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/0.5443, allocations: 108.9 kB / 448.7 MB, free: 3.609 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.5445, allocations: 180.3 kB / 448.8 MB, free: 3.426 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.558e-05/0.5446, allocations: 101 kB / 448.9 MB, free: 3.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002226/0.5448, allocations: 127.4 kB / 449.1 MB, free: 3.195 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.41e-07/0.5448, allocations: 0 / 449.1 MB, free: 3.195 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005951/0.5454, allocations: 12 kB / 449.1 MB, free: 3.184 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 (0): * Single equations (assignments): 0 * 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.0008969/0.5463, allocations: 0.893 MB / 450 MB, free: 2.289 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002026/0.5466, allocations: 68.73 kB / 450 MB, free: 2.223 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5466, allocations: 4 kB / 450 MB, free: 2.219 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.831e-06/0.5466, allocations: 3.984 kB / 450 MB, free: 2.215 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004025/0.547, allocations: 0.5224 MB / 450.6 MB, free: 1.688 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006897/0.5477, allocations: 263.6 kB / 450.8 MB, free: 1.383 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003758/0.5481, allocations: 0.7045 MB / 451.5 MB, free: 0.6523 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.853e-05/0.5482, allocations: 35.36 kB / 451.6 MB, free: 0.6172 MB / 378.7 MB Notification: Performance of SimCode: time 8.21e-07/0.5482, allocations: 0 / 451.6 MB, free: 0.6172 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_CombiTable2D_Test16CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test16CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test16CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test16InitializeParameter.cpp:27:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp8; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test16InitializeParameter.cpp:28: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_v4.mat", tmp8); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test16CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test16Initialize.cpp:96:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp4; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test16Initialize.cpp:97: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_v4.mat", tmp4); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test16Initialize.cpp:377:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp6; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test16Initialize.cpp:378:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp6); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test16CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test16.cpp:606:16: error: use of undeclared identifier 'tmp0' _fileName_ = tmp0; ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test16CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test16FMU.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_CombiTable2D_Test16CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test16CalcHelperMain.o] Error 1