Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test11.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test11,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.953/1.953, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004427/0.0004427, allocations: 8 kB / 282.6 MB, free: 9.602 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3425, allocations: 48.71 MB / 331.3 MB, free: 6.5 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test11): time 0.002197/0.3448, allocations: 1.226 MB / 332.5 MB, free: 5.898 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00144/0.3462, allocations: 0.8363 MB / 333.3 MB, free: 5.301 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.426e-05/0.3463, allocations: 0.9688 kB / 333.3 MB, free: 5.301 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001815/0.3465, allocations: 11.09 kB / 333.4 MB, free: 5.297 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000178/0.3467, allocations: 35.91 kB / 333.4 MB, free: 5.273 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001339/0.3469, allocations: 23.44 kB / 333.4 MB, free: 5.266 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.347, allocations: 41.97 kB / 333.5 MB, free: 5.242 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.649e-05/0.3471, allocations: 20.05 kB / 333.5 MB, free: 5.23 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.832e-05/0.3472, allocations: 15.16 kB / 333.5 MB, free: 5.227 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.3474, allocations: 26.66 kB / 333.5 MB, free: 5.215 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.3474, allocations: 5.125 kB / 333.5 MB, free: 5.211 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.3475, allocations: 35.62 kB / 333.6 MB, free: 5.199 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.349e-05/0.3476, allocations: 4.5 kB / 333.6 MB, free: 5.199 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.653e-05/0.3476, allocations: 32.23 kB / 333.6 MB, free: 5.164 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.3478, allocations: 69.02 kB / 333.7 MB, free: 5.145 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3478, allocations: 0 / 333.7 MB, free: 5.145 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3478, allocations: 4 kB / 333.7 MB, free: 5.141 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.3478, allocations: 0 / 333.7 MB, free: 5.141 MB / 266.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.0005009/0.3483, allocations: 398.2 kB / 334.1 MB, free: 4.734 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.3484, allocations: 9.906 kB / 334.1 MB, free: 4.734 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.289e-05/0.3484, allocations: 36.77 kB / 334.1 MB, free: 4.691 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.516e-05/0.3485, allocations: 7.406 kB / 334.1 MB, free: 4.688 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.3487, allocations: 181.5 kB / 334.3 MB, free: 4.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.3487, allocations: 1.312 kB / 334.3 MB, free: 4.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.758e-05/0.3487, allocations: 6.531 kB / 334.3 MB, free: 4.477 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000241/0.349, allocations: 78.05 kB / 334.4 MB, free: 4.418 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.349, allocations: 4 kB / 334.4 MB, free: 4.414 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.3491, allocations: 1.344 kB / 334.4 MB, free: 4.414 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.3491, allocations: 0 / 334.4 MB, free: 4.414 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002318/0.3493, allocations: 44.23 kB / 334.4 MB, free: 4.406 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003778/0.3497, allocations: 287.8 kB / 334.7 MB, free: 4.113 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.3499, allocations: 56.45 kB / 334.7 MB, free: 4.074 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.3499, allocations: 1.5 kB / 334.8 MB, free: 4.074 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.35, allocations: 36.75 kB / 334.8 MB, free: 4.031 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.35, allocations: 3.938 kB / 334.8 MB, free: 4.027 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.001183/0.3512, allocations: 237.4 kB / 335 MB, free: 3.945 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.3512, allocations: 80.22 kB / 335.1 MB, free: 3.852 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.3514, allocations: 125.4 kB / 335.2 MB, free: 3.738 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.3514, allocations: 26.73 kB / 335.2 MB, free: 3.707 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.111e-05/0.3514, allocations: 162.4 kB / 335.4 MB, free: 3.551 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.3515, allocations: 20.11 kB / 335.4 MB, free: 3.535 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.006e-06/0.3515, allocations: 4 kB / 335.4 MB, free: 3.531 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.978e-05/0.3516, allocations: 317.5 kB / 335.7 MB, free: 3.215 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002176/0.3518, allocations: 42.2 kB / 335.8 MB, free: 3.207 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002263/0.352, allocations: 62.08 kB / 335.8 MB, free: 3.18 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002302/0.3523, allocations: 68.44 kB / 335.9 MB, free: 3.141 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3523, allocations: 3.938 kB / 335.9 MB, free: 3.137 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005193/0.3528, allocations: 167.5 kB / 336.1 MB, free: 3.043 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.191e-05/0.3529, allocations: 31.05 kB / 336.1 MB, free: 3.012 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.3529, allocations: 0.6562 kB / 336.1 MB, free: 3.012 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.3529, allocations: 1.281 kB / 336.1 MB, free: 3.012 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002351/0.3531, allocations: 27.52 kB / 336.1 MB, free: 3.008 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.3532, allocations: 0 / 336.1 MB, free: 3.008 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.3533, allocations: 21.77 kB / 336.2 MB, free: 3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.3533, allocations: 2.25 kB / 336.2 MB, free: 3 MB / 266.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 () * Number of clocked 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.205e-05/0.3534, allocations: 113.9 kB / 336.3 MB, free: 2.883 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.208e-05/0.3535, allocations: 15.64 kB / 336.3 MB, free: 2.871 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005416/0.354, allocations: 138.6 kB / 336.4 MB, free: 2.812 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.354, allocations: 4 kB / 336.4 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.3541, allocations: 2.359 kB / 336.4 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.3541, allocations: 0 / 336.4 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000756/0.3548, allocations: 402.4 kB / 336.8 MB, free: 2.469 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.3549, allocations: 1.125 kB / 336.8 MB, free: 2.469 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.355, allocations: 21.77 kB / 336.8 MB, free: 2.469 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.355, allocations: 0.75 kB / 336.8 MB, free: 2.469 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.3551, allocations: 1.094 kB / 336.8 MB, free: 2.469 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3551, allocations: 1.094 kB / 336.8 MB, free: 2.469 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.3551, allocations: 4.797 kB / 336.9 MB, free: 2.465 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005023/0.3556, allocations: 229.1 kB / 337.1 MB, free: 2.305 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.59e-05/0.3556, allocations: 83.53 kB / 337.2 MB, free: 2.207 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/0.3557, allocations: 1.938 kB / 337.2 MB, free: 2.207 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.3558, allocations: 17.19 kB / 337.2 MB, free: 2.203 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.3559, allocations: 14.31 kB / 337.2 MB, free: 2.195 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.3559, allocations: 2.156 kB / 337.2 MB, free: 2.195 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.043e-05/0.356, allocations: 96.7 kB / 337.3 MB, free: 2.113 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.356, allocations: 4 kB / 337.3 MB, free: 2.109 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003561/0.3564, allocations: 33.5 kB / 337.3 MB, free: 2.098 MB / 266.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 () * Number of clocked 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.001496/0.3579, allocations: 0.976 MB / 338.3 MB, free: 1.309 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005389/0.3585, allocations: 156.2 kB / 338.5 MB, free: 1.223 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.3585, allocations: 1.125 kB / 338.5 MB, free: 1.223 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002251/0.3587, allocations: 44.3 kB / 338.5 MB, free: 1.219 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.359, allocations: 15.14 kB / 338.5 MB, free: 1.211 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007375/0.3598, allocations: 427.1 kB / 338.9 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000145/0.3599, allocations: 0.6974 MB / 339.6 MB, free: 100 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.663e-05/0.36, allocations: 26.89 kB / 339.6 MB, free: 84 kB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.36, allocations: 0 / 339.6 MB, free: 84 kB / 266.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=5 -DSUNDIALS_MINOR_VERSION=4 -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_1_cpp_ModelicaTest_Tables_CombiTable2D_Test11CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test11CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test11CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test11InitializeParameter.cpp:35:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp26; ^ ./OMCppModelicaTest_3_2_1_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.1/Resources/Data/Tables/test_v6.mat", tmp26); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test11CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test11Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp12; ^ ./OMCppModelicaTest_3_2_1_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.1/Resources/Data/Tables/test_v6.mat", tmp12); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test11Initialize.cpp:292:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp21; ^ ./OMCppModelicaTest_3_2_1_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_1_cpp_ModelicaTest_Tables_CombiTable2D_Test11CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_1_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_1_cpp_ModelicaTest_Tables_CombiTable2D_Test11CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_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_1_cpp_ModelicaTest_Tables_CombiTable2D_Test11CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test11CalcHelperMain.o] Error 1