Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.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.Test10,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test10,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test10",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.00158/0.001585, allocations: 186.6 kB / 16.4 MB, free: 5.621 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.152/2.152, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.001194/0.001194, allocations: 102.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3092/0.3092, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004813/0.0004814, allocations: 8 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1334, allocations: 58.86 MB / 490.3 MB, free: 9.246 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test10): time 0.002823/0.1363, allocations: 1.302 MB / 491.6 MB, free: 7.926 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001914/0.1383, allocations: 0.8674 MB / 492.5 MB, free: 7.051 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.892e-05/0.1384, allocations: 0 / 492.5 MB, free: 7.051 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002229/0.1386, allocations: 23.84 kB / 492.5 MB, free: 7.027 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002191/0.1389, allocations: 31.84 kB / 492.5 MB, free: 6.996 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004855/0.1394, allocations: 103.8 kB / 492.6 MB, free: 6.895 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.1395, allocations: 31.95 kB / 492.7 MB, free: 6.863 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.1397, allocations: 16.17 kB / 492.7 MB, free: 6.848 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.363e-05/0.1397, allocations: 23.86 kB / 492.7 MB, free: 6.824 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001961/0.1399, allocations: 23.91 kB / 492.7 MB, free: 6.801 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.14, allocations: 4 kB / 492.7 MB, free: 6.797 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001673/0.1401, allocations: 31.92 kB / 492.8 MB, free: 6.766 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.239e-05/0.1402, allocations: 15.92 kB / 492.8 MB, free: 6.75 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.704e-05/0.1403, allocations: 33.64 kB / 492.8 MB, free: 6.711 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.1405, allocations: 76.16 kB / 492.9 MB, free: 6.637 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1405, allocations: 0 / 492.9 MB, free: 6.637 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1405, allocations: 4 kB / 492.9 MB, free: 6.633 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.1405, allocations: 0 / 492.9 MB, free: 6.633 MB / 330.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.0007131/0.1413, allocations: 379.1 kB / 493.3 MB, free: 6.215 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/0.1414, allocations: 12.03 kB / 493.3 MB, free: 6.203 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.593e-05/0.1414, allocations: 38.55 kB / 493.3 MB, free: 6.156 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.709e-05/0.1415, allocations: 11.86 kB / 493.3 MB, free: 6.145 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002675/0.1418, allocations: 182.7 kB / 493.5 MB, free: 5.93 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.1418, allocations: 4 kB / 493.5 MB, free: 5.926 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.675e-05/0.1418, allocations: 11.94 kB / 493.5 MB, free: 5.914 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002753/0.1421, allocations: 75.33 kB / 493.6 MB, free: 5.828 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.1422, allocations: 4 kB / 493.6 MB, free: 5.824 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.1422, allocations: 0 / 493.6 MB, free: 5.824 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.1422, allocations: 4 kB / 493.6 MB, free: 5.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002299/0.1424, allocations: 39.97 kB / 493.6 MB, free: 5.781 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005143/0.143, allocations: 304.6 kB / 493.9 MB, free: 5.434 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.1432, allocations: 46.56 kB / 494 MB, free: 5.379 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.1432, allocations: 0 / 494 MB, free: 5.379 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.1433, allocations: 38.64 kB / 494 MB, free: 5.332 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.472e-06/0.1433, allocations: 0 / 494 MB, free: 5.332 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.001246/0.1445, allocations: 237.2 kB / 494.3 MB, free: 5.094 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.537e-05/0.1446, allocations: 77.11 kB / 494.3 MB, free: 5 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002143/0.1449, allocations: 142.1 kB / 494.5 MB, free: 4.848 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.1449, allocations: 25.7 kB / 494.5 MB, free: 4.816 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.961e-05/0.145, allocations: 162.5 kB / 494.7 MB, free: 4.656 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.296e-05/0.1451, allocations: 19.72 kB / 494.7 MB, free: 4.637 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-06/0.1451, allocations: 4 kB / 494.7 MB, free: 4.633 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1452, allocations: 314.8 kB / 495 MB, free: 4.316 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/0.1455, allocations: 35.98 kB / 495 MB, free: 4.281 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002321/0.1457, allocations: 61.75 kB / 495.1 MB, free: 4.215 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002087/0.1459, allocations: 43.91 kB / 495.1 MB, free: 4.172 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1459, allocations: 3.938 kB / 495.1 MB, free: 4.168 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005079/0.1465, allocations: 125.6 kB / 495.3 MB, free: 4.039 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.1465, allocations: 6.656 kB / 495.3 MB, free: 4.035 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/0.1465, allocations: 3.953 kB / 495.3 MB, free: 4.031 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.1466, allocations: 288 / 495.3 MB, free: 4.031 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.1468, allocations: 27.98 kB / 495.3 MB, free: 4.004 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.1468, allocations: 0 / 495.3 MB, free: 4.004 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/0.1469, allocations: 15.98 kB / 495.3 MB, free: 3.988 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.147, allocations: 4 kB / 495.3 MB, free: 3.984 MB / 330.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.0001427/0.1471, allocations: 125.8 kB / 495.4 MB, free: 3.852 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.844e-05/0.1472, allocations: 15.89 kB / 495.4 MB, free: 3.836 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005759/0.1478, allocations: 142.6 kB / 495.6 MB, free: 3.688 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.1478, allocations: 7.953 kB / 495.6 MB, free: 3.68 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.1478, allocations: 0 / 495.6 MB, free: 3.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1478, allocations: 3.938 kB / 495.6 MB, free: 3.676 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009139/0.1487, allocations: 406.5 kB / 496 MB, free: 3.223 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.1488, allocations: 0 / 496 MB, free: 3.223 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001696/0.1489, allocations: 23.98 kB / 496 MB, free: 3.199 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.238e-06/0.149, allocations: 3.953 kB / 496 MB, free: 3.195 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.149, allocations: 3.984 kB / 496 MB, free: 3.191 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.149, allocations: 0 / 496 MB, free: 3.191 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.149, allocations: 0 / 496 MB, free: 3.191 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00056/0.1496, allocations: 231.3 kB / 496.3 MB, free: 2.949 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.182e-05/0.1497, allocations: 93 kB / 496.3 MB, free: 2.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/0.1497, allocations: 3.953 kB / 496.3 MB, free: 2.836 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.1499, allocations: 12 kB / 496.4 MB, free: 2.824 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.443e-05/0.15, allocations: 11.98 kB / 496.4 MB, free: 2.812 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.15, allocations: 4 kB / 496.4 MB, free: 2.809 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00014/0.1501, allocations: 107.2 kB / 496.5 MB, free: 2.703 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.1502, allocations: 0 / 496.5 MB, free: 2.703 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003729/0.1505, allocations: 28 kB / 496.5 MB, free: 2.676 MB / 330.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.002209/0.1528, allocations: 1.08 MB / 497.6 MB, free: 1.625 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005681/0.1534, allocations: 95.83 kB / 497.7 MB, free: 1.531 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/0.1534, allocations: 4 kB / 497.7 MB, free: 1.527 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002289/0.1537, allocations: 47.97 kB / 497.7 MB, free: 1.48 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.154, allocations: 19.88 kB / 497.7 MB, free: 1.461 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001892/0.1559, allocations: 0.6637 MB / 498.4 MB, free: 0.75 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.1563, allocations: 0.6965 MB / 499.1 MB, free: 28 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/0.1565, allocations: 27.42 kB / 499.1 MB, free: 0 / 330.7 MB Notification: Performance of SimCode: time 4.178e-06/0.1565, allocations: 128 / 499.1 MB, free: 16 MB / 346.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=5 -DSUNDIALS_MINOR_VERSION=4 -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_Test10CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test10CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test10CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test10InitializeParameter.cpp:40:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp30; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test10InitializeParameter.cpp:41: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_v4.mat", tmp30); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test10CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test10Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp12; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test10Initialize.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_v4.mat", tmp12); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test10Initialize.cpp:278:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp20; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test10Initialize.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_CombiTable2D_Test10CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test10.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_Test10CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test10FMU.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_Test10CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test10CalcHelperMain.o] Error 1