Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test84",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.002415/0.002415, allocations: 186.2 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.267/2.267, 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.001179/0.001178, allocations: 103.2 kB / 270.9 MB, free: 8.387 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.5451/0.5451, allocations: 43.55 MB / 362.7 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004971/0.0004972, allocations: 20 kB / 431.5 MB, free: 5.855 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1348, allocations: 58.85 MB / 490.3 MB, free: 10.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5049/0.6398, allocations: 87.93 MB / 0.5647 GB, free: 14.58 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003042/0.6401, allocations: 75.97 kB / 0.5648 GB, free: 14.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02693/0.6671, allocations: 5.966 MB / 0.5706 GB, free: 8.586 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.6671, allocations: 0 / 0.5706 GB, free: 8.586 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.928e-05/0.6672, allocations: 7.984 kB / 0.5706 GB, free: 8.578 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.0007142/0.6679, allocations: 406 kB / 0.571 GB, free: 8.137 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.668, allocations: 12.03 kB / 0.571 GB, free: 8.125 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.447e-05/0.668, allocations: 34.56 kB / 0.571 GB, free: 8.082 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.738e-05/0.6681, allocations: 11.34 kB / 0.5711 GB, free: 8.074 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003876/0.6685, allocations: 218.7 kB / 0.5713 GB, free: 7.82 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.6685, allocations: 4.5 kB / 0.5713 GB, free: 7.816 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.6685, allocations: 4 kB / 0.5713 GB, free: 7.812 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.6688, allocations: 67.39 kB / 0.5713 GB, free: 7.734 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.6688, allocations: 1.031 kB / 0.5713 GB, free: 7.734 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.6688, allocations: 8 kB / 0.5713 GB, free: 7.727 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.6688, allocations: 0 / 0.5713 GB, free: 7.727 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.669, allocations: 27.88 kB / 0.5714 GB, free: 7.699 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000488/0.6695, allocations: 284.8 kB / 0.5716 GB, free: 7.371 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002539/0.6697, allocations: 54.69 kB / 0.5717 GB, free: 7.309 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.6698, allocations: 4 kB / 0.5717 GB, free: 7.305 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002156/0.67, allocations: 75.44 kB / 0.5718 GB, free: 7.219 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.754e-06/0.67, allocations: 0 / 0.5718 GB, free: 7.219 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007946/0.6708, allocations: 181.2 kB / 0.5719 GB, free: 7.035 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.55e-05/0.6709, allocations: 77.11 kB / 0.572 GB, free: 6.941 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/0.6712, allocations: 147.2 kB / 0.5722 GB, free: 6.793 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.6712, allocations: 25.7 kB / 0.5722 GB, free: 6.762 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.709e-05/0.6713, allocations: 166.6 kB / 0.5723 GB, free: 6.598 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.759e-05/0.6714, allocations: 27.69 kB / 0.5724 GB, free: 6.57 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-06/0.6714, allocations: 0 / 0.5724 GB, free: 6.57 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.6715, allocations: 314.8 kB / 0.5727 GB, free: 6.254 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.6716, allocations: 19.98 kB / 0.5727 GB, free: 6.234 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.6718, allocations: 46.5 kB / 0.5727 GB, free: 6.18 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.6719, allocations: 32.02 kB / 0.5728 GB, free: 6.148 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.6719, allocations: 0 / 0.5728 GB, free: 6.148 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003004/0.6722, allocations: 94.31 kB / 0.5728 GB, free: 6.051 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.6723, allocations: 11.95 kB / 0.5729 GB, free: 6.039 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.6723, allocations: 0 / 0.5729 GB, free: 6.039 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.6723, allocations: 0 / 0.5729 GB, free: 6.039 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.6725, allocations: 19.98 kB / 0.5729 GB, free: 6.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.6725, allocations: 3.938 kB / 0.5729 GB, free: 6.016 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.464e-05/0.6726, allocations: 0 / 0.5729 GB, free: 6.016 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.6726, allocations: 4.656 kB / 0.5729 GB, free: 6.012 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.0001704/0.6728, allocations: 133.8 kB / 0.573 GB, free: 5.871 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.133e-05/0.6728, allocations: 11.84 kB / 0.573 GB, free: 5.859 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00041/0.6732, allocations: 118.4 kB / 0.5731 GB, free: 5.738 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.6733, allocations: 4 kB / 0.5731 GB, free: 5.734 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.6733, allocations: 0 / 0.5731 GB, free: 5.734 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.6733, allocations: 0 / 0.5731 GB, free: 5.734 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007474/0.6741, allocations: 407.2 kB / 0.5735 GB, free: 5.277 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.6741, allocations: 7.953 kB / 0.5735 GB, free: 5.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.53e-05/0.6742, allocations: 11.98 kB / 0.5736 GB, free: 5.258 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.6742, allocations: 0 / 0.5736 GB, free: 5.258 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.6742, allocations: 8.375 kB / 0.5736 GB, free: 5.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.6742, allocations: 0 / 0.5736 GB, free: 5.25 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.6742, allocations: 4 kB / 0.5736 GB, free: 5.246 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003928/0.6746, allocations: 225.8 kB / 0.5738 GB, free: 5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.116e-05/0.6747, allocations: 93 kB / 0.5739 GB, free: 4.891 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.435e-05/0.6748, allocations: 0 / 0.5739 GB, free: 4.891 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.6749, allocations: 4 kB / 0.5739 GB, free: 4.887 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.675, allocations: 7.984 kB / 0.5739 GB, free: 4.879 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.675, allocations: 8 kB / 0.5739 GB, free: 4.871 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001756/0.6752, allocations: 119.4 kB / 0.574 GB, free: 4.758 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6752, allocations: 7.938 kB / 0.574 GB, free: 4.75 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004006/0.6756, allocations: 35.98 kB / 0.574 GB, free: 4.715 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.002194/0.6778, allocations: 1.242 MB / 0.5753 GB, free: 3.551 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003142/0.6782, allocations: 63.92 kB / 0.5753 GB, free: 3.488 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.6782, allocations: 0 / 0.5753 GB, free: 3.488 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.6783, allocations: 31.98 kB / 0.5753 GB, free: 3.457 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.6787, allocations: 23.97 kB / 0.5754 GB, free: 3.434 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/0.6805, allocations: 0.8289 MB / 0.5762 GB, free: 2.539 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.6809, allocations: 0.7043 MB / 0.5769 GB, free: 1.809 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.681, allocations: 35.42 kB / 0.5769 GB, free: 1.777 MB / 394.7 MB Notification: Performance of SimCode: time 1.393e-06/0.681, allocations: 0 / 0.5769 GB, free: 1.777 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_Test84CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test84CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test84CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test84InitializeParameter.cpp:44:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp27; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test84InitializeParameter.cpp:45:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Resources/Data/Tables/test_utf8.txt", tmp27); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test84CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test84Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test84Initialize.cpp:96:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Resources/Data/Tables/test_utf8.txt", tmp9); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test84Initialize.cpp:300:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp15; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test84Initialize.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_Test84CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test84.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_Test84CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test84FMU.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_Test84CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test84CalcHelperMain.o] Error 1