Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.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.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test56",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.002531/0.00253, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.128/2.128, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001214/0.001214, allocations: 84.44 kB / 270.9 MB, free: 8.391 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.5335/0.5335, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006421/0.0006424, allocations: 16 kB / 431.5 MB, free: 6.086 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1318, allocations: 58.84 MB / 490.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4601/0.592, allocations: 87.93 MB / 0.5647 GB, free: 14.75 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/0.5924, allocations: 71.97 kB / 0.5648 GB, free: 14.68 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02715/0.6195, allocations: 5.977 MB / 0.5706 GB, free: 8.746 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.6196, allocations: 0.5469 kB / 0.5706 GB, free: 8.746 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.538e-05/0.6196, allocations: 0 / 0.5706 GB, free: 8.746 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007135/0.6203, allocations: 410 kB / 0.571 GB, free: 8.301 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/0.6204, allocations: 16.03 kB / 0.571 GB, free: 8.285 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.235e-05/0.6205, allocations: 30.56 kB / 0.571 GB, free: 8.246 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.116e-05/0.6205, allocations: 11.34 kB / 0.5711 GB, free: 8.238 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004023/0.6209, allocations: 210.8 kB / 0.5713 GB, free: 7.992 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.621, allocations: 0 / 0.5713 GB, free: 7.992 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.907e-05/0.621, allocations: 7.984 kB / 0.5713 GB, free: 7.984 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002232/0.6212, allocations: 75.39 kB / 0.5713 GB, free: 7.898 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.6213, allocations: 3.938 kB / 0.5713 GB, free: 7.898 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.6213, allocations: 4 kB / 0.5713 GB, free: 7.895 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.6213, allocations: 0 / 0.5713 GB, free: 7.895 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.6214, allocations: 23.94 kB / 0.5714 GB, free: 7.871 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005113/0.622, allocations: 288.8 kB / 0.5716 GB, free: 7.539 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002799/0.6223, allocations: 62.66 kB / 0.5717 GB, free: 7.469 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.6223, allocations: 8 kB / 0.5717 GB, free: 7.461 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002097/0.6225, allocations: 71.44 kB / 0.5718 GB, free: 7.379 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.225e-06/0.6225, allocations: 0 / 0.5718 GB, free: 7.379 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008403/0.6234, allocations: 169.3 kB / 0.5719 GB, free: 7.207 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.398e-05/0.6235, allocations: 89.05 kB / 0.572 GB, free: 7.102 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002143/0.6237, allocations: 143.2 kB / 0.5722 GB, free: 6.957 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.6237, allocations: 25.7 kB / 0.5722 GB, free: 6.926 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.15e-05/0.6238, allocations: 166.6 kB / 0.5723 GB, free: 6.762 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.159e-05/0.6239, allocations: 23.7 kB / 0.5724 GB, free: 6.738 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.394e-06/0.6239, allocations: 0 / 0.5724 GB, free: 6.738 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.624, allocations: 310.8 kB / 0.5727 GB, free: 6.426 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.6241, allocations: 23.98 kB / 0.5727 GB, free: 6.402 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.6243, allocations: 42.56 kB / 0.5727 GB, free: 6.352 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.6244, allocations: 28.03 kB / 0.5728 GB, free: 6.324 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.6244, allocations: 0 / 0.5728 GB, free: 6.324 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003044/0.6247, allocations: 101.5 kB / 0.5729 GB, free: 6.219 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.6248, allocations: 7.953 kB / 0.5729 GB, free: 6.211 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.6248, allocations: 0 / 0.5729 GB, free: 6.211 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.6248, allocations: 4 kB / 0.5729 GB, free: 6.207 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.625, allocations: 17.02 kB / 0.5729 GB, free: 6.191 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.625, allocations: 0 / 0.5729 GB, free: 6.191 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.6251, allocations: 8 kB / 0.5729 GB, free: 6.184 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.6251, allocations: 7.969 kB / 0.5729 GB, free: 6.176 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001506/0.6253, allocations: 125.8 kB / 0.573 GB, free: 6.043 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.189e-05/0.6253, allocations: 7.906 kB / 0.573 GB, free: 6.035 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003983/0.6257, allocations: 126.4 kB / 0.5731 GB, free: 5.906 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.6258, allocations: 96 / 0.5731 GB, free: 5.906 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.6258, allocations: 3.938 kB / 0.5731 GB, free: 5.902 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.6258, allocations: 0 / 0.5731 GB, free: 5.902 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007211/0.6265, allocations: 411.2 kB / 0.5735 GB, free: 5.441 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.6266, allocations: 3.953 kB / 0.5735 GB, free: 5.438 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.741e-05/0.6266, allocations: 8.375 kB / 0.5735 GB, free: 5.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.205e-06/0.6267, allocations: 3.984 kB / 0.5736 GB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.6267, allocations: 4 kB / 0.5736 GB, free: 5.422 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.254e-06/0.6267, allocations: 4 kB / 0.5736 GB, free: 5.418 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.6267, allocations: 0 / 0.5736 GB, free: 5.418 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004211/0.6271, allocations: 229.8 kB / 0.5738 GB, free: 5.168 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.35e-05/0.6272, allocations: 89 kB / 0.5739 GB, free: 5.062 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.967e-05/0.6273, allocations: 4 kB / 0.5739 GB, free: 5.059 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.6274, allocations: 4 kB / 0.5739 GB, free: 5.055 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.408e-05/0.6275, allocations: 7.984 kB / 0.5739 GB, free: 5.047 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.6275, allocations: 4 kB / 0.5739 GB, free: 5.043 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001744/0.6277, allocations: 123 kB / 0.574 GB, free: 4.926 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6277, allocations: 4 kB / 0.574 GB, free: 4.922 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003997/0.6281, allocations: 35.98 kB / 0.574 GB, free: 4.887 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002303/0.6304, allocations: 1.241 MB / 0.5753 GB, free: 3.723 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003757/0.6309, allocations: 67.91 kB / 0.5753 GB, free: 3.656 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.6309, allocations: 0 / 0.5753 GB, free: 3.656 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.631, allocations: 31.98 kB / 0.5753 GB, free: 3.625 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003887/0.6314, allocations: 23.97 kB / 0.5754 GB, free: 3.602 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/0.6332, allocations: 0.8247 MB / 0.5762 GB, free: 2.711 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.6335, allocations: 0.7082 MB / 0.5769 GB, free: 1.977 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.6337, allocations: 31.42 kB / 0.5769 GB, free: 1.945 MB / 394.7 MB Notification: Performance of SimCode: time 1.323e-06/0.6337, allocations: 3.938 kB / 0.5769 GB, free: 1.941 MB / 394.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=2 -DSUNDIALS_MINOR_VERSION=6 -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_CombiTimeTable_Test56CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test56CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test56CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test56InitializeParameter.cpp:44:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp27; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test56InitializeParameter.cpp:45: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", tmp27); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test56CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test56Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test56Initialize.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", tmp9); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test56Initialize.cpp:300:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp15; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test56Initialize.cpp:301:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT2, tmp15); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test56CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test56.cpp:785:24: error: use of undeclared identifier 'tmp4' _t_new_P_fileName_ = tmp4; ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test56CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test56FMU.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_CombiTimeTable_Test56CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test56CalcHelperMain.o] Error 1