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.003173/0.003176, allocations: 182.4 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.144/2.144, 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.001167/0.001167, allocations: 89.98 kB / 267.5 MB, free: 14.05 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.292/0.292, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.25e-05/4.307e-05, allocations: 4 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1321, allocations: 58.86 MB / 484.2 MB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.519/0.6511, allocations: 87.85 MB / 0.5587 GB, free: 15.63 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/0.6515, allocations: 75.38 kB / 0.5588 GB, free: 15.6 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02673/0.6782, allocations: 5.771 MB / 0.5644 GB, free: 10.99 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.6783, allocations: 7.828 kB / 0.5644 GB, free: 10.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.881e-05/0.6783, allocations: 4 kB / 0.5644 GB, free: 10.98 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006284/0.679, allocations: 393.2 kB / 0.5648 GB, free: 10.56 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.679, allocations: 8.031 kB / 0.5648 GB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.58e-05/0.6791, allocations: 37.81 kB / 0.5648 GB, free: 10.51 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.394e-05/0.6791, allocations: 7.906 kB / 0.5648 GB, free: 10.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004033/0.6796, allocations: 208 kB / 0.565 GB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.6796, allocations: 0 / 0.565 GB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.6796, allocations: 8 kB / 0.565 GB, free: 10.26 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.6798, allocations: 65.39 kB / 0.5651 GB, free: 10.19 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.6799, allocations: 4 kB / 0.5651 GB, free: 10.19 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.6799, allocations: 0 / 0.5651 GB, free: 10.19 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.6799, allocations: 0 / 0.5651 GB, free: 10.19 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.165e-05/0.68, allocations: 30.94 kB / 0.5651 GB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005033/0.6805, allocations: 274.2 kB / 0.5654 GB, free: 9.863 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.6807, allocations: 57.06 kB / 0.5654 GB, free: 9.809 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.466e-05/0.6808, allocations: 23.8 kB / 0.5655 GB, free: 9.789 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.723e-05/0.6808, allocations: 4 kB / 0.5655 GB, free: 9.785 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001964/0.681, allocations: 70.52 kB / 0.5655 GB, free: 9.711 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.485e-06/0.6811, allocations: 0 / 0.5655 GB, free: 9.711 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006493/0.6817, allocations: 165.3 kB / 0.5657 GB, free: 9.566 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.9e-05/0.6818, allocations: 80.67 kB / 0.5658 GB, free: 9.473 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.682, allocations: 135.2 kB / 0.5659 GB, free: 9.348 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.089e-05/0.6821, allocations: 33.58 kB / 0.5659 GB, free: 9.312 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.164e-05/0.6822, allocations: 154 kB / 0.5661 GB, free: 9.164 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.11e-05/0.6822, allocations: 27.2 kB / 0.5661 GB, free: 9.141 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.305e-06/0.6822, allocations: 3.438 kB / 0.5661 GB, free: 9.141 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.6824, allocations: 310.8 kB / 0.5664 GB, free: 8.828 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.44e-05/0.6825, allocations: 22.94 kB / 0.5664 GB, free: 8.812 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.039e-05/0.6826, allocations: 48.69 kB / 0.5665 GB, free: 8.766 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.247e-05/0.6827, allocations: 31.17 kB / 0.5665 GB, free: 8.742 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.6827, allocations: 0 / 0.5665 GB, free: 8.742 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002376/0.6829, allocations: 85.94 kB / 0.5666 GB, free: 8.668 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.683, allocations: 7.953 kB / 0.5666 GB, free: 8.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.683, allocations: 0 / 0.5666 GB, free: 8.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.683, allocations: 8.062 kB / 0.5666 GB, free: 8.652 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/0.6832, allocations: 19.92 kB / 0.5666 GB, free: 8.633 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.6832, allocations: 0 / 0.5666 GB, free: 8.633 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.6833, allocations: 4 kB / 0.5666 GB, free: 8.629 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.6834, allocations: 4 kB / 0.5666 GB, free: 8.625 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 (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.0001062/0.6835, allocations: 106.4 kB / 0.5667 GB, free: 8.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.552e-05/0.6835, allocations: 11.91 kB / 0.5667 GB, free: 8.508 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003488/0.6839, allocations: 117.7 kB / 0.5669 GB, free: 8.414 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-06/0.6839, allocations: 4 kB / 0.5669 GB, free: 8.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.6839, allocations: 0 / 0.5669 GB, free: 8.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.684, allocations: 4 kB / 0.5669 GB, free: 8.406 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006462/0.6846, allocations: 400.9 kB / 0.5672 GB, free: 7.992 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.6846, allocations: 0 / 0.5672 GB, free: 7.992 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.825e-05/0.6847, allocations: 11.98 kB / 0.5673 GB, free: 7.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/0.6847, allocations: 4 kB / 0.5673 GB, free: 7.977 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.6848, allocations: 3.5 kB / 0.5673 GB, free: 7.977 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.6848, allocations: 0 / 0.5673 GB, free: 7.977 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.6848, allocations: 4.031 kB / 0.5673 GB, free: 7.973 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003501/0.6852, allocations: 214.8 kB / 0.5675 GB, free: 7.754 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.589e-05/0.6853, allocations: 100.5 kB / 0.5676 GB, free: 7.641 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.009e-05/0.6853, allocations: 4 kB / 0.5676 GB, free: 7.637 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.6855, allocations: 3.375 kB / 0.5676 GB, free: 7.637 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.557e-05/0.6855, allocations: 15.92 kB / 0.5676 GB, free: 7.621 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.6856, allocations: 4 kB / 0.5676 GB, free: 7.617 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001573/0.6857, allocations: 117.9 kB / 0.5677 GB, free: 7.516 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6857, allocations: 0 / 0.5677 GB, free: 7.516 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004072/0.6862, allocations: 39.61 kB / 0.5677 GB, free: 7.48 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 (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.002036/0.6882, allocations: 1.178 MB / 0.5689 GB, free: 6.355 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002718/0.6885, allocations: 64.73 kB / 0.569 GB, free: 6.309 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.6885, allocations: 0 / 0.569 GB, free: 6.309 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.6887, allocations: 30.75 kB / 0.569 GB, free: 6.285 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004253/0.6891, allocations: 24.75 kB / 0.569 GB, free: 6.266 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007914/0.6899, allocations: 223.3 kB / 0.5692 GB, free: 6.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.6903, allocations: 0.7082 MB / 0.5699 GB, free: 5.285 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.6904, allocations: 30.67 kB / 0.5699 GB, free: 5.266 MB / 378.7 MB Notification: Performance of SimCode: time 1.583e-06/0.6904, allocations: 0 / 0.5699 GB, free: 5.266 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_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