Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test50",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.001519/0.001519, allocations: 187.6 kB / 16.41 MB, free: 5.723 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.075/2.075, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001169/0.001168, allocations: 92.41 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.5734/0.5734, allocations: 43.55 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005247/0.0005248, allocations: 12 kB / 431.5 MB, free: 6.07 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1425, allocations: 58.86 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5087/0.6513, allocations: 87.94 MB / 0.5647 GB, free: 14.59 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002952/0.6516, allocations: 75.95 kB / 0.5648 GB, free: 14.51 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02776/0.6794, allocations: 6.222 MB / 0.5709 GB, free: 8.336 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.936e-06/0.6795, allocations: 0 / 0.5709 GB, free: 8.336 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.162e-05/0.6795, allocations: 4.656 kB / 0.5709 GB, free: 8.332 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007457/0.6803, allocations: 429.8 kB / 0.5713 GB, free: 7.867 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.6803, allocations: 8.031 kB / 0.5713 GB, free: 7.859 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.46e-05/0.6804, allocations: 30.56 kB / 0.5713 GB, free: 7.82 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.586e-05/0.6805, allocations: 19.33 kB / 0.5713 GB, free: 7.805 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004566/0.6809, allocations: 204 kB / 0.5715 GB, free: 7.562 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.681, allocations: 4 kB / 0.5715 GB, free: 7.559 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.681, allocations: 7.375 kB / 0.5715 GB, free: 7.555 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002484/0.6813, allocations: 83.31 kB / 0.5716 GB, free: 7.461 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.6813, allocations: 0 / 0.5716 GB, free: 7.461 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.6813, allocations: 4 kB / 0.5716 GB, free: 7.457 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.6813, allocations: 1.031 kB / 0.5716 GB, free: 7.457 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001594/0.6815, allocations: 31.97 kB / 0.5717 GB, free: 7.426 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005793/0.6821, allocations: 304.8 kB / 0.5719 GB, free: 7.078 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003194/0.6824, allocations: 78.59 kB / 0.572 GB, free: 6.992 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.6825, allocations: 0 / 0.572 GB, free: 6.992 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002263/0.6827, allocations: 72.3 kB / 0.5721 GB, free: 6.91 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.974e-06/0.6827, allocations: 0 / 0.5721 GB, free: 6.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0009419/0.6837, allocations: 209.3 kB / 0.5723 GB, free: 6.699 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.775e-05/0.6838, allocations: 81.09 kB / 0.5724 GB, free: 6.602 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000251/0.684, allocations: 157.5 kB / 0.5725 GB, free: 6.438 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.6841, allocations: 29.7 kB / 0.5725 GB, free: 6.402 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.623e-05/0.6842, allocations: 158.6 kB / 0.5727 GB, free: 6.246 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.069e-05/0.6842, allocations: 43.55 kB / 0.5727 GB, free: 6.203 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.887e-06/0.6842, allocations: 3.938 kB / 0.5727 GB, free: 6.199 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.6844, allocations: 310.8 kB / 0.573 GB, free: 5.887 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.6845, allocations: 27.98 kB / 0.5731 GB, free: 5.859 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.6847, allocations: 54.55 kB / 0.5731 GB, free: 5.797 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.6848, allocations: 28 kB / 0.5731 GB, free: 5.77 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.6848, allocations: 0 / 0.5731 GB, free: 5.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003443/0.6852, allocations: 110.4 kB / 0.5733 GB, free: 5.656 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.6852, allocations: 4 kB / 0.5733 GB, free: 5.652 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.6852, allocations: 240 / 0.5733 GB, free: 5.652 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.6853, allocations: 7.984 kB / 0.5733 GB, free: 5.645 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.6855, allocations: 15.94 kB / 0.5733 GB, free: 5.629 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/0.6855, allocations: 12.12 kB / 0.5733 GB, free: 5.617 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.6856, allocations: 4.062 kB / 0.5733 GB, free: 5.613 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.245e-05/0.6856, allocations: 15.92 kB / 0.5733 GB, free: 5.598 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 (11): * Single equations (assignments): 11 * 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.0001548/0.6858, allocations: 121.8 kB / 0.5734 GB, free: 5.469 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.516e-05/0.6858, allocations: 7.906 kB / 0.5734 GB, free: 5.461 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004862/0.6863, allocations: 151.5 kB / 0.5736 GB, free: 5.305 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.6864, allocations: 0 / 0.5736 GB, free: 5.305 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.6864, allocations: 0 / 0.5736 GB, free: 5.305 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.6864, allocations: 7.953 kB / 0.5736 GB, free: 5.297 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008075/0.6872, allocations: 427.3 kB / 0.574 GB, free: 4.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.6872, allocations: 0 / 0.574 GB, free: 4.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.6873, allocations: 19.98 kB / 0.574 GB, free: 4.801 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.6874, allocations: 0 / 0.574 GB, free: 4.801 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.6874, allocations: 11.95 kB / 0.574 GB, free: 4.789 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.6874, allocations: 3.938 kB / 0.574 GB, free: 4.785 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.6874, allocations: 0 / 0.574 GB, free: 4.785 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004256/0.6878, allocations: 242 kB / 0.5743 GB, free: 4.523 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.727e-05/0.6879, allocations: 88.92 kB / 0.5743 GB, free: 4.418 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.519e-05/0.688, allocations: 11.94 kB / 0.5744 GB, free: 4.406 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.6881, allocations: 7.984 kB / 0.5744 GB, free: 4.398 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.061e-05/0.6882, allocations: 7.984 kB / 0.5744 GB, free: 4.391 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/0.6882, allocations: 8 kB / 0.5744 GB, free: 4.383 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001694/0.6884, allocations: 124.6 kB / 0.5745 GB, free: 4.262 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6884, allocations: 0 / 0.5745 GB, free: 4.262 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004492/0.6889, allocations: 47.92 kB / 0.5745 GB, free: 4.215 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 (11): * Single equations (assignments): 9 * 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.002178/0.6911, allocations: 1.248 MB / 0.5758 GB, free: 3.043 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003308/0.6914, allocations: 79.84 kB / 0.5758 GB, free: 2.965 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.6914, allocations: 0 / 0.5758 GB, free: 2.965 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.6916, allocations: 39.92 kB / 0.5759 GB, free: 2.926 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.692, allocations: 33.77 kB / 0.5759 GB, free: 2.895 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.6939, allocations: 0.8887 MB / 0.5768 GB, free: 1.949 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003669/0.6943, allocations: 0.7004 MB / 0.5775 GB, free: 1.223 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.6944, allocations: 43.41 kB / 0.5775 GB, free: 1.18 MB / 394.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6944, allocations: 0 / 0.5775 GB, free: 1.18 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_Test50CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test50CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test50CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test50InitializeParameter.cpp:46:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp29; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test50InitializeParameter.cpp:47: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", tmp29); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test50CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test50Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp10; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test50Initialize.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", tmp10); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test50Initialize.cpp:313:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp17; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test50Initialize.cpp:314:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT2, tmp17); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test50CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test50.cpp:807:24: error: use of undeclared identifier 'tmp5' _t_new_P_fileName_ = tmp5; ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test50CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test50FMU.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_Test50CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test50CalcHelperMain.o] Error 1