Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.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.CombiTable1Ds.Test23,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.364/2.364, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.219e-05/2.23e-05, allocations: 4 kB / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3356, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1439/0.4795, allocations: 80.47 MB / 438.6 MB, free: 14.27 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000272/0.4799, allocations: 67.97 kB / 438.7 MB, free: 14.21 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01383/0.4937, allocations: 3.202 MB / 441.9 MB, free: 11 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4938, allocations: 0 / 441.9 MB, free: 11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.378e-05/0.4938, allocations: 4 kB / 441.9 MB, free: 11 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004954/0.4943, allocations: 392.1 kB / 442.2 MB, free: 10.56 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.4944, allocations: 8.031 kB / 442.3 MB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.917e-05/0.4944, allocations: 15.86 kB / 442.3 MB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.4947, allocations: 183 kB / 442.4 MB, free: 10.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.113e-06/0.4947, allocations: 0 / 442.4 MB, free: 10.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.4947, allocations: 0 / 442.4 MB, free: 10.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.85e-05/0.4948, allocations: 12 kB / 442.5 MB, free: 10.31 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.495, allocations: 57.47 kB / 442.5 MB, free: 10.24 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.495, allocations: 3.906 kB / 442.5 MB, free: 10.24 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.495, allocations: 0 / 442.5 MB, free: 10.24 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.495, allocations: 3.953 kB / 442.5 MB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003766/0.4954, allocations: 253.5 kB / 442.8 MB, free: 9.949 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002145/0.4957, allocations: 30.58 kB / 442.8 MB, free: 9.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.471e-05/0.4957, allocations: 12.94 kB / 442.8 MB, free: 9.895 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.4957, allocations: 4 kB / 442.8 MB, free: 9.891 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.4958, allocations: 38.56 kB / 442.9 MB, free: 9.844 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.914e-06/0.4958, allocations: 0 / 442.9 MB, free: 9.844 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005045/0.4963, allocations: 101.3 kB / 443 MB, free: 9.738 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/0.4964, allocations: 81.11 kB / 443 MB, free: 9.641 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.4965, allocations: 112.9 kB / 443.1 MB, free: 9.523 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.4966, allocations: 25.7 kB / 443.2 MB, free: 9.492 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.686e-05/0.4966, allocations: 158.5 kB / 443.3 MB, free: 9.336 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.025e-05/0.4967, allocations: 19.75 kB / 443.3 MB, free: 9.316 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/0.4967, allocations: 4 kB / 443.3 MB, free: 9.312 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.4968, allocations: 314.8 kB / 443.7 MB, free: 8.996 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.081e-05/0.4969, allocations: 12 kB / 443.7 MB, free: 8.984 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.853e-05/0.4969, allocations: 25.72 kB / 443.7 MB, free: 8.953 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.261e-05/0.497, allocations: 12 kB / 443.7 MB, free: 8.941 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.497, allocations: 0 / 443.7 MB, free: 8.941 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001701/0.4972, allocations: 65.53 kB / 443.8 MB, free: 8.871 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.53e-05/0.4973, allocations: 33.7 kB / 443.8 MB, free: 8.832 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.4973, allocations: 8.016 kB / 443.8 MB, free: 8.824 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.4973, allocations: 3.938 kB / 443.8 MB, free: 8.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.4975, allocations: 19.95 kB / 443.8 MB, free: 8.801 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.4975, allocations: 0 / 443.8 MB, free: 8.801 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.935e-05/0.4976, allocations: 7.984 kB / 443.8 MB, free: 8.793 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.4976, allocations: 4 kB / 443.8 MB, free: 8.789 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 (6): * Single equations (assignments): 5 * 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 7.984e-05/0.4977, allocations: 103 kB / 443.9 MB, free: 8.684 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000146/0.4979, allocations: 65.62 kB / 444 MB, free: 8.613 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.822e-05/0.4979, allocations: 7.906 kB / 444 MB, free: 8.605 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001896/0.4981, allocations: 66.05 kB / 444.1 MB, free: 8.539 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.4981, allocations: 144 / 444.1 MB, free: 8.539 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/0.4982, allocations: 3.984 kB / 444.1 MB, free: 8.535 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.4982, allocations: 0 / 444.1 MB, free: 8.535 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004225/0.4986, allocations: 299.5 kB / 444.4 MB, free: 8.199 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.4986, allocations: 4 kB / 444.4 MB, free: 8.195 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.4987, allocations: 16.06 kB / 444.4 MB, free: 8.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.135e-05/0.4988, allocations: 11.94 kB / 444.4 MB, free: 8.168 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.4988, allocations: 0 / 444.4 MB, free: 8.168 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.4988, allocations: 0 / 444.4 MB, free: 8.168 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.4988, allocations: 0 / 444.4 MB, free: 8.168 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002045/0.499, allocations: 151.5 kB / 444.6 MB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.684e-05/0.4991, allocations: 85.02 kB / 444.6 MB, free: 7.902 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.4991, allocations: 3.953 kB / 444.6 MB, free: 7.898 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.4993, allocations: 11.98 kB / 444.7 MB, free: 7.887 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.773e-05/0.4993, allocations: 8 kB / 444.7 MB, free: 7.879 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.4994, allocations: 0 / 444.7 MB, free: 7.879 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.964e-05/0.4995, allocations: 99.2 kB / 444.8 MB, free: 7.781 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.4995, allocations: 0 / 444.8 MB, free: 7.781 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003653/0.4999, allocations: 27.98 kB / 444.8 MB, free: 7.754 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 (5): * Single equations (assignments): 5 * 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.001349/0.5012, allocations: 0.9052 MB / 445.7 MB, free: 6.867 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002282/0.5015, allocations: 87.34 kB / 445.8 MB, free: 6.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.5015, allocations: 0 / 445.8 MB, free: 6.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.585e-05/0.5016, allocations: 15.98 kB / 445.8 MB, free: 6.754 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.5019, allocations: 11.89 kB / 445.8 MB, free: 6.742 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007984/0.5027, allocations: 171.3 kB / 446 MB, free: 6.527 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.503, allocations: 0.6924 MB / 446.7 MB, free: 5.809 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.873e-05/0.5031, allocations: 23.42 kB / 446.7 MB, free: 5.785 MB / 378.7 MB Notification: Performance of SimCode: time 1.012e-06/0.5031, allocations: 0 / 446.7 MB, free: 5.785 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_CombiTable1Ds_Test23CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23InitializeParameter.cpp:35:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp22; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23InitializeParameter.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.txt", tmp22); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23Initialize.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.txt", tmp9); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23Initialize.cpp:261:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp16; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23Initialize.cpp:262:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp16); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23.cpp:712:24: error: use of undeclared identifier 'tmp4' _t_new_P_fileName_ = tmp4; ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23FMU.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_CombiTable1Ds_Test23CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23CalcHelperMain.o] Error 1