Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test24.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.Test24,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test24,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test24",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.001634/0.001633, allocations: 188.3 kB / 16.4 MB, free: 5.625 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.344/2.344, 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.001295/0.001295, allocations: 98.78 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.3082/0.3082, allocations: 43.55 MB / 362.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006832/0.0006834, allocations: 12 kB / 431.5 MB, free: 20.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.132, allocations: 58.85 MB / 490.3 MB, free: 9.246 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test24): time 0.00255/0.1346, allocations: 1.256 MB / 491.6 MB, free: 7.973 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001875/0.1365, allocations: 0.879 MB / 492.5 MB, free: 7.086 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.14e-05/0.1366, allocations: 4 kB / 492.5 MB, free: 7.082 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002435/0.1369, allocations: 15.92 kB / 492.5 MB, free: 7.066 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003009/0.1372, allocations: 35.84 kB / 492.5 MB, free: 7.031 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000462/0.1377, allocations: 75.89 kB / 492.6 MB, free: 6.957 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.1379, allocations: 31.89 kB / 492.6 MB, free: 6.926 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.138, allocations: 23.98 kB / 492.6 MB, free: 6.902 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.544e-05/0.1381, allocations: 15.86 kB / 492.6 MB, free: 6.887 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001762/0.1383, allocations: 23.81 kB / 492.7 MB, free: 6.863 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.1383, allocations: 4 kB / 492.7 MB, free: 6.859 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.1385, allocations: 31.97 kB / 492.7 MB, free: 6.828 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.739e-05/0.1385, allocations: 7.984 kB / 492.7 MB, free: 6.82 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.998e-05/0.1386, allocations: 33.64 kB / 492.7 MB, free: 6.781 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.1388, allocations: 64.12 kB / 492.8 MB, free: 6.719 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1388, allocations: 0 / 492.8 MB, free: 6.719 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1388, allocations: 4 kB / 492.8 MB, free: 6.715 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1388, allocations: 4 kB / 492.8 MB, free: 6.711 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006471/0.1395, allocations: 367.2 kB / 493.2 MB, free: 6.305 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/0.1396, allocations: 12.03 kB / 493.2 MB, free: 6.293 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.435e-05/0.1396, allocations: 30.56 kB / 493.2 MB, free: 6.254 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.703e-05/0.1397, allocations: 11.86 kB / 493.2 MB, free: 6.242 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.14, allocations: 190.8 kB / 493.4 MB, free: 6.016 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.14, allocations: 4 kB / 493.4 MB, free: 6.012 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.14, allocations: 0 / 493.4 MB, free: 6.012 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002369/0.1403, allocations: 67.41 kB / 493.5 MB, free: 5.934 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.1403, allocations: 0 / 493.5 MB, free: 5.934 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.1404, allocations: 4 kB / 493.5 MB, free: 5.93 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.1404, allocations: 0 / 493.5 MB, free: 5.93 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001651/0.1406, allocations: 31.97 kB / 493.5 MB, free: 5.898 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005525/0.1411, allocations: 284.9 kB / 493.8 MB, free: 5.57 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002955/0.1414, allocations: 42.56 kB / 493.8 MB, free: 5.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.1415, allocations: 0 / 493.8 MB, free: 5.52 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.1415, allocations: 34.64 kB / 493.9 MB, free: 5.477 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 3.987e-06/0.1415, allocations: 4 kB / 493.9 MB, free: 5.473 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009158/0.1425, allocations: 169.2 kB / 494 MB, free: 5.301 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.915e-05/0.1426, allocations: 81.11 kB / 494.1 MB, free: 5.203 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.1428, allocations: 133.8 kB / 494.3 MB, free: 5.062 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.1428, allocations: 25.7 kB / 494.3 MB, free: 5.031 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.84e-05/0.1429, allocations: 162.5 kB / 494.4 MB, free: 4.871 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.143, allocations: 15.8 kB / 494.5 MB, free: 4.855 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-06/0.143, allocations: 0 / 494.5 MB, free: 4.855 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.1431, allocations: 314.8 kB / 494.8 MB, free: 4.539 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.1433, allocations: 27.98 kB / 494.8 MB, free: 4.512 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/0.1435, allocations: 45.62 kB / 494.8 MB, free: 4.461 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.1436, allocations: 23.98 kB / 494.9 MB, free: 4.438 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1436, allocations: 0 / 494.9 MB, free: 4.438 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004906/0.1441, allocations: 89.7 kB / 494.9 MB, free: 4.344 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.1442, allocations: 4 kB / 494.9 MB, free: 4.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.1442, allocations: 0 / 494.9 MB, free: 4.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.1442, allocations: 7.891 kB / 495 MB, free: 4.332 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.1444, allocations: 15.98 kB / 495 MB, free: 4.316 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.1444, allocations: 0 / 495 MB, free: 4.316 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.612e-05/0.1445, allocations: 15.98 kB / 495 MB, free: 4.301 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.1445, allocations: 0 / 495 MB, free: 4.301 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 (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.0001349/0.1447, allocations: 121.8 kB / 495.1 MB, free: 4.172 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.469e-05/0.1447, allocations: 7.906 kB / 495.1 MB, free: 4.164 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004144/0.1452, allocations: 101.9 kB / 495.2 MB, free: 4.059 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1452, allocations: 0 / 495.2 MB, free: 4.059 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.408e-05/0.1452, allocations: 11.94 kB / 495.2 MB, free: 4.047 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.1452, allocations: 4 kB / 495.2 MB, free: 4.043 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007102/0.1459, allocations: 358.5 kB / 495.6 MB, free: 3.637 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.146, allocations: 4 kB / 495.6 MB, free: 3.633 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.1461, allocations: 12 kB / 495.6 MB, free: 3.621 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.1461, allocations: 0 / 495.6 MB, free: 3.621 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.1461, allocations: 7.953 kB / 495.6 MB, free: 3.613 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.1462, allocations: 7.984 kB / 495.6 MB, free: 3.605 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.1462, allocations: 288 / 495.6 MB, free: 3.605 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004018/0.1466, allocations: 183.4 kB / 495.8 MB, free: 3.41 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.792e-05/0.1467, allocations: 96.92 kB / 495.9 MB, free: 3.297 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.1467, allocations: 7.938 kB / 495.9 MB, free: 3.289 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.1468, allocations: 7.953 kB / 495.9 MB, free: 3.281 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.051e-05/0.1469, allocations: 7.984 kB / 495.9 MB, free: 3.273 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.1469, allocations: 0 / 495.9 MB, free: 3.273 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001239/0.1471, allocations: 107.3 kB / 496 MB, free: 3.168 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1471, allocations: 0 / 496 MB, free: 3.168 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003698/0.1475, allocations: 27.98 kB / 496 MB, free: 3.141 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 (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.001975/0.1494, allocations: 1.047 MB / 497.1 MB, free: 2.125 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000391/0.1499, allocations: 63.91 kB / 497.1 MB, free: 2.062 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.1499, allocations: 0 / 497.1 MB, free: 2.062 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001558/0.1501, allocations: 27.98 kB / 497.2 MB, free: 2.035 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000426/0.1505, allocations: 27.86 kB / 497.2 MB, free: 2.008 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.1521, allocations: 0.5668 MB / 497.8 MB, free: 1.387 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.1525, allocations: 0.6926 MB / 498.5 MB, free: 0.668 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.1526, allocations: 27.42 kB / 498.5 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of SimCode: time 1.082e-06/0.1526, allocations: 0 / 498.5 MB, free: 0.6406 MB / 330.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_CombiTable1D_Test24CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test24CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test24CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test24InitializeParameter.cpp:38:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp23; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test24InitializeParameter.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.txt", tmp23); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test24CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test24Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test24Initialize.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.txt", tmp9); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test24Initialize.cpp:245:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp15; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test24Initialize.cpp:246: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_Test24CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test24.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_Test24CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test24FMU.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_Test24CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test24CalcHelperMain.o] Error 1