Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test31,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test31,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_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.001631/0.001631, allocations: 188.4 kB / 16.41 MB, free: 5.723 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.994/1.994, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001273/0.001272, allocations: 91.23 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.5899/0.5899, allocations: 43.55 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006829/0.0006829, allocations: 16 kB / 431.5 MB, free: 6.082 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1461, allocations: 58.85 MB / 490.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6565/0.8027, allocations: 87.09 MB / 0.5639 GB, free: 15.56 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004167/0.8032, allocations: 71.95 kB / 0.5639 GB, free: 15.49 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02991/0.8332, allocations: 4.483 MB / 0.5683 GB, free: 11.04 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.8332, allocations: 0 / 0.5683 GB, free: 11.04 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.933e-05/0.8333, allocations: 4 kB / 0.5683 GB, free: 11.03 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.0009687/0.8343, allocations: 406.5 kB / 0.5687 GB, free: 10.59 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.632e-05/0.8344, allocations: 8.031 kB / 0.5687 GB, free: 10.59 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.431e-05/0.8345, allocations: 30.56 kB / 0.5687 GB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.342e-05/0.8345, allocations: 15.89 kB / 0.5688 GB, free: 10.54 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003868/0.8349, allocations: 190.9 kB / 0.5689 GB, free: 10.31 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.835, allocations: 4 kB / 0.5689 GB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.906e-05/0.835, allocations: 4 kB / 0.569 GB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003897/0.8354, allocations: 79.38 kB / 0.569 GB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.8355, allocations: 0 / 0.569 GB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.8355, allocations: 2.344 kB / 0.569 GB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.8355, allocations: 0 / 0.569 GB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004162/0.836, allocations: 47.97 kB / 0.5691 GB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007425/0.8367, allocations: 296.7 kB / 0.5694 GB, free: 9.824 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003066/0.8371, allocations: 50.56 kB / 0.5694 GB, free: 9.766 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.089e-05/0.8371, allocations: 4.078 kB / 0.5694 GB, free: 9.762 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.886e-05/0.8372, allocations: 30.56 kB / 0.5694 GB, free: 9.723 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 4.047e-06/0.8372, allocations: 0 / 0.5694 GB, free: 9.723 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.002055/0.8393, allocations: 241.1 kB / 0.5697 GB, free: 9.48 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.553e-05/0.8395, allocations: 77.11 kB / 0.5697 GB, free: 9.387 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003326/0.8398, allocations: 131.9 kB / 0.5699 GB, free: 9.25 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.565e-05/0.8399, allocations: 29.7 kB / 0.5699 GB, free: 9.215 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.84, allocations: 154.6 kB / 0.57 GB, free: 9.062 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.915e-05/0.8401, allocations: 31.58 kB / 0.5701 GB, free: 9.031 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.124e-05/0.8401, allocations: 3.938 kB / 0.5701 GB, free: 9.027 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001897/0.8403, allocations: 315.8 kB / 0.5704 GB, free: 8.711 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000385/0.8407, allocations: 43.97 kB / 0.5704 GB, free: 8.668 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003503/0.8411, allocations: 53.69 kB / 0.5705 GB, free: 8.609 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003427/0.8415, allocations: 40.05 kB / 0.5705 GB, free: 8.57 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.8415, allocations: 0 / 0.5705 GB, free: 8.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0008291/0.8424, allocations: 129.6 kB / 0.5706 GB, free: 8.438 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/0.8424, allocations: 4 kB / 0.5706 GB, free: 8.434 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/0.8424, allocations: 6.016 kB / 0.5706 GB, free: 8.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.8425, allocations: 0 / 0.5706 GB, free: 8.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003152/0.8428, allocations: 35.92 kB / 0.5707 GB, free: 8.395 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.627e-06/0.8429, allocations: 0 / 0.5707 GB, free: 8.395 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.8431, allocations: 11.98 kB / 0.5707 GB, free: 8.383 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.8431, allocations: 7.938 kB / 0.5707 GB, free: 8.379 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.0001969/0.8433, allocations: 117.8 kB / 0.5708 GB, free: 8.254 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.127e-05/0.8434, allocations: 7.906 kB / 0.5708 GB, free: 8.246 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009186/0.8444, allocations: 138.3 kB / 0.571 GB, free: 8.109 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.8444, allocations: 3.953 kB / 0.571 GB, free: 8.105 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/0.8445, allocations: 4 kB / 0.571 GB, free: 8.102 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.8445, allocations: 3.984 kB / 0.571 GB, free: 8.098 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001319/0.8458, allocations: 406.8 kB / 0.5714 GB, free: 7.645 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.8459, allocations: 0 / 0.5714 GB, free: 7.645 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002826/0.8462, allocations: 23.98 kB / 0.5714 GB, free: 7.621 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.316e-05/0.8462, allocations: 3.953 kB / 0.5714 GB, free: 7.617 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.8463, allocations: 0 / 0.5714 GB, free: 7.617 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.792e-06/0.8463, allocations: 80 / 0.5714 GB, free: 7.617 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.947e-06/0.8463, allocations: 3.984 kB / 0.5714 GB, free: 7.613 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009281/0.8472, allocations: 235.6 kB / 0.5716 GB, free: 7.367 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.8474, allocations: 85.02 kB / 0.5717 GB, free: 7.266 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.188e-05/0.8475, allocations: 11.94 kB / 0.5717 GB, free: 7.254 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002882/0.8478, allocations: 17.58 kB / 0.5717 GB, free: 7.238 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.744e-05/0.8479, allocations: 7.984 kB / 0.5717 GB, free: 7.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.8479, allocations: 0 / 0.5717 GB, free: 7.23 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002216/0.8482, allocations: 111.2 kB / 0.5718 GB, free: 7.121 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.867e-06/0.8482, allocations: 4 kB / 0.5718 GB, free: 7.117 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006405/0.8488, allocations: 35.86 kB / 0.5719 GB, free: 7.082 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.003441/0.8523, allocations: 1.099 MB / 0.5729 GB, free: 6.059 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009166/0.8533, allocations: 95.88 kB / 0.573 GB, free: 5.965 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.635e-06/0.8534, allocations: 4 kB / 0.573 GB, free: 5.961 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003717/0.8538, allocations: 55.91 kB / 0.5731 GB, free: 5.906 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004492/0.8543, allocations: 19.88 kB / 0.5731 GB, free: 5.887 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003095/0.8574, allocations: 0.6786 MB / 0.5738 GB, free: 5.164 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004814/0.8579, allocations: 0.6965 MB / 0.5744 GB, free: 4.441 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.8581, allocations: 23.42 kB / 0.5745 GB, free: 4.418 MB / 394.7 MB Notification: Performance of SimCode: time 1.753e-06/0.8582, allocations: 4 kB / 0.5745 GB, free: 4.414 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_CombiTable2D_Test31CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test31CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test31CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test31InitializeParameter.cpp:40:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp30; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test31InitializeParameter.cpp:41: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_CombiTable2D_Test31CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test31Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp12; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_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_CombiTable2D_Test31Initialize.cpp:277:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp20; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test31Initialize.cpp:278: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_CombiTable2D_Test31CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test31.cpp:758:24: error: use of undeclared identifier 'tmp6' _t_new_P_fileName_ = tmp6; ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test31CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_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_CombiTable2D_Test31CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test31CalcHelperMain.o] Error 1