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.001576/0.001575, allocations: 185.5 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.96/1.96, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001615/0.001615, allocations: 91.72 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.6071/0.6071, allocations: 43.56 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004695/0.0004694, allocations: 16 kB / 431.5 MB, free: 6.062 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1423, allocations: 58.85 MB / 490.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4594/0.6018, allocations: 87.47 MB / 0.5643 GB, free: 15.04 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000293/0.6021, allocations: 75.97 kB / 0.5643 GB, free: 14.96 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01981/0.622, allocations: 4.604 MB / 0.5688 GB, free: 10.39 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.622, allocations: 0 / 0.5688 GB, free: 10.39 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.7e-05/0.622, allocations: 4 kB / 0.5688 GB, free: 10.38 MB / 394.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.0006431/0.6227, allocations: 403.3 kB / 0.5692 GB, free: 9.945 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.6228, allocations: 12.58 kB / 0.5692 GB, free: 9.934 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.985e-05/0.6228, allocations: 31.94 kB / 0.5692 GB, free: 9.895 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.581e-05/0.6229, allocations: 15.33 kB / 0.5693 GB, free: 9.883 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002938/0.6232, allocations: 198.8 kB / 0.5695 GB, free: 9.648 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.6232, allocations: 4 kB / 0.5695 GB, free: 9.645 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.628e-05/0.6232, allocations: 4 kB / 0.5695 GB, free: 9.641 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003162/0.6236, allocations: 79.33 kB / 0.5695 GB, free: 9.551 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.6236, allocations: 0 / 0.5695 GB, free: 9.551 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.6236, allocations: 1.594 kB / 0.5695 GB, free: 9.551 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.6236, allocations: 4 kB / 0.5695 GB, free: 9.547 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002537/0.6239, allocations: 47.95 kB / 0.5696 GB, free: 9.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000642/0.6246, allocations: 308.8 kB / 0.5699 GB, free: 9.148 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002137/0.6248, allocations: 62.48 kB / 0.5699 GB, free: 9.078 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.221e-05/0.6248, allocations: 0 / 0.5699 GB, free: 9.078 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.6249, allocations: 34.03 kB / 0.57 GB, free: 9.039 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.503e-06/0.6249, allocations: 0 / 0.57 GB, free: 9.039 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.001355/0.6263, allocations: 265.5 kB / 0.5702 GB, free: 8.773 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.563e-05/0.6264, allocations: 81.11 kB / 0.5703 GB, free: 8.676 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.6266, allocations: 130.7 kB / 0.5704 GB, free: 8.539 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.6266, allocations: 25.7 kB / 0.5705 GB, free: 8.508 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.592e-05/0.6267, allocations: 162.5 kB / 0.5706 GB, free: 8.348 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.234e-05/0.6268, allocations: 23.66 kB / 0.5706 GB, free: 8.324 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.336e-06/0.6268, allocations: 0 / 0.5706 GB, free: 8.324 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.6269, allocations: 319.1 kB / 0.5709 GB, free: 8.004 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002342/0.6272, allocations: 43.97 kB / 0.571 GB, free: 7.961 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000285/0.6275, allocations: 61.69 kB / 0.571 GB, free: 7.895 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002408/0.6278, allocations: 48.59 kB / 0.5711 GB, free: 7.848 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.6278, allocations: 4.031 kB / 0.5711 GB, free: 7.844 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000566/0.6283, allocations: 141.6 kB / 0.5712 GB, free: 7.699 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.6284, allocations: 8 kB / 0.5712 GB, free: 7.691 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.6284, allocations: 3.938 kB / 0.5712 GB, free: 7.691 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.6284, allocations: 3.953 kB / 0.5712 GB, free: 7.688 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002083/0.6286, allocations: 23.98 kB / 0.5713 GB, free: 7.664 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.6287, allocations: 320 / 0.5713 GB, free: 7.664 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.6288, allocations: 19.98 kB / 0.5713 GB, free: 7.645 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.6288, allocations: 0 / 0.5713 GB, free: 7.645 MB / 394.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 (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 0.0001422/0.629, allocations: 125.8 kB / 0.5714 GB, free: 7.512 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.703e-05/0.6291, allocations: 7.906 kB / 0.5714 GB, free: 7.504 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006555/0.6297, allocations: 162.2 kB / 0.5716 GB, free: 7.34 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.6297, allocations: 7.891 kB / 0.5716 GB, free: 7.332 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.6298, allocations: 0 / 0.5716 GB, free: 7.332 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.6298, allocations: 0 / 0.5716 GB, free: 7.332 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009665/0.6307, allocations: 434.3 kB / 0.572 GB, free: 6.852 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.6308, allocations: 0 / 0.572 GB, free: 6.852 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/0.631, allocations: 19.98 kB / 0.572 GB, free: 6.832 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-06/0.631, allocations: 7.953 kB / 0.572 GB, free: 6.824 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.631, allocations: 8 kB / 0.572 GB, free: 6.816 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.631, allocations: 0 / 0.572 GB, free: 6.816 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.631, allocations: 0 / 0.572 GB, free: 6.816 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000649/0.6317, allocations: 235.4 kB / 0.5722 GB, free: 6.57 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.993e-05/0.6318, allocations: 77.11 kB / 0.5723 GB, free: 6.477 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.37e-05/0.6318, allocations: 12.69 kB / 0.5723 GB, free: 6.465 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.632, allocations: 12 kB / 0.5723 GB, free: 6.453 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.648e-05/0.6321, allocations: 7.984 kB / 0.5723 GB, free: 6.445 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.6321, allocations: 7.938 kB / 0.5724 GB, free: 6.438 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000145/0.6323, allocations: 120.4 kB / 0.5725 GB, free: 6.32 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.6323, allocations: 0 / 0.5725 GB, free: 6.32 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000375/0.6327, allocations: 35.94 kB / 0.5725 GB, free: 6.285 MB / 394.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.002189/0.6349, allocations: 1.117 MB / 0.5736 GB, free: 5.25 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006761/0.6356, allocations: 111.8 kB / 0.5737 GB, free: 5.141 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.742e-06/0.6356, allocations: 4 kB / 0.5737 GB, free: 5.137 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002518/0.6359, allocations: 51.97 kB / 0.5738 GB, free: 5.086 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.6362, allocations: 19.94 kB / 0.5738 GB, free: 5.066 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002035/0.6383, allocations: 0.7252 MB / 0.5745 GB, free: 4.293 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.6387, allocations: 0.7043 MB / 0.5752 GB, free: 3.562 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.6388, allocations: 31.42 kB / 0.5752 GB, free: 3.531 MB / 394.7 MB Notification: Performance of SimCode: time 1.062e-06/0.6388, allocations: 0 / 0.5752 GB, free: 3.531 MB / 394.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=6 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/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/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_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test31CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test31CalcHelperMain.o] Error 1