Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test20,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test20,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_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.001545/0.001545, 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 2.176/2.176, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001204/0.001203, allocations: 88.42 kB / 270.9 MB, free: 8.367 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.5231/0.5231, allocations: 43.55 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007062/0.0007063, allocations: 16 kB / 431.5 MB, free: 6.066 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1619, allocations: 58.85 MB / 490.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4827/0.6447, allocations: 86.74 MB / 0.5635 GB, free: 15.79 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002884/0.6451, allocations: 75.95 kB / 0.5636 GB, free: 15.72 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01813/0.6632, allocations: 4.328 MB / 0.5678 GB, free: 11.43 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.6633, allocations: 0 / 0.5678 GB, free: 11.43 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.715e-05/0.6633, allocations: 4 kB / 0.5678 GB, free: 11.43 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.0005555/0.6639, allocations: 379.4 kB / 0.5682 GB, free: 11.01 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.6639, allocations: 12.03 kB / 0.5682 GB, free: 11 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.85e-05/0.664, allocations: 38.11 kB / 0.5682 GB, free: 10.96 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.349e-05/0.664, allocations: 11.34 kB / 0.5683 GB, free: 10.95 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/0.6644, allocations: 190.9 kB / 0.5684 GB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.6644, allocations: 8 kB / 0.5684 GB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.6644, allocations: 4 kB / 0.5684 GB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.6646, allocations: 59.34 kB / 0.5685 GB, free: 10.64 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.6647, allocations: 0 / 0.5685 GB, free: 10.64 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.6647, allocations: 4 kB / 0.5685 GB, free: 10.64 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.6647, allocations: 7.938 kB / 0.5685 GB, free: 10.63 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001641/0.6649, allocations: 33 kB / 0.5685 GB, free: 10.6 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004999/0.6654, allocations: 280.9 kB / 0.5688 GB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002704/0.6657, allocations: 46.5 kB / 0.5689 GB, free: 10.22 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.6657, allocations: 4.078 kB / 0.5689 GB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.6658, allocations: 34.56 kB / 0.5689 GB, free: 10.17 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/0.6658, allocations: 0 / 0.5689 GB, free: 10.17 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008556/0.6666, allocations: 165.6 kB / 0.5691 GB, free: 10 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.367e-05/0.6667, allocations: 81.06 kB / 0.5691 GB, free: 9.906 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.6669, allocations: 128.7 kB / 0.5693 GB, free: 9.777 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.667, allocations: 25.7 kB / 0.5693 GB, free: 9.746 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.162e-05/0.667, allocations: 158.6 kB / 0.5694 GB, free: 9.59 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.42e-05/0.6671, allocations: 15.75 kB / 0.5694 GB, free: 9.574 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-06/0.6671, allocations: 0 / 0.5694 GB, free: 9.574 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.6673, allocations: 322.8 kB / 0.5698 GB, free: 9.25 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.6674, allocations: 19.98 kB / 0.5698 GB, free: 9.23 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.6676, allocations: 37.7 kB / 0.5698 GB, free: 9.188 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.6677, allocations: 35.95 kB / 0.5698 GB, free: 9.152 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.6677, allocations: 0 / 0.5698 GB, free: 9.152 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003358/0.6681, allocations: 90.34 kB / 0.5699 GB, free: 9.059 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.6681, allocations: 4 kB / 0.5699 GB, free: 9.055 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.6681, allocations: 0 / 0.5699 GB, free: 9.055 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.6681, allocations: 0 / 0.5699 GB, free: 9.055 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.6683, allocations: 19.98 kB / 0.5699 GB, free: 9.035 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.6683, allocations: 256 / 0.57 GB, free: 9.035 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.83e-05/0.6684, allocations: 11.95 kB / 0.57 GB, free: 9.023 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.6684, allocations: 4 kB / 0.57 GB, free: 9.02 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.0001259/0.6686, allocations: 121.8 kB / 0.5701 GB, free: 8.891 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.101e-05/0.6686, allocations: 7.906 kB / 0.5701 GB, free: 8.883 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004027/0.669, allocations: 109.5 kB / 0.5702 GB, free: 8.77 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.6691, allocations: 0 / 0.5702 GB, free: 8.77 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.6691, allocations: 0 / 0.5702 GB, free: 8.77 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.6691, allocations: 0 / 0.5702 GB, free: 8.77 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006949/0.6698, allocations: 366.5 kB / 0.5705 GB, free: 8.355 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.6698, allocations: 3.984 kB / 0.5705 GB, free: 8.352 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.6699, allocations: 12 kB / 0.5706 GB, free: 8.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.458e-06/0.6699, allocations: 0 / 0.5706 GB, free: 8.34 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.67, allocations: 3.938 kB / 0.5706 GB, free: 8.336 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.67, allocations: 4 kB / 0.5706 GB, free: 8.332 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.67, allocations: 3.953 kB / 0.5706 GB, free: 8.328 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003956/0.6704, allocations: 195.4 kB / 0.5708 GB, free: 8.121 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.329e-05/0.6705, allocations: 89.28 kB / 0.5708 GB, free: 8.016 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.6705, allocations: 3.938 kB / 0.5708 GB, free: 8.012 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.6707, allocations: 8 kB / 0.5709 GB, free: 8.004 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.209e-05/0.6707, allocations: 19.91 kB / 0.5709 GB, free: 7.984 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.6707, allocations: 3.953 kB / 0.5709 GB, free: 7.98 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001303/0.6709, allocations: 103.3 kB / 0.571 GB, free: 7.879 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.6709, allocations: 0 / 0.571 GB, free: 7.879 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000371/0.6713, allocations: 35.97 kB / 0.571 GB, free: 7.844 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.001919/0.6732, allocations: 1.053 MB / 0.572 GB, free: 6.867 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003722/0.6736, allocations: 71.89 kB / 0.5721 GB, free: 6.797 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.6736, allocations: 0 / 0.5721 GB, free: 6.797 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.6738, allocations: 27.98 kB / 0.5721 GB, free: 6.77 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.6741, allocations: 11.98 kB / 0.5721 GB, free: 6.758 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.6756, allocations: 0.5882 MB / 0.5727 GB, free: 6.117 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.676, allocations: 0.6887 MB / 0.5734 GB, free: 5.402 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.6761, allocations: 27.48 kB / 0.5734 GB, free: 5.375 MB / 394.7 MB Notification: Performance of SimCode: time 1.073e-06/0.6761, allocations: 0 / 0.5734 GB, free: 5.375 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_Test20CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test20CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test20CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test20InitializeParameter.cpp:38:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp24; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_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_CombiTable1D_Test20CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test20Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_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_CombiTable1D_Test20Initialize.cpp:244:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp15; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_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_CombiTable1D_Test20CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test20.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_Test20CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_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_CombiTable1D_Test20CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test20CalcHelperMain.o] Error 1