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.001524/0.001528, allocations: 182.2 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.346/2.346, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001661/0.001661, allocations: 90.64 kB / 267.5 MB, free: 14.11 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.3182/0.3182, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.951e-05/3.974e-05, allocations: 4 kB / 425.4 MB, free: 23.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1189, allocations: 58.86 MB / 484.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4813/0.6002, allocations: 87.84 MB / 0.5587 GB, free: 15.65 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000293/0.6006, allocations: 79.98 kB / 0.5588 GB, free: 15.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02569/0.6263, allocations: 5.768 MB / 0.5644 GB, free: 11.01 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.6263, allocations: 7.938 kB / 0.5644 GB, free: 11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.596e-05/0.6264, allocations: 3.938 kB / 0.5644 GB, free: 11 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.0005955/0.627, allocations: 398.2 kB / 0.5648 GB, free: 10.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.627, allocations: 8.031 kB / 0.5648 GB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.959e-05/0.6271, allocations: 30.56 kB / 0.5648 GB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.555e-05/0.6272, allocations: 7.906 kB / 0.5648 GB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003804/0.6275, allocations: 212.6 kB / 0.565 GB, free: 10.28 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.6276, allocations: 4 kB / 0.565 GB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.6276, allocations: 4 kB / 0.565 GB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.6278, allocations: 70.02 kB / 0.5651 GB, free: 10.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.6278, allocations: 0 / 0.5651 GB, free: 10.2 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.6279, allocations: 3.984 kB / 0.5651 GB, free: 10.2 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.6279, allocations: 4 kB / 0.5651 GB, free: 10.19 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.06e-05/0.628, allocations: 27.38 kB / 0.5651 GB, free: 10.17 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004911/0.6285, allocations: 283.1 kB / 0.5654 GB, free: 9.863 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.6287, allocations: 53 kB / 0.5655 GB, free: 9.812 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.156e-05/0.6287, allocations: 24.3 kB / 0.5655 GB, free: 9.789 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.6288, allocations: 0 / 0.5655 GB, free: 9.789 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001733/0.629, allocations: 70.08 kB / 0.5655 GB, free: 9.719 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.364e-06/0.629, allocations: 7.938 kB / 0.5656 GB, free: 9.711 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005992/0.6296, allocations: 150.3 kB / 0.5657 GB, free: 9.582 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.63e-05/0.6297, allocations: 85.09 kB / 0.5658 GB, free: 9.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.6299, allocations: 138.5 kB / 0.5659 GB, free: 9.355 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.6299, allocations: 25.7 kB / 0.5659 GB, free: 9.324 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.055e-05/0.63, allocations: 161.8 kB / 0.5661 GB, free: 9.172 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.005e-05/0.6301, allocations: 26.81 kB / 0.5661 GB, free: 9.148 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-06/0.6301, allocations: 4 kB / 0.5661 GB, free: 9.145 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.6302, allocations: 314.1 kB / 0.5664 GB, free: 8.832 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.292e-05/0.6303, allocations: 22.88 kB / 0.5664 GB, free: 8.816 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.821e-05/0.6304, allocations: 41.31 kB / 0.5665 GB, free: 8.773 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.735e-05/0.6305, allocations: 29.25 kB / 0.5665 GB, free: 8.754 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.6305, allocations: 0 / 0.5665 GB, free: 8.754 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002233/0.6307, allocations: 85.98 kB / 0.5666 GB, free: 8.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.6308, allocations: 11.95 kB / 0.5666 GB, free: 8.668 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.6308, allocations: 0 / 0.5666 GB, free: 8.668 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.6308, allocations: 4.062 kB / 0.5666 GB, free: 8.664 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.631, allocations: 15.94 kB / 0.5666 GB, free: 8.648 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.631, allocations: 4.188 kB / 0.5666 GB, free: 8.645 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.925e-05/0.6311, allocations: 3.984 kB / 0.5666 GB, free: 8.641 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.6311, allocations: 7.938 kB / 0.5666 GB, free: 8.633 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 9.987e-05/0.6313, allocations: 109.9 kB / 0.5667 GB, free: 8.523 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.6313, allocations: 7.906 kB / 0.5667 GB, free: 8.516 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003179/0.6316, allocations: 122.7 kB / 0.5669 GB, free: 8.418 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.6316, allocations: 4 kB / 0.5669 GB, free: 8.414 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.6317, allocations: 0 / 0.5669 GB, free: 8.414 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.6317, allocations: 0 / 0.5669 GB, free: 8.414 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006167/0.6323, allocations: 404.7 kB / 0.5673 GB, free: 7.996 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.6323, allocations: 0 / 0.5673 GB, free: 7.996 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.6324, allocations: 8 kB / 0.5673 GB, free: 7.988 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.6324, allocations: 0 / 0.5673 GB, free: 7.988 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/0.6325, allocations: 11.3 kB / 0.5673 GB, free: 7.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.6325, allocations: 4.031 kB / 0.5673 GB, free: 7.977 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.307e-06/0.6325, allocations: 0 / 0.5673 GB, free: 7.977 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003071/0.6328, allocations: 216.8 kB / 0.5675 GB, free: 7.758 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.692e-05/0.6329, allocations: 85.02 kB / 0.5676 GB, free: 7.656 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.642e-05/0.633, allocations: 11.3 kB / 0.5676 GB, free: 7.648 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.6331, allocations: 4.188 kB / 0.5676 GB, free: 7.645 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.6e-05/0.6332, allocations: 15.19 kB / 0.5676 GB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/0.6332, allocations: 11.98 kB / 0.5676 GB, free: 7.621 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001357/0.6333, allocations: 116.5 kB / 0.5677 GB, free: 7.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6334, allocations: 0 / 0.5677 GB, free: 7.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003875/0.6337, allocations: 35.44 kB / 0.5677 GB, free: 7.488 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.001942/0.6357, allocations: 1.182 MB / 0.5689 GB, free: 6.355 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002393/0.636, allocations: 54.06 kB / 0.569 GB, free: 6.316 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.636, allocations: 0 / 0.569 GB, free: 6.316 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.196e-05/0.6361, allocations: 35.73 kB / 0.569 GB, free: 6.289 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/0.6365, allocations: 28 kB / 0.569 GB, free: 6.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007515/0.6373, allocations: 222.5 kB / 0.5692 GB, free: 6.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.6377, allocations: 0.7037 MB / 0.5699 GB, free: 5.293 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.6378, allocations: 37.16 kB / 0.5699 GB, free: 5.266 MB / 378.7 MB Notification: Performance of SimCode: time 1.102e-06/0.6378, 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_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