Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002332/0.002331, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.126/2.126, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00119/0.00119, allocations: 93.55 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3191/0.3191, allocations: 43.48 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.532e-05/2.547e-05, allocations: 4 kB / 418.3 MB, free: 40.96 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4237/0.4238, allocations: 58.86 MB / 477.2 MB, free: 5.16 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2051/0.6289, allocations: 86.72 MB / 0.5507 GB, free: 12.5 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004243/0.6294, allocations: 83.45 kB / 0.5508 GB, free: 12.42 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02563/0.6551, allocations: 4.29 MB / 0.5549 GB, free: 8.117 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.6552, allocations: 4 kB / 0.555 GB, free: 8.113 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.966e-05/0.6552, allocations: 4 kB / 0.555 GB, free: 8.109 MB / 395.1 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.0006153/0.6558, allocations: 382.9 kB / 0.5553 GB, free: 7.691 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/0.6559, allocations: 8.031 kB / 0.5553 GB, free: 7.684 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.605e-05/0.656, allocations: 7.953 kB / 0.5553 GB, free: 7.676 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000324/0.6563, allocations: 198.8 kB / 0.5555 GB, free: 7.441 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.6563, allocations: 0 / 0.5555 GB, free: 7.441 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.637e-05/0.6564, allocations: 4 kB / 0.5555 GB, free: 7.438 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001273/0.6565, allocations: 27.98 kB / 0.5556 GB, free: 7.41 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.6567, allocations: 55.41 kB / 0.5556 GB, free: 7.344 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.6567, allocations: 3.938 kB / 0.5556 GB, free: 7.34 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.6567, allocations: 0 / 0.5556 GB, free: 7.34 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.6567, allocations: 0 / 0.5556 GB, free: 7.34 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006213/0.6574, allocations: 293.2 kB / 0.5559 GB, free: 7.016 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.6575, allocations: 34.58 kB / 0.5559 GB, free: 6.973 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.933e-05/0.6576, allocations: 20.94 kB / 0.5559 GB, free: 6.949 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.6576, allocations: 0 / 0.5559 GB, free: 6.949 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.6576, allocations: 30.56 kB / 0.556 GB, free: 6.91 MB / 395.1 MB Notification: Performance of pre-optimization done (n=4): time 1.613e-06/0.6576, allocations: 4 kB / 0.556 GB, free: 6.906 MB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007947/0.6584, allocations: 153.3 kB / 0.5561 GB, free: 6.75 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.051e-05/0.6585, allocations: 81.11 kB / 0.5562 GB, free: 6.652 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001923/0.6588, allocations: 125.2 kB / 0.5563 GB, free: 6.52 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.6588, allocations: 29.7 kB / 0.5564 GB, free: 6.484 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.345e-05/0.6589, allocations: 158.5 kB / 0.5565 GB, free: 6.328 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.379e-05/0.6589, allocations: 27.62 kB / 0.5565 GB, free: 6.301 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.033e-06/0.659, allocations: 0 / 0.5565 GB, free: 6.301 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.6591, allocations: 314.8 kB / 0.5568 GB, free: 5.984 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.722e-05/0.6592, allocations: 20.25 kB / 0.5568 GB, free: 5.965 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.727e-05/0.6593, allocations: 33.7 kB / 0.5569 GB, free: 5.926 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.041e-05/0.6594, allocations: 24.22 kB / 0.5569 GB, free: 5.902 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.6594, allocations: 0 / 0.5569 GB, free: 5.902 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002244/0.6596, allocations: 81.69 kB / 0.557 GB, free: 5.816 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.6597, allocations: 14.22 kB / 0.557 GB, free: 5.805 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.6597, allocations: 0 / 0.557 GB, free: 5.805 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/0.6597, allocations: 3.984 kB / 0.557 GB, free: 5.801 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002407/0.66, allocations: 19.98 kB / 0.557 GB, free: 5.781 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.66, allocations: 7.953 kB / 0.557 GB, free: 5.773 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/0.6601, allocations: 11.98 kB / 0.557 GB, free: 5.762 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.6602, allocations: 8 kB / 0.557 GB, free: 5.754 MB / 395.1 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 (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 prepare postOptimizeDAE: time 9.876e-05/0.6603, allocations: 108.9 kB / 0.5571 GB, free: 5.641 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002468/0.6605, allocations: 89.5 kB / 0.5572 GB, free: 5.547 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.303e-05/0.6606, allocations: 7.906 kB / 0.5572 GB, free: 5.539 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000284/0.6609, allocations: 98.23 kB / 0.5573 GB, free: 5.441 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.6609, allocations: 0 / 0.5573 GB, free: 5.441 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.6609, allocations: 0 / 0.5573 GB, free: 5.441 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.473e-06/0.6609, allocations: 4 kB / 0.5573 GB, free: 5.438 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005942/0.6615, allocations: 351 kB / 0.5577 GB, free: 5.051 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.6616, allocations: 0 / 0.5577 GB, free: 5.051 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002035/0.6618, allocations: 23.98 kB / 0.5577 GB, free: 5.027 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.135e-05/0.6618, allocations: 3.953 kB / 0.5577 GB, free: 5.023 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.6619, allocations: 7.984 kB / 0.5577 GB, free: 5.016 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.6619, allocations: 0 / 0.5577 GB, free: 5.016 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.6619, allocations: 0 / 0.5577 GB, free: 5.016 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002728/0.6622, allocations: 179.8 kB / 0.5579 GB, free: 4.824 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.158e-05/0.6623, allocations: 93 kB / 0.558 GB, free: 4.715 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.224e-05/0.6623, allocations: 7.891 kB / 0.558 GB, free: 4.707 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.6625, allocations: 11.98 kB / 0.558 GB, free: 4.695 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.54e-05/0.6626, allocations: 7.984 kB / 0.558 GB, free: 4.688 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.6626, allocations: 0 / 0.558 GB, free: 4.688 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001228/0.6627, allocations: 107.3 kB / 0.5581 GB, free: 4.582 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6627, allocations: 4 kB / 0.5581 GB, free: 4.578 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004064/0.6632, allocations: 28 kB / 0.5581 GB, free: 4.551 MB / 395.1 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.001746/0.6649, allocations: 1.002 MB / 0.5591 GB, free: 3.562 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002698/0.6653, allocations: 47.98 kB / 0.5592 GB, free: 3.516 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.6653, allocations: 4 kB / 0.5592 GB, free: 3.512 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.6654, allocations: 27.98 kB / 0.5592 GB, free: 3.484 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.6658, allocations: 19.81 kB / 0.5592 GB, free: 3.465 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008157/0.6666, allocations: 227.2 kB / 0.5594 GB, free: 3.199 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.667, allocations: 0.7041 MB / 0.5601 GB, free: 2.469 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.6671, allocations: 27.42 kB / 0.5601 GB, free: 2.441 MB / 395.1 MB Notification: Performance of SimCode: time 1.072e-06/0.6671, allocations: 0 / 0.5601 GB, free: 2.441 MB / 395.1 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=6 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp" -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c/sundials" -I"." -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test31CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test31CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test31CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test31InitializeParameter.cpp:41:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp30; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test31InitializeParameter.cpp:42:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Resources/Data/Tables/test_utf8.txt", tmp30); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test31CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test31Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp12; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test31Initialize.cpp:96:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Resources/Data/Tables/test_utf8.txt", tmp12); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test31Initialize.cpp:278:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp20; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test31Initialize.cpp:279:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp20); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test31CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test31.cpp:763:24: error: use of undeclared identifier 'tmp6' _t_new_P_fileName_ = tmp6; ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test31CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test31FMU.cpp:11: /var/lib/jenkins1/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_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test31CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test31CalcHelperMain.o] Error 1