Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21.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.Test21,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test21,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test21",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.00157/0.00157, allocations: 182 kB / 16.4 MB, free: 5.746 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.1/2.1, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001191/0.001191, allocations: 100 kB / 270.9 MB, free: 8.371 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.5483/0.5483, allocations: 43.55 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004746/0.0004749, allocations: 12 kB / 431.5 MB, free: 6.051 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1361, allocations: 58.84 MB / 490.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test21): time 0.002462/0.1387, allocations: 1.259 MB / 491.6 MB, free: 9.848 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001783/0.1405, allocations: 0.879 MB / 492.5 MB, free: 8.961 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.241e-05/0.1406, allocations: 0 / 492.5 MB, free: 8.961 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002515/0.1408, allocations: 19.92 kB / 492.5 MB, free: 8.941 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001938/0.1411, allocations: 31.84 kB / 492.5 MB, free: 8.91 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000379/0.1415, allocations: 83.89 kB / 492.6 MB, free: 8.828 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.1416, allocations: 35.89 kB / 492.6 MB, free: 8.793 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.1417, allocations: 15.98 kB / 492.6 MB, free: 8.777 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.73e-05/0.1418, allocations: 19.91 kB / 492.7 MB, free: 8.758 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.1419, allocations: 15.88 kB / 492.7 MB, free: 8.742 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.142, allocations: 0 / 492.7 MB, free: 8.742 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/0.1421, allocations: 35.91 kB / 492.7 MB, free: 8.707 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.226e-05/0.1422, allocations: 15.98 kB / 492.7 MB, free: 8.691 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.864e-05/0.1422, allocations: 37.64 kB / 492.8 MB, free: 8.648 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.1424, allocations: 56.19 kB / 492.8 MB, free: 8.594 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1424, allocations: 0 / 492.8 MB, free: 8.594 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.637e-06/0.1424, allocations: 0 / 492.8 MB, free: 8.594 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1425, allocations: 3.938 kB / 492.8 MB, free: 8.59 MB / 378.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.0005719/0.143, allocations: 371.1 kB / 493.2 MB, free: 8.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.1431, allocations: 8.031 kB / 493.2 MB, free: 8.172 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.047e-05/0.1432, allocations: 38.56 kB / 493.2 MB, free: 8.125 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.775e-05/0.1432, allocations: 11.86 kB / 493.2 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/0.1435, allocations: 190.9 kB / 493.4 MB, free: 7.887 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.1435, allocations: 3.938 kB / 493.4 MB, free: 7.883 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.1435, allocations: 4 kB / 493.4 MB, free: 7.879 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.1437, allocations: 63.41 kB / 493.5 MB, free: 7.805 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.1438, allocations: 0 / 493.5 MB, free: 7.805 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.1438, allocations: 0 / 493.5 MB, free: 7.805 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.1438, allocations: 3.953 kB / 493.5 MB, free: 7.801 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001581/0.144, allocations: 31.97 kB / 493.5 MB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004801/0.1445, allocations: 276.9 kB / 493.8 MB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003027/0.1448, allocations: 46.56 kB / 493.8 MB, free: 7.395 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.1448, allocations: 0 / 493.8 MB, free: 7.395 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.1449, allocations: 38.64 kB / 493.9 MB, free: 7.348 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.382e-06/0.1449, allocations: 0 / 493.9 MB, free: 7.348 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008475/0.1457, allocations: 165.5 kB / 494 MB, free: 7.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.724e-05/0.1458, allocations: 81.11 kB / 494.1 MB, free: 7.082 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.146, allocations: 129.8 kB / 494.2 MB, free: 6.945 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.1461, allocations: 25.7 kB / 494.3 MB, free: 6.914 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.969e-05/0.1462, allocations: 166.3 kB / 494.4 MB, free: 6.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/0.1462, allocations: 23.8 kB / 494.5 MB, free: 6.727 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.6e-06/0.1462, allocations: 0 / 494.5 MB, free: 6.727 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.1464, allocations: 310.8 kB / 494.8 MB, free: 6.414 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.1465, allocations: 23.98 kB / 494.8 MB, free: 6.391 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.1467, allocations: 45.64 kB / 494.8 MB, free: 6.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001333/0.1468, allocations: 32 kB / 494.9 MB, free: 6.309 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1468, allocations: 0 / 494.9 MB, free: 6.309 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003289/0.1472, allocations: 89.86 kB / 494.9 MB, free: 6.215 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.1472, allocations: 7.953 kB / 495 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1472, allocations: 4 kB / 495 MB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.1472, allocations: 0 / 495 MB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.1474, allocations: 19.97 kB / 495 MB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.1474, allocations: 0 / 495 MB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.645e-05/0.1475, allocations: 4 kB / 495 MB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.1475, allocations: 7.984 kB / 495 MB, free: 6.172 MB / 378.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.0001153/0.1476, allocations: 121.8 kB / 495.1 MB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.245e-05/0.1477, allocations: 11.91 kB / 495.1 MB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000385/0.1481, allocations: 101.6 kB / 495.2 MB, free: 5.926 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.1481, allocations: 0 / 495.2 MB, free: 5.926 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1481, allocations: 0 / 495.2 MB, free: 5.926 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.1481, allocations: 3.984 kB / 495.2 MB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006849/0.1488, allocations: 366.5 kB / 495.6 MB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1488, allocations: 0 / 495.6 MB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.1489, allocations: 15.95 kB / 495.6 MB, free: 5.492 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.149, allocations: 0 / 495.6 MB, free: 5.492 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.149, allocations: 4 kB / 495.6 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.149, allocations: 4 kB / 495.6 MB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.149, allocations: 3.984 kB / 495.6 MB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003755/0.1494, allocations: 183.6 kB / 495.8 MB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.859e-05/0.1495, allocations: 89.06 kB / 495.9 MB, free: 5.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.886e-05/0.1495, allocations: 15.89 kB / 495.9 MB, free: 5.164 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.1496, allocations: 8 kB / 495.9 MB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.1497, allocations: 7.984 kB / 495.9 MB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.1497, allocations: 0 / 495.9 MB, free: 5.148 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001214/0.1498, allocations: 103.7 kB / 496 MB, free: 5.047 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.1499, allocations: 4 kB / 496 MB, free: 5.043 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003436/0.1502, allocations: 23.98 kB / 496 MB, free: 5.02 MB / 378.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.001903/0.1521, allocations: 1.057 MB / 497.1 MB, free: 3.992 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003316/0.1525, allocations: 55.91 kB / 497.1 MB, free: 3.938 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.1525, allocations: 4 kB / 497.2 MB, free: 3.934 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001422/0.1526, allocations: 27.98 kB / 497.2 MB, free: 3.906 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.153, allocations: 23.92 kB / 497.2 MB, free: 3.883 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/0.1544, allocations: 0.5664 MB / 497.8 MB, free: 3.258 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.1548, allocations: 0.6926 MB / 498.5 MB, free: 2.539 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.482e-05/0.1549, allocations: 23.42 kB / 498.5 MB, free: 2.52 MB / 378.7 MB Notification: Performance of SimCode: time 9.42e-07/0.1549, allocations: 0 / 498.5 MB, free: 2.52 MB / 378.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_Test21CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test21CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test21CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test21InitializeParameter.cpp:38:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp23; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test21InitializeParameter.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_v7.mat", tmp23); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test21CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test21Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test21Initialize.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", tmp9); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test21Initialize.cpp:245:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp15; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test21Initialize.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_Test21CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test21.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_Test21CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test21FMU.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_Test21CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test21CalcHelperMain.o] Error 1