Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.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.Test12,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test12,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test12",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.001568/0.001575, allocations: 187.9 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.29/2.29, allocations: 205.4 MB / 222.5 MB, free: 13.84 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.001137/0.001137, allocations: 90.86 kB / 270.9 MB, free: 13.37 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.3294/0.3294, allocations: 43.56 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000485/0.000485, allocations: 12 kB / 431.5 MB, free: 20.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1286, allocations: 58.86 MB / 490.3 MB, free: 9.238 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test12): time 0.002611/0.1313, allocations: 1.306 MB / 491.6 MB, free: 7.914 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00187/0.1332, allocations: 0.8674 MB / 492.5 MB, free: 7.039 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.802e-05/0.1333, allocations: 4 kB / 492.5 MB, free: 7.035 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002292/0.1336, allocations: 11.92 kB / 492.5 MB, free: 7.023 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002236/0.1338, allocations: 39.84 kB / 492.5 MB, free: 6.984 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000461/0.1343, allocations: 99.72 kB / 492.6 MB, free: 6.887 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.1344, allocations: 31.97 kB / 492.7 MB, free: 6.855 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.1346, allocations: 16.17 kB / 492.7 MB, free: 6.84 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.382e-05/0.1346, allocations: 23.86 kB / 492.7 MB, free: 6.816 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.1348, allocations: 15.92 kB / 492.7 MB, free: 6.801 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.1348, allocations: 4 kB / 492.7 MB, free: 6.797 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001377/0.135, allocations: 31.92 kB / 492.8 MB, free: 6.766 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.008e-05/0.1351, allocations: 19.91 kB / 492.8 MB, free: 6.746 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.276e-05/0.1351, allocations: 37.64 kB / 492.8 MB, free: 6.703 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001937/0.1353, allocations: 68.17 kB / 492.9 MB, free: 6.637 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.1353, allocations: 0 / 492.9 MB, free: 6.637 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1353, allocations: 4 kB / 492.9 MB, free: 6.633 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.1354, allocations: 3.938 kB / 492.9 MB, free: 6.629 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.0006816/0.136, allocations: 391.1 kB / 493.3 MB, free: 6.199 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.1361, allocations: 8.031 kB / 493.3 MB, free: 6.191 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.475e-05/0.1362, allocations: 30.56 kB / 493.3 MB, free: 6.152 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.553e-05/0.1362, allocations: 11.86 kB / 493.3 MB, free: 6.141 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.1365, allocations: 194 kB / 493.5 MB, free: 5.914 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.019e-05/0.1366, allocations: 8 kB / 493.5 MB, free: 5.906 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.01e-05/0.1366, allocations: 0 / 493.5 MB, free: 5.906 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000276/0.1369, allocations: 83.25 kB / 493.6 MB, free: 5.812 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.1369, allocations: 0 / 493.6 MB, free: 5.812 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.137, allocations: 4 kB / 493.6 MB, free: 5.809 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.137, allocations: 0 / 493.6 MB, free: 5.809 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002401/0.1372, allocations: 47.97 kB / 493.7 MB, free: 5.762 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005178/0.1377, allocations: 292.6 kB / 493.9 MB, free: 5.426 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.138, allocations: 50.55 kB / 494 MB, free: 5.367 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.138, allocations: 4 kB / 494 MB, free: 5.363 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.278e-05/0.1381, allocations: 34.56 kB / 494 MB, free: 5.32 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.774e-06/0.1381, allocations: 0 / 494 MB, free: 5.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.001283/0.1394, allocations: 241.6 kB / 494.3 MB, free: 5.078 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.046e-05/0.1395, allocations: 81.11 kB / 494.3 MB, free: 4.98 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/0.1397, allocations: 138.1 kB / 494.5 MB, free: 4.832 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.1397, allocations: 25.7 kB / 494.5 MB, free: 4.801 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.694e-05/0.1398, allocations: 158.5 kB / 494.7 MB, free: 4.645 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.793e-05/0.1399, allocations: 23.7 kB / 494.7 MB, free: 4.621 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.903e-06/0.1399, allocations: 4 kB / 494.7 MB, free: 4.617 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.14, allocations: 314.8 kB / 495 MB, free: 4.301 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002145/0.1403, allocations: 39.97 kB / 495 MB, free: 4.262 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002304/0.1405, allocations: 53.69 kB / 495.1 MB, free: 4.203 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002379/0.1408, allocations: 43.92 kB / 495.1 MB, free: 4.16 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1408, allocations: 0 / 495.1 MB, free: 4.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005212/0.1413, allocations: 125.6 kB / 495.2 MB, free: 4.031 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.1414, allocations: 4 kB / 495.3 MB, free: 4.027 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.1414, allocations: 3.953 kB / 495.3 MB, free: 4.023 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.1414, allocations: 0 / 495.3 MB, free: 4.023 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/0.1416, allocations: 31.97 kB / 495.3 MB, free: 3.992 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.1416, allocations: 0 / 495.3 MB, free: 3.992 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.1418, allocations: 15.98 kB / 495.3 MB, free: 3.977 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.1418, allocations: 0 / 495.3 MB, free: 3.977 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.0001518/0.142, allocations: 125.8 kB / 495.4 MB, free: 3.844 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.603e-05/0.142, allocations: 11.91 kB / 495.4 MB, free: 3.832 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005773/0.1426, allocations: 142.3 kB / 495.6 MB, free: 3.684 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.1426, allocations: 7.953 kB / 495.6 MB, free: 3.676 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.1427, allocations: 3.938 kB / 495.6 MB, free: 3.672 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/0.1427, allocations: 4 kB / 495.6 MB, free: 3.668 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008879/0.1436, allocations: 410.4 kB / 496 MB, free: 3.211 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.1436, allocations: 0 / 496 MB, free: 3.211 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001706/0.1438, allocations: 23.98 kB / 496 MB, free: 3.188 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/0.1438, allocations: 3.953 kB / 496 MB, free: 3.184 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.1438, allocations: 4 kB / 496 MB, free: 3.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.1438, allocations: 0 / 496 MB, free: 3.18 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1439, allocations: 4 kB / 496 MB, free: 3.176 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005614/0.1444, allocations: 227.8 kB / 496.3 MB, free: 2.938 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.591e-05/0.1445, allocations: 85 kB / 496.3 MB, free: 2.836 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.765e-05/0.1446, allocations: 11.95 kB / 496.3 MB, free: 2.824 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.1448, allocations: 15.98 kB / 496.4 MB, free: 2.809 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.363e-05/0.1448, allocations: 4 kB / 496.4 MB, free: 2.805 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.1449, allocations: 0 / 496.4 MB, free: 2.805 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001345/0.145, allocations: 107.2 kB / 496.5 MB, free: 2.699 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.145, allocations: 4 kB / 496.5 MB, free: 2.695 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003746/0.1454, allocations: 24 kB / 496.5 MB, free: 2.672 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.002136/0.1476, allocations: 1.094 MB / 497.6 MB, free: 1.609 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005636/0.1482, allocations: 103.9 kB / 497.7 MB, free: 1.508 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.1482, allocations: 0 / 497.7 MB, free: 1.508 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002318/0.1484, allocations: 51.97 kB / 497.7 MB, free: 1.457 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.1488, allocations: 15.95 kB / 497.8 MB, free: 1.441 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/0.1507, allocations: 0.6555 MB / 498.4 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/0.1511, allocations: 0.7004 MB / 499.1 MB, free: 12 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/0.1513, allocations: 27.42 kB / 499.1 MB, free: 15.98 MB / 346.7 MB Notification: Performance of SimCode: time 3.486e-06/0.1513, allocations: 0 / 499.1 MB, free: 15.98 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_Test12CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test12CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test12CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test12InitializeParameter.cpp:40:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp30; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test12InitializeParameter.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_v7.mat", tmp30); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test12CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test12Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp12; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test12Initialize.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", tmp12); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test12Initialize.cpp:278:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp20; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test12Initialize.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_Test12CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test12.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_Test12CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test12FMU.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_Test12CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test12CalcHelperMain.o] Error 1