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.001515/0.001514, allocations: 182.1 kB / 13.66 MB, free: 1.664 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.265/2.265, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001096/0.001096, allocations: 90.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2786/0.2786, allocations: 43.48 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.065e-05/4.092e-05, allocations: 4 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1167, allocations: 58.86 MB / 484.2 MB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6044/0.7211, allocations: 87.85 MB / 0.5587 GB, free: 15.65 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/0.7215, allocations: 77.19 kB / 0.5588 GB, free: 15.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02816/0.7497, allocations: 6.022 MB / 0.5646 GB, free: 10.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.7497, allocations: 4 kB / 0.5647 GB, free: 10.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.559e-05/0.7497, allocations: 0 / 0.5647 GB, free: 10.79 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006244/0.7504, allocations: 398.1 kB / 0.565 GB, free: 10.36 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.7505, allocations: 8.031 kB / 0.565 GB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.97e-05/0.7505, allocations: 38.48 kB / 0.5651 GB, free: 10.31 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.816e-05/0.7506, allocations: 11.91 kB / 0.5651 GB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004001/0.751, allocations: 217.8 kB / 0.5653 GB, free: 10.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.751, allocations: 4 kB / 0.5653 GB, free: 10.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.7511, allocations: 0 / 0.5653 GB, free: 10.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.7513, allocations: 77.2 kB / 0.5654 GB, free: 9.969 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.7513, allocations: 0 / 0.5654 GB, free: 9.969 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.7514, allocations: 7.75 kB / 0.5654 GB, free: 9.965 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.7514, allocations: 0 / 0.5654 GB, free: 9.965 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.7515, allocations: 39.09 kB / 0.5654 GB, free: 9.934 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005297/0.7521, allocations: 301.5 kB / 0.5657 GB, free: 9.613 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002261/0.7523, allocations: 68.38 kB / 0.5658 GB, free: 9.551 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.207e-05/0.7524, allocations: 27.78 kB / 0.5658 GB, free: 9.527 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.7524, allocations: 3.938 kB / 0.5658 GB, free: 9.523 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001906/0.7526, allocations: 71.08 kB / 0.5659 GB, free: 9.449 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.264e-06/0.7526, allocations: 0 / 0.5659 GB, free: 9.449 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007153/0.7534, allocations: 178.6 kB / 0.566 GB, free: 9.301 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.038e-05/0.7535, allocations: 85.11 kB / 0.5661 GB, free: 9.199 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.7537, allocations: 148.3 kB / 0.5663 GB, free: 9.059 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.7537, allocations: 28.83 kB / 0.5663 GB, free: 9.027 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.403e-05/0.7538, allocations: 169.5 kB / 0.5664 GB, free: 8.867 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.345e-05/0.7539, allocations: 23.58 kB / 0.5665 GB, free: 8.848 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-06/0.7539, allocations: 0 / 0.5665 GB, free: 8.848 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.7541, allocations: 314.5 kB / 0.5668 GB, free: 8.535 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.031e-05/0.7541, allocations: 27.23 kB / 0.5668 GB, free: 8.516 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.7543, allocations: 49.14 kB / 0.5668 GB, free: 8.469 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.185e-05/0.7544, allocations: 34.52 kB / 0.5669 GB, free: 8.445 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.7544, allocations: 0 / 0.5669 GB, free: 8.445 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002809/0.7547, allocations: 103.2 kB / 0.567 GB, free: 8.355 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.7547, allocations: 4 kB / 0.567 GB, free: 8.352 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.7547, allocations: 4 kB / 0.567 GB, free: 8.348 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.7548, allocations: 0 / 0.567 GB, free: 8.348 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/0.7549, allocations: 27.38 kB / 0.567 GB, free: 8.324 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.755, allocations: 8.062 kB / 0.567 GB, free: 8.316 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.875e-05/0.7551, allocations: 0 / 0.567 GB, free: 8.316 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.7551, allocations: 4 kB / 0.567 GB, free: 8.312 MB / 378.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 () * 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.0001118/0.7552, allocations: 115.5 kB / 0.5671 GB, free: 8.199 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.443e-05/0.7553, allocations: 11.81 kB / 0.5671 GB, free: 8.188 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003905/0.7557, allocations: 138.8 kB / 0.5673 GB, free: 8.074 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.7557, allocations: 3.984 kB / 0.5673 GB, free: 8.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.7557, allocations: 3.953 kB / 0.5673 GB, free: 8.066 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.7557, allocations: 8 kB / 0.5673 GB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007126/0.7565, allocations: 430 kB / 0.5677 GB, free: 7.625 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.7565, allocations: 0 / 0.5677 GB, free: 7.625 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.7566, allocations: 12 kB / 0.5677 GB, free: 7.613 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.7566, allocations: 0 / 0.5677 GB, free: 7.613 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.7566, allocations: 10.89 kB / 0.5677 GB, free: 7.605 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.7567, allocations: 3.984 kB / 0.5677 GB, free: 7.602 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.7567, allocations: 3.938 kB / 0.5677 GB, free: 7.598 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003844/0.7571, allocations: 235.5 kB / 0.568 GB, free: 7.363 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.567e-05/0.7572, allocations: 99.89 kB / 0.568 GB, free: 7.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.716e-05/0.7572, allocations: 3.75 kB / 0.5681 GB, free: 7.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.7574, allocations: 4 kB / 0.5681 GB, free: 7.246 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.298e-05/0.7574, allocations: 7.984 kB / 0.5681 GB, free: 7.238 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.7575, allocations: 15.38 kB / 0.5681 GB, free: 7.227 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001596/0.7576, allocations: 126.5 kB / 0.5682 GB, free: 7.117 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.7576, allocations: 0 / 0.5682 GB, free: 7.117 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003985/0.758, allocations: 46.86 kB / 0.5682 GB, free: 7.078 MB / 378.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) * 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.002002/0.7601, allocations: 1.189 MB / 0.5694 GB, free: 5.938 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002758/0.7604, allocations: 76.11 kB / 0.5695 GB, free: 5.883 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.7604, allocations: 0 / 0.5695 GB, free: 5.883 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.7605, allocations: 38.31 kB / 0.5695 GB, free: 5.855 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004297/0.761, allocations: 26.47 kB / 0.5695 GB, free: 5.836 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008115/0.7618, allocations: 248 kB / 0.5698 GB, free: 5.562 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000357/0.7622, allocations: 0.7045 MB / 0.5705 GB, free: 4.832 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.7623, allocations: 41.03 kB / 0.5705 GB, free: 4.805 MB / 378.7 MB Notification: Performance of SimCode: time 1.022e-06/0.7623, allocations: 3.938 kB / 0.5705 GB, free: 4.801 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=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