Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21.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.CombiTable1D.Test21,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test21,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test21",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.001538/0.001538, allocations: 185.3 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.041/2.041, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001134/0.001133, allocations: 89.3 kB / 270.9 MB, free: 8.391 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.5065/0.5065, allocations: 43.57 MB / 362.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004836/0.0004834, allocations: 12 kB / 431.5 MB, free: 5.84 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1287, allocations: 58.84 MB / 490.3 MB, free: 10.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4791/0.6078, allocations: 86.75 MB / 0.5635 GB, free: 15.64 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002611/0.6082, allocations: 75.97 kB / 0.5636 GB, free: 15.56 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02565/0.6338, allocations: 4.324 MB / 0.5678 GB, free: 11.28 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.946e-06/0.6339, allocations: 0 / 0.5678 GB, free: 11.28 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.733e-05/0.6339, allocations: 0 / 0.5678 GB, free: 11.28 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007298/0.6347, allocations: 386.9 kB / 0.5682 GB, free: 10.86 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.657e-05/0.6348, allocations: 8.031 kB / 0.5682 GB, free: 10.85 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.356e-05/0.6348, allocations: 42.56 kB / 0.5683 GB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.932e-05/0.6349, allocations: 7.344 kB / 0.5683 GB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003659/0.6353, allocations: 190.9 kB / 0.5684 GB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.6353, allocations: 3.938 kB / 0.5685 GB, free: 10.56 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.6354, allocations: 0 / 0.5685 GB, free: 10.56 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002292/0.6356, allocations: 64.53 kB / 0.5685 GB, free: 10.49 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.6356, allocations: 0 / 0.5685 GB, free: 10.49 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.6357, allocations: 3.984 kB / 0.5685 GB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.6357, allocations: 4 kB / 0.5685 GB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001577/0.6359, allocations: 29.02 kB / 0.5685 GB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005908/0.6365, allocations: 280.9 kB / 0.5688 GB, free: 10.13 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003562/0.6368, allocations: 50.55 kB / 0.5689 GB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.054e-05/0.6369, allocations: 0 / 0.5689 GB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.388e-05/0.637, allocations: 35.69 kB / 0.5689 GB, free: 10.03 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 2.204e-06/0.637, allocations: 3.938 kB / 0.5689 GB, free: 10.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.001213/0.6382, allocations: 161.7 kB / 0.5691 GB, free: 9.859 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.322e-05/0.6383, allocations: 89.05 kB / 0.5691 GB, free: 9.754 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002641/0.6386, allocations: 121 kB / 0.5693 GB, free: 9.633 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.6387, allocations: 25.7 kB / 0.5693 GB, free: 9.602 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.6388, allocations: 158.6 kB / 0.5694 GB, free: 9.445 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.379e-05/0.6389, allocations: 27.72 kB / 0.5695 GB, free: 9.418 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.799e-06/0.6389, allocations: 0 / 0.5695 GB, free: 9.418 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.6391, allocations: 310.8 kB / 0.5698 GB, free: 9.105 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002278/0.6394, allocations: 23.98 kB / 0.5698 GB, free: 9.082 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.6396, allocations: 45.64 kB / 0.5698 GB, free: 9.031 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002011/0.6398, allocations: 28.55 kB / 0.5698 GB, free: 9.004 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.6398, allocations: 3.984 kB / 0.5699 GB, free: 9 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000483/0.6403, allocations: 81.67 kB / 0.5699 GB, free: 8.914 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/0.6404, allocations: 12.03 kB / 0.5699 GB, free: 8.902 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.6404, allocations: 1.625 kB / 0.5699 GB, free: 8.902 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.6404, allocations: 0 / 0.5699 GB, free: 8.902 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.6406, allocations: 15.98 kB / 0.57 GB, free: 8.887 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.6406, allocations: 0 / 0.57 GB, free: 8.887 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.6408, allocations: 7.953 kB / 0.57 GB, free: 8.879 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.6408, allocations: 4 kB / 0.57 GB, free: 8.875 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 (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 prepare postOptimizeDAE: time 0.0001728/0.641, allocations: 129.8 kB / 0.5701 GB, free: 8.738 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.885e-05/0.6411, allocations: 7.906 kB / 0.5701 GB, free: 8.73 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005461/0.6417, allocations: 97.62 kB / 0.5702 GB, free: 8.629 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.6417, allocations: 0 / 0.5702 GB, free: 8.629 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.6417, allocations: 0 / 0.5702 GB, free: 8.629 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.6417, allocations: 0 / 0.5702 GB, free: 8.629 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.6428, allocations: 371.3 kB / 0.5705 GB, free: 8.211 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.6428, allocations: 0 / 0.5705 GB, free: 8.211 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.6429, allocations: 16 kB / 0.5706 GB, free: 8.195 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.6429, allocations: 0 / 0.5706 GB, free: 8.195 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.643, allocations: 384 / 0.5706 GB, free: 8.195 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.656e-06/0.643, allocations: 4 kB / 0.5706 GB, free: 8.191 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-05/0.643, allocations: 11.94 kB / 0.5706 GB, free: 8.18 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000486/0.6435, allocations: 188.5 kB / 0.5708 GB, free: 7.98 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.6436, allocations: 93.22 kB / 0.5708 GB, free: 7.871 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.367e-05/0.6437, allocations: 11.94 kB / 0.5709 GB, free: 7.859 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.6439, allocations: 4 kB / 0.5709 GB, free: 7.855 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.601e-05/0.6439, allocations: 7.984 kB / 0.5709 GB, free: 7.848 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.644, allocations: 7.938 kB / 0.5709 GB, free: 7.84 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001783/0.6442, allocations: 105.6 kB / 0.571 GB, free: 7.738 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.61e-07/0.6442, allocations: 0 / 0.571 GB, free: 7.738 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006125/0.6448, allocations: 31.98 kB / 0.571 GB, free: 7.707 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 (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.002846/0.6477, allocations: 1.069 MB / 0.5721 GB, free: 6.715 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004974/0.6482, allocations: 59.91 kB / 0.5721 GB, free: 6.656 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.6483, allocations: 0 / 0.5721 GB, free: 6.656 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000207/0.6485, allocations: 31.98 kB / 0.5721 GB, free: 6.625 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004094/0.6489, allocations: 15.98 kB / 0.5722 GB, free: 6.609 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.6507, allocations: 0.5726 MB / 0.5727 GB, free: 5.984 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.651, allocations: 0.6926 MB / 0.5734 GB, free: 5.266 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.6512, allocations: 23.48 kB / 0.5734 GB, free: 5.246 MB / 394.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6512, allocations: 0 / 0.5734 GB, free: 5.246 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_CombiTable1D_Test21CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test21CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test21CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test21InitializeParameter.cpp:38:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp24; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test21InitializeParameter.cpp:39:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Data/Tables/test_v7.mat", tmp24); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test21CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test21Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test21Initialize.cpp:96:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Data/Tables/test_v7.mat", tmp9); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test21Initialize.cpp:244:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp15; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test21Initialize.cpp:245:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp15); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test21CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test21.cpp:714:24: error: use of undeclared identifier 'tmp4' _t_new_P_fileName_ = tmp4; ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test21CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test21FMU.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_CombiTable1D_Test21CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test21CalcHelperMain.o] Error 1