Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test60",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.002205/0.002204, allocations: 186.1 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.171/2.171, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001226/0.001226, allocations: 80.44 kB / 270.9 MB, free: 8.379 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.5102/0.5102, allocations: 43.56 MB / 362.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004647/0.0004645, allocations: 15.98 kB / 431.5 MB, free: 6.074 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1303, allocations: 58.86 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4652/0.5956, allocations: 87.93 MB / 0.5647 GB, free: 14.6 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/0.596, allocations: 75.97 kB / 0.5648 GB, free: 14.53 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02659/0.6226, allocations: 5.967 MB / 0.5706 GB, free: 8.605 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.6227, allocations: 0 / 0.5706 GB, free: 8.605 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.224e-05/0.6227, allocations: 8 kB / 0.5706 GB, free: 8.598 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.0007043/0.6234, allocations: 409.8 kB / 0.571 GB, free: 8.156 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/0.6235, allocations: 12.03 kB / 0.571 GB, free: 8.145 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.459e-05/0.6235, allocations: 30.56 kB / 0.571 GB, free: 8.105 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.881e-05/0.6236, allocations: 11.34 kB / 0.5711 GB, free: 8.098 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003863/0.624, allocations: 214.7 kB / 0.5713 GB, free: 7.848 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.624, allocations: 0 / 0.5713 GB, free: 7.848 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.608e-05/0.6241, allocations: 8 kB / 0.5713 GB, free: 7.84 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002179/0.6243, allocations: 71.39 kB / 0.5713 GB, free: 7.758 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.6243, allocations: 5.031 kB / 0.5713 GB, free: 7.754 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.6244, allocations: 0 / 0.5713 GB, free: 7.754 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.6244, allocations: 0 / 0.5713 GB, free: 7.754 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.6245, allocations: 31.86 kB / 0.5714 GB, free: 7.723 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005128/0.625, allocations: 288.8 kB / 0.5716 GB, free: 7.391 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002529/0.6253, allocations: 58.69 kB / 0.5717 GB, free: 7.324 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.6253, allocations: 0 / 0.5717 GB, free: 7.324 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002125/0.6256, allocations: 75.44 kB / 0.5718 GB, free: 7.238 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.884e-06/0.6256, allocations: 0 / 0.5718 GB, free: 7.238 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008457/0.6264, allocations: 177.2 kB / 0.5719 GB, free: 7.059 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.757e-05/0.6265, allocations: 85.11 kB / 0.572 GB, free: 6.957 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.6268, allocations: 142.3 kB / 0.5722 GB, free: 6.812 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.232e-05/0.6268, allocations: 25.7 kB / 0.5722 GB, free: 6.781 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.397e-05/0.6269, allocations: 162.6 kB / 0.5723 GB, free: 6.621 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.221e-05/0.627, allocations: 23.7 kB / 0.5724 GB, free: 6.598 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-06/0.627, allocations: 0 / 0.5724 GB, free: 6.598 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.6271, allocations: 314.8 kB / 0.5727 GB, free: 6.281 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.408e-05/0.6272, allocations: 19.98 kB / 0.5727 GB, free: 6.262 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.6274, allocations: 46.56 kB / 0.5727 GB, free: 6.207 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.6275, allocations: 27.98 kB / 0.5728 GB, free: 6.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.6275, allocations: 0 / 0.5728 GB, free: 6.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003121/0.6278, allocations: 98.27 kB / 0.5728 GB, free: 6.078 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.6279, allocations: 7.953 kB / 0.5729 GB, free: 6.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.6279, allocations: 0 / 0.5729 GB, free: 6.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.6279, allocations: 4.062 kB / 0.5729 GB, free: 6.066 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.6281, allocations: 23.98 kB / 0.5729 GB, free: 6.043 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.6281, allocations: 4.719 kB / 0.5729 GB, free: 6.039 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.89e-05/0.6282, allocations: 4 kB / 0.5729 GB, free: 6.035 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.6282, allocations: 0 / 0.5729 GB, free: 6.035 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.0001448/0.6284, allocations: 129.9 kB / 0.573 GB, free: 5.898 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.263e-05/0.6284, allocations: 7.906 kB / 0.573 GB, free: 5.891 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000413/0.6289, allocations: 130.3 kB / 0.5731 GB, free: 5.758 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.6289, allocations: 4 kB / 0.5731 GB, free: 5.754 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.6289, allocations: 0 / 0.5731 GB, free: 5.754 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.6289, allocations: 0 / 0.5731 GB, free: 5.754 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000723/0.6296, allocations: 407.2 kB / 0.5735 GB, free: 5.297 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.6297, allocations: 3.953 kB / 0.5735 GB, free: 5.293 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.6298, allocations: 11.98 kB / 0.5736 GB, free: 5.281 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.002e-06/0.6298, allocations: 0 / 0.5736 GB, free: 5.281 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.6298, allocations: 4.375 kB / 0.5736 GB, free: 5.277 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.6298, allocations: 4.031 kB / 0.5736 GB, free: 5.273 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.6298, allocations: 0 / 0.5736 GB, free: 5.273 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003915/0.6302, allocations: 229.8 kB / 0.5738 GB, free: 5.023 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.543e-05/0.6303, allocations: 89 kB / 0.5739 GB, free: 4.918 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.648e-05/0.6304, allocations: 4 kB / 0.5739 GB, free: 4.914 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.6305, allocations: 11.98 kB / 0.5739 GB, free: 4.902 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.666e-05/0.6306, allocations: 4 kB / 0.5739 GB, free: 4.898 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.6306, allocations: 4 kB / 0.5739 GB, free: 4.895 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001638/0.6308, allocations: 121.3 kB / 0.574 GB, free: 4.777 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.6308, allocations: 3.938 kB / 0.574 GB, free: 4.773 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003987/0.6312, allocations: 35.98 kB / 0.574 GB, free: 4.738 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.002172/0.6334, allocations: 1.234 MB / 0.5752 GB, free: 3.582 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003603/0.6338, allocations: 59.92 kB / 0.5753 GB, free: 3.523 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.6338, allocations: 0 / 0.5753 GB, free: 3.523 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.6339, allocations: 35.97 kB / 0.5753 GB, free: 3.488 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.6343, allocations: 24.28 kB / 0.5754 GB, free: 3.465 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.6361, allocations: 0.8363 MB / 0.5762 GB, free: 2.562 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003681/0.6365, allocations: 0.7043 MB / 0.5769 GB, free: 1.832 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.6366, allocations: 31.42 kB / 0.5769 GB, free: 1.801 MB / 394.7 MB Notification: Performance of SimCode: time 1.042e-06/0.6366, allocations: 0 / 0.5769 GB, free: 1.801 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_Test60CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test60CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test60CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test60InitializeParameter.cpp:44:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp27; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test60InitializeParameter.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.txt", tmp27); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test60CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test60Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test60Initialize.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_CombiTimeTable_Test60Initialize.cpp:300:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp15; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test60Initialize.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_Test60CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test60.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_Test60CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test60FMU.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_Test60CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test60CalcHelperMain.o] Error 1