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/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.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.421/2.421, allocations: 235.1 MB / 243 MB, free: 15.69 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.544e-05/2.538e-05, allocations: 4 kB / 303.3 MB, free: 3.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3593, allocations: 54.87 MB / 358.1 MB, free: 15.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1487/0.5081, allocations: 80.46 MB / 438.6 MB, free: 15.06 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/0.5085, allocations: 63.97 kB / 438.7 MB, free: 15 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01322/0.5217, allocations: 3.163 MB / 441.8 MB, free: 11.83 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.5218, allocations: 0 / 441.8 MB, free: 11.83 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.5218, allocations: 4 kB / 441.8 MB, free: 11.83 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.0005335/0.5223, allocations: 408 kB / 442.2 MB, free: 11.38 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.5224, allocations: 8.031 kB / 442.2 MB, free: 11.37 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.775e-05/0.5225, allocations: 11.86 kB / 442.2 MB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.5227, allocations: 186.9 kB / 442.4 MB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.5227, allocations: 0 / 442.4 MB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.736e-05/0.5228, allocations: 4 kB / 442.4 MB, free: 11.13 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.934e-05/0.5229, allocations: 16 kB / 442.4 MB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.523, allocations: 65.45 kB / 442.5 MB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.5231, allocations: 0 / 442.5 MB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.5231, allocations: 7.891 kB / 442.5 MB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.5231, allocations: 0 / 442.5 MB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004048/0.5235, allocations: 261.3 kB / 442.8 MB, free: 10.74 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.19e-05/0.5236, allocations: 34.58 kB / 442.8 MB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.958e-05/0.5237, allocations: 12.86 kB / 442.8 MB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.5237, allocations: 0 / 442.8 MB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.5238, allocations: 38.52 kB / 442.9 MB, free: 10.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.332e-06/0.5238, allocations: 0 / 442.9 MB, free: 10.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006445/0.5244, allocations: 137.4 kB / 443 MB, free: 10.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.189e-05/0.5245, allocations: 81.11 kB / 443.1 MB, free: 10.4 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.5246, allocations: 105 kB / 443.2 MB, free: 10.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.5247, allocations: 25.7 kB / 443.2 MB, free: 10.26 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.226e-05/0.5248, allocations: 162.5 kB / 443.4 MB, free: 10.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.5248, allocations: 19.66 kB / 443.4 MB, free: 10.08 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.244e-06/0.5248, allocations: 0 / 443.4 MB, free: 10.08 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.525, allocations: 322.8 kB / 443.7 MB, free: 9.754 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.405e-05/0.525, allocations: 12 kB / 443.7 MB, free: 9.742 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.024e-05/0.5251, allocations: 33.7 kB / 443.7 MB, free: 9.703 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.832e-05/0.5252, allocations: 24 kB / 443.8 MB, free: 9.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.5252, allocations: 0 / 443.8 MB, free: 9.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001966/0.5254, allocations: 69.69 kB / 443.8 MB, free: 9.605 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.862e-05/0.5255, allocations: 37.66 kB / 443.9 MB, free: 9.562 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.5255, allocations: 3.938 kB / 443.9 MB, free: 9.559 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.5255, allocations: 0 / 443.9 MB, free: 9.559 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/0.5257, allocations: 32 kB / 443.9 MB, free: 9.527 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.5258, allocations: 0 / 443.9 MB, free: 9.527 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.5259, allocations: 8 kB / 443.9 MB, free: 9.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.5259, allocations: 7.984 kB / 443.9 MB, free: 9.512 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 9.25e-05/0.526, allocations: 105 kB / 444 MB, free: 9.402 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001796/0.5262, allocations: 73.55 kB / 444.1 MB, free: 9.324 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.265e-05/0.5263, allocations: 15.84 kB / 444.1 MB, free: 9.309 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002381/0.5265, allocations: 78.44 kB / 444.2 MB, free: 9.223 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.5265, allocations: 11.97 kB / 444.2 MB, free: 9.211 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.5266, allocations: 4 kB / 444.2 MB, free: 9.207 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.748e-06/0.5266, allocations: 0 / 444.2 MB, free: 9.207 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004888/0.5271, allocations: 315.5 kB / 444.5 MB, free: 8.855 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.5271, allocations: 4 kB / 444.5 MB, free: 8.852 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001716/0.5273, allocations: 23.98 kB / 444.5 MB, free: 8.828 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.5273, allocations: 0 / 444.5 MB, free: 8.828 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.5273, allocations: 4 kB / 444.5 MB, free: 8.824 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.5273, allocations: 0 / 444.5 MB, free: 8.824 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.5273, allocations: 0 / 444.5 MB, free: 8.824 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.5276, allocations: 187.3 kB / 444.7 MB, free: 8.625 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.903e-05/0.5276, allocations: 81.11 kB / 444.8 MB, free: 8.527 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.5277, allocations: 4 kB / 444.8 MB, free: 8.523 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/0.5278, allocations: 15.98 kB / 444.8 MB, free: 8.508 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.93e-05/0.5279, allocations: 7.984 kB / 444.8 MB, free: 8.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.5279, allocations: 0 / 444.8 MB, free: 8.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.765e-05/0.528, allocations: 87.28 kB / 444.9 MB, free: 8.414 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.528, allocations: 0 / 444.9 MB, free: 8.414 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000372/0.5284, allocations: 39.92 kB / 444.9 MB, free: 8.375 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.001423/0.5298, allocations: 0.9269 MB / 445.9 MB, free: 7.473 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002376/0.5301, allocations: 99.39 kB / 446 MB, free: 7.363 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.5301, allocations: 0 / 446 MB, free: 7.363 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.232e-05/0.5302, allocations: 27.94 kB / 446 MB, free: 7.336 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.5305, allocations: 7.984 kB / 446 MB, free: 7.328 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006386/0.5311, allocations: 183 kB / 446.2 MB, free: 7.105 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.5314, allocations: 0.6931 MB / 446.9 MB, free: 6.387 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.5316, allocations: 23.44 kB / 446.9 MB, free: 6.363 MB / 378.7 MB Notification: Performance of SimCode: time 6.92e-07/0.5316, allocations: 0 / 446.9 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=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_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/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/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/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_Test11CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test11CalcHelperMain.o] Error 1