Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.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.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test20",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.001687/0.001687, allocations: 186.3 kB / 16.4 MB, free: 5.75 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.079/2.079, 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.00108/0.001079, allocations: 92.08 kB / 270.9 MB, free: 8.375 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.546/0.546, allocations: 43.55 MB / 362.7 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005088/0.0005088, allocations: 20 kB / 431.5 MB, free: 6.078 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1385, allocations: 58.85 MB / 490.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4784/0.617, allocations: 86.63 MB / 0.5634 GB, free: 15.92 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003182/0.6174, allocations: 75.97 kB / 0.5635 GB, free: 15.84 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01886/0.6362, allocations: 4.304 MB / 0.5677 GB, free: 11.58 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.6363, allocations: 0 / 0.5677 GB, free: 11.58 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.43e-05/0.6363, allocations: 0 / 0.5677 GB, free: 11.58 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.00059/0.6369, allocations: 388.2 kB / 0.5681 GB, free: 11.16 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/0.637, allocations: 8.031 kB / 0.5681 GB, free: 11.15 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.381e-05/0.637, allocations: 34.56 kB / 0.5681 GB, free: 11.11 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.56e-05/0.6371, allocations: 12.22 kB / 0.5681 GB, free: 11.1 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002774/0.6374, allocations: 190.9 kB / 0.5683 GB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.6374, allocations: 11.92 kB / 0.5683 GB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.6375, allocations: 0 / 0.5683 GB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002483/0.6377, allocations: 63.41 kB / 0.5684 GB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.6377, allocations: 0 / 0.5684 GB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.6378, allocations: 4 kB / 0.5684 GB, free: 10.78 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.6378, allocations: 0 / 0.5684 GB, free: 10.78 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001567/0.638, allocations: 29.77 kB / 0.5684 GB, free: 10.75 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004565/0.6384, allocations: 272.9 kB / 0.5687 GB, free: 10.44 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002764/0.6387, allocations: 42.56 kB / 0.5687 GB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.6388, allocations: 4 kB / 0.5687 GB, free: 10.38 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.6388, allocations: 38.64 kB / 0.5688 GB, free: 10.34 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 2.264e-06/0.6388, allocations: 0 / 0.5688 GB, free: 10.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008598/0.6397, allocations: 161.5 kB / 0.5689 GB, free: 10.17 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.606e-05/0.6398, allocations: 81.06 kB / 0.569 GB, free: 10.07 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.64, allocations: 128 kB / 0.5691 GB, free: 9.949 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.64, allocations: 29.7 kB / 0.5691 GB, free: 9.914 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.841e-05/0.6401, allocations: 158.5 kB / 0.5693 GB, free: 9.758 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.6401, allocations: 19.73 kB / 0.5693 GB, free: 9.738 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.441e-06/0.6402, allocations: 0 / 0.5693 GB, free: 9.738 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.6403, allocations: 318.8 kB / 0.5696 GB, free: 9.418 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.6404, allocations: 19.98 kB / 0.5696 GB, free: 9.398 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.6406, allocations: 37.64 kB / 0.5697 GB, free: 9.355 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.6407, allocations: 32.02 kB / 0.5697 GB, free: 9.324 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.6407, allocations: 0 / 0.5697 GB, free: 9.324 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003257/0.6411, allocations: 77.67 kB / 0.5698 GB, free: 9.242 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.6411, allocations: 4 kB / 0.5698 GB, free: 9.238 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.6411, allocations: 0 / 0.5698 GB, free: 9.238 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.6412, allocations: 0 / 0.5698 GB, free: 9.238 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.6413, allocations: 19.98 kB / 0.5698 GB, free: 9.219 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.6413, allocations: 0 / 0.5698 GB, free: 9.219 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.6414, allocations: 11.94 kB / 0.5698 GB, free: 9.207 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.6415, allocations: 4 kB / 0.5698 GB, free: 9.203 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.0001262/0.6416, allocations: 121.8 kB / 0.5699 GB, free: 9.074 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.38e-05/0.6416, allocations: 7.906 kB / 0.5699 GB, free: 9.066 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004177/0.6421, allocations: 101.6 kB / 0.57 GB, free: 8.961 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.6421, allocations: 0 / 0.57 GB, free: 8.961 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.6421, allocations: 0 / 0.57 GB, free: 8.961 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.6422, allocations: 0 / 0.57 GB, free: 8.961 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000682/0.6428, allocations: 358.8 kB / 0.5704 GB, free: 8.555 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.6429, allocations: 64 / 0.5704 GB, free: 8.555 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.643, allocations: 16 kB / 0.5704 GB, free: 8.539 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.295e-05/0.643, allocations: 3.984 kB / 0.5704 GB, free: 8.535 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.643, allocations: 4 kB / 0.5704 GB, free: 8.531 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.6431, allocations: 0 / 0.5704 GB, free: 8.531 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.6431, allocations: 3.953 kB / 0.5704 GB, free: 8.527 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003669/0.6434, allocations: 187.4 kB / 0.5706 GB, free: 8.328 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.121e-05/0.6435, allocations: 89 kB / 0.5707 GB, free: 8.223 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/0.6436, allocations: 3.938 kB / 0.5707 GB, free: 8.219 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.6437, allocations: 8 kB / 0.5707 GB, free: 8.211 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.487e-05/0.6438, allocations: 16.67 kB / 0.5707 GB, free: 8.195 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.6438, allocations: 3.953 kB / 0.5707 GB, free: 8.191 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001325/0.6439, allocations: 103.3 kB / 0.5708 GB, free: 8.09 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6439, allocations: 0 / 0.5708 GB, free: 8.09 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003859/0.6443, allocations: 31.98 kB / 0.5708 GB, free: 8.059 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.00199/0.6463, allocations: 1.058 MB / 0.5719 GB, free: 7.078 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003916/0.6468, allocations: 59.91 kB / 0.5719 GB, free: 7.02 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.259e-06/0.6468, allocations: 0 / 0.5719 GB, free: 7.02 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.647, allocations: 27.98 kB / 0.5719 GB, free: 6.992 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/0.6473, allocations: 11.98 kB / 0.5719 GB, free: 6.98 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.6488, allocations: 0.557 MB / 0.5725 GB, free: 6.371 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/0.6492, allocations: 0.6926 MB / 0.5732 GB, free: 5.652 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.6493, allocations: 27.48 kB / 0.5732 GB, free: 5.625 MB / 394.7 MB Notification: Performance of SimCode: time 9.12e-07/0.6494, allocations: 0 / 0.5732 GB, free: 5.625 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_CombiTable1Ds_Test20CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test20CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test20CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test20InitializeParameter.cpp:38:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp24; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test20InitializeParameter.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_v6.mat", tmp24); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test20CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test20Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test20Initialize.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_v6.mat", tmp9); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test20Initialize.cpp:244:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp15; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test20Initialize.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_CombiTable1Ds_Test20CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test20.cpp:712:24: error: use of undeclared identifier 'tmp4' _t_new_P_fileName_ = tmp4; ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test20CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test20FMU.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_CombiTable1Ds_Test20CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test20CalcHelperMain.o] Error 1