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.Test15.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.Test15,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.384/2.384, allocations: 235.1 MB / 243 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.811e-05/2.811e-05, allocations: 0 / 303.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3668, allocations: 54.86 MB / 358.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1487/0.5156, allocations: 80.55 MB / 438.7 MB, free: 14.18 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003085/0.516, allocations: 75.95 kB / 438.8 MB, free: 14.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00955/0.5255, allocations: 2.522 MB / 441.3 MB, free: 11.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.856e-06/0.5256, allocations: 7.938 kB / 441.3 MB, free: 11.56 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.5256, allocations: 4 kB / 441.3 MB, free: 11.55 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.0003806/0.526, allocations: 350.9 kB / 441.6 MB, free: 11.17 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.5261, allocations: 8.031 kB / 441.6 MB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.117e-05/0.5261, allocations: 11.86 kB / 441.6 MB, free: 11.15 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.5263, allocations: 178.8 kB / 441.8 MB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.5263, allocations: 4 kB / 441.8 MB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.5264, allocations: 4 kB / 441.8 MB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001169/0.5265, allocations: 28 kB / 441.9 MB, free: 10.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002391/0.5267, allocations: 189 kB / 442 MB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.5268, allocations: 0 / 442 MB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.5268, allocations: 7.938 kB / 442.1 MB, free: 10.65 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.373e-05/0.5268, allocations: 8 kB / 442.1 MB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001164/0.528, allocations: 1.674 MB / 443.7 MB, free: 8.875 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.951e-05/0.5281, allocations: 169.1 kB / 443.9 MB, free: 8.699 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.734e-05/0.5282, allocations: 80.14 kB / 444 MB, free: 8.617 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.795e-05/0.5282, allocations: 79.28 kB / 444.1 MB, free: 8.539 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.239e-05/0.5283, allocations: 117.8 kB / 444.2 MB, free: 8.414 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 2.736e-06/0.5283, allocations: 0 / 444.2 MB, free: 8.414 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 9.743e-05/0.5284, allocations: 39.06 kB / 444.2 MB, free: 8.371 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.5285, allocations: 51.41 kB / 444.3 MB, free: 8.309 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.5287, allocations: 169.8 kB / 444.4 MB, free: 8.137 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.5287, allocations: 25.7 kB / 444.4 MB, free: 8.105 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.5289, allocations: 217.6 kB / 444.7 MB, free: 7.891 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.887e-06/0.5289, allocations: 0 / 444.7 MB, free: 7.891 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.153e-06/0.5289, allocations: 0 / 444.7 MB, free: 7.891 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.529, allocations: 322.8 kB / 445 MB, free: 7.566 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.458e-05/0.5291, allocations: 27.98 kB / 445 MB, free: 7.539 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.5293, allocations: 149.1 kB / 445.1 MB, free: 7.332 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.5294, allocations: 59.91 kB / 445.2 MB, free: 7.273 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.024e-06/0.5295, allocations: 4 kB / 445.2 MB, free: 7.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003989/0.5299, allocations: 173.8 kB / 445.4 MB, free: 7.094 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.5299, allocations: 8 kB / 445.4 MB, free: 7.086 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.5299, allocations: 4 kB / 445.4 MB, free: 7.082 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/0.53, allocations: 8 kB / 445.4 MB, free: 7.074 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000227/0.5302, allocations: 39.91 kB / 445.4 MB, free: 7.035 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.558e-05/0.5302, allocations: 11.94 kB / 445.5 MB, free: 7.023 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.5304, allocations: 15.84 kB / 445.5 MB, free: 7.008 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.017e-05/0.5304, allocations: 8 kB / 445.5 MB, free: 7 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.0001146/0.5305, allocations: 196.2 kB / 445.7 MB, free: 6.801 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001038/0.5306, allocations: 138.5 kB / 445.8 MB, free: 6.652 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.779e-05/0.5307, allocations: 123.5 kB / 445.9 MB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.611e-05/0.5308, allocations: 120.9 kB / 446 MB, free: 6.402 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.289e-05/0.5309, allocations: 176.3 kB / 446.2 MB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.891e-05/0.531, allocations: 184.2 kB / 446.4 MB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.537e-05/0.531, allocations: 180.3 kB / 446.6 MB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002683/0.5313, allocations: 397.8 kB / 447 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.4e-05/0.5314, allocations: 112.8 kB / 447.1 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.284e-05/0.5314, allocations: 105 kB / 447.2 MB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.018e-05/0.5315, allocations: 180.2 kB / 447.3 MB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.976e-05/0.5316, allocations: 184.2 kB / 447.5 MB, free: 4.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.744e-05/0.5317, allocations: 180.3 kB / 447.7 MB, free: 4.637 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.799e-05/0.5317, allocations: 180.3 kB / 447.9 MB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001792/0.5319, allocations: 315.6 kB / 448.2 MB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.532, allocations: 186 kB / 448.4 MB, free: 3.914 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.901e-05/0.5321, allocations: 192.1 kB / 448.6 MB, free: 3.719 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.5323, allocations: 105 kB / 448.7 MB, free: 3.609 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.504e-05/0.5324, allocations: 180.3 kB / 448.8 MB, free: 3.426 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.142e-05/0.5324, allocations: 108.9 kB / 448.9 MB, free: 3.312 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001542/0.5326, allocations: 127.4 kB / 449.1 MB, free: 3.188 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5326, allocations: 0 / 449.1 MB, free: 3.188 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003899/0.533, allocations: 8 kB / 449.1 MB, free: 3.18 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.0008402/0.5338, allocations: 0.8892 MB / 450 MB, free: 2.289 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002052/0.5341, allocations: 60.98 kB / 450 MB, free: 2.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.5341, allocations: 8.062 kB / 450 MB, free: 2.223 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.786e-06/0.5341, allocations: 4 kB / 450 MB, free: 2.219 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.5345, allocations: 0.5224 MB / 450.6 MB, free: 1.691 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006491/0.5351, allocations: 263.3 kB / 450.8 MB, free: 1.387 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.5354, allocations: 0.7084 MB / 451.5 MB, free: 0.6523 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.85e-05/0.5355, allocations: 23.44 kB / 451.5 MB, free: 0.6289 MB / 378.7 MB Notification: Performance of SimCode: time 8.02e-07/0.5356, allocations: 0 / 451.5 MB, free: 0.6289 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_Test15CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15InitializeParameter.cpp:27:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp8; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15InitializeParameter.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_Test15CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15Initialize.cpp:96:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp4; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15Initialize.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_Test15Initialize.cpp:377:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp6; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15Initialize.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_Test15CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15.cpp:606:16: error: use of undeclared identifier 'tmp0' _fileName_ = tmp0; ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15FMU.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_Test15CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15CalcHelperMain.o] Error 1