Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.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.Test11,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test11,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test11",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.002447/0.002451, allocations: 187.5 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.123/2.123, 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.001174/0.001174, allocations: 98.88 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.314/0.314, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004689/0.000469, allocations: 12 kB / 431.5 MB, free: 20.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1263, allocations: 58.85 MB / 490.3 MB, free: 9.246 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test11): time 0.002648/0.129, allocations: 1.314 MB / 491.6 MB, free: 7.914 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001832/0.1309, allocations: 0.8635 MB / 492.5 MB, free: 7.043 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.493e-05/0.131, allocations: 0 / 492.5 MB, free: 7.043 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00021/0.1312, allocations: 15.92 kB / 492.5 MB, free: 7.027 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002184/0.1315, allocations: 39.83 kB / 492.5 MB, free: 6.988 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004703/0.1319, allocations: 103.7 kB / 492.6 MB, free: 6.887 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001386/0.1321, allocations: 27.97 kB / 492.7 MB, free: 6.859 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.1322, allocations: 20.17 kB / 492.7 MB, free: 6.84 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.246e-05/0.1323, allocations: 27.84 kB / 492.7 MB, free: 6.812 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.1325, allocations: 19.92 kB / 492.7 MB, free: 6.793 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.1325, allocations: 0 / 492.7 MB, free: 6.793 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.1327, allocations: 39.84 kB / 492.8 MB, free: 6.754 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.598e-05/0.1328, allocations: 8 kB / 492.8 MB, free: 6.746 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.663e-05/0.1328, allocations: 33.64 kB / 492.8 MB, free: 6.707 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002212/0.133, allocations: 72.17 kB / 492.9 MB, free: 6.637 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1331, allocations: 0 / 492.9 MB, free: 6.637 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.1331, allocations: 0 / 492.9 MB, free: 6.637 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1331, allocations: 0 / 492.9 MB, free: 6.637 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.0007041/0.1338, allocations: 395 kB / 493.3 MB, free: 6.203 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.1339, allocations: 8.031 kB / 493.3 MB, free: 6.195 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.775e-05/0.1339, allocations: 34.56 kB / 493.3 MB, free: 6.152 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.192e-05/0.134, allocations: 11.86 kB / 493.3 MB, free: 6.141 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002604/0.1343, allocations: 183 kB / 493.5 MB, free: 5.922 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.1343, allocations: 4 kB / 493.5 MB, free: 5.918 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.1343, allocations: 4 kB / 493.5 MB, free: 5.914 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002707/0.1346, allocations: 87.33 kB / 493.6 MB, free: 5.816 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.1346, allocations: 0 / 493.6 MB, free: 5.816 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.1346, allocations: 0 / 493.6 MB, free: 5.816 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.1347, allocations: 0 / 493.6 MB, free: 5.816 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002363/0.1349, allocations: 43.97 kB / 493.6 MB, free: 5.773 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005166/0.1354, allocations: 300.6 kB / 493.9 MB, free: 5.43 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/0.1356, allocations: 54.48 kB / 494 MB, free: 5.367 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.102e-05/0.1357, allocations: 4 kB / 494 MB, free: 5.363 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.1357, allocations: 30.56 kB / 494 MB, free: 5.324 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.654e-06/0.1357, allocations: 0 / 494 MB, free: 5.324 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.001327/0.1371, allocations: 249.2 kB / 494.3 MB, free: 5.074 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.229e-05/0.1372, allocations: 77.11 kB / 494.3 MB, free: 4.98 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.1374, allocations: 137.8 kB / 494.5 MB, free: 4.836 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.1374, allocations: 25.7 kB / 494.5 MB, free: 4.805 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.697e-05/0.1375, allocations: 166.5 kB / 494.7 MB, free: 4.641 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.533e-05/0.1376, allocations: 19.7 kB / 494.7 MB, free: 4.621 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.713e-06/0.1376, allocations: 0 / 494.7 MB, free: 4.621 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.1377, allocations: 314.8 kB / 495 MB, free: 4.305 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002109/0.138, allocations: 39.97 kB / 495 MB, free: 4.266 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002327/0.1382, allocations: 61.62 kB / 495.1 MB, free: 4.199 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002178/0.1384, allocations: 43.97 kB / 495.1 MB, free: 4.156 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.1385, allocations: 0 / 495.1 MB, free: 4.156 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000515/0.139, allocations: 121.7 kB / 495.3 MB, free: 4.031 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.139, allocations: 7.438 kB / 495.3 MB, free: 4.027 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.139, allocations: 7.938 kB / 495.3 MB, free: 4.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.1391, allocations: 4 kB / 495.3 MB, free: 4.016 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.1393, allocations: 23.98 kB / 495.3 MB, free: 3.992 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.1393, allocations: 0 / 495.3 MB, free: 3.992 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/0.1395, allocations: 19.98 kB / 495.3 MB, free: 3.973 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.1395, allocations: 3.938 kB / 495.3 MB, free: 3.969 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.0001317/0.1396, allocations: 121.8 kB / 495.4 MB, free: 3.84 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.406e-05/0.1397, allocations: 3.906 kB / 495.4 MB, free: 3.836 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005688/0.1403, allocations: 142.3 kB / 495.6 MB, free: 3.688 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.1403, allocations: 7.953 kB / 495.6 MB, free: 3.68 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.1403, allocations: 0 / 495.6 MB, free: 3.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.1403, allocations: 4 kB / 495.6 MB, free: 3.676 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008921/0.1412, allocations: 410.8 kB / 496 MB, free: 3.219 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.1412, allocations: 4 kB / 496 MB, free: 3.215 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001753/0.1414, allocations: 19.98 kB / 496 MB, free: 3.195 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.707e-06/0.1415, allocations: 3.953 kB / 496 MB, free: 3.191 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.1415, allocations: 4 kB / 496 MB, free: 3.188 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.1415, allocations: 0 / 496 MB, free: 3.188 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1415, allocations: 80 / 496 MB, free: 3.188 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005618/0.1421, allocations: 227.3 kB / 496.2 MB, free: 2.949 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.696e-05/0.1422, allocations: 93 kB / 496.3 MB, free: 2.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.382e-05/0.1422, allocations: 7.953 kB / 496.3 MB, free: 2.832 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.1424, allocations: 11.98 kB / 496.4 MB, free: 2.82 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.307e-05/0.1425, allocations: 11.98 kB / 496.4 MB, free: 2.809 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.1425, allocations: 11.94 kB / 496.4 MB, free: 2.797 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001329/0.1426, allocations: 103.3 kB / 496.5 MB, free: 2.695 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1426, allocations: 0 / 496.5 MB, free: 2.695 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003799/0.143, allocations: 23.98 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.002189/0.1452, allocations: 1.09 MB / 497.6 MB, free: 1.609 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005474/0.1458, allocations: 95.92 kB / 497.7 MB, free: 1.516 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.1458, allocations: 0 / 497.7 MB, free: 1.516 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002323/0.1461, allocations: 51.91 kB / 497.7 MB, free: 1.465 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003629/0.1465, allocations: 19.95 kB / 497.8 MB, free: 1.445 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/0.1483, allocations: 0.6556 MB / 498.4 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.1487, allocations: 0.7004 MB / 499.1 MB, free: 16 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001578/0.1489, allocations: 27.47 kB / 499.1 MB, free: 15.98 MB / 346.7 MB Notification: Performance of SimCode: time 3.577e-06/0.1489, 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_Test11CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test11CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test11CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test11InitializeParameter.cpp:40:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp30; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test11InitializeParameter.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_v6.mat", tmp30); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test11CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test11Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp12; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test11Initialize.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", tmp12); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test11Initialize.cpp:278:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp20; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test11Initialize.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_Test11CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test11.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_Test11CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test11FMU.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_Test11CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test11CalcHelperMain.o] Error 1