Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test84",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.00197/0.001977, allocations: 178.8 kB / 8.363 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.052/2.052, allocations: 205.3 MB / 214.1 MB, free: 14.16 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001121/0.001121, allocations: 88.02 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2986/0.2986, allocations: 43.49 MB / 353.6 MB, free: 2.289 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.885e-05/2.884e-05, allocations: 8.219 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4218/0.4218, allocations: 58.86 MB / 477.2 MB, free: 5.156 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1926/0.6145, allocations: 87.18 MB / 0.5511 GB, free: 12.03 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/0.6149, allocations: 75.95 kB / 0.5512 GB, free: 11.95 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02567/0.6406, allocations: 5.639 MB / 0.5567 GB, free: 6.316 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.6406, allocations: 3.938 kB / 0.5567 GB, free: 6.312 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.41e-05/0.6406, allocations: 0 / 0.5567 GB, free: 6.312 MB / 395.1 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.0005733/0.6412, allocations: 394.8 kB / 0.5571 GB, free: 5.883 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.6413, allocations: 8.031 kB / 0.5571 GB, free: 5.875 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.207e-05/0.6413, allocations: 7.906 kB / 0.5571 GB, free: 5.867 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003842/0.6417, allocations: 206.8 kB / 0.5573 GB, free: 5.625 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.6418, allocations: 7.984 kB / 0.5573 GB, free: 5.617 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/0.6418, allocations: 0 / 0.5573 GB, free: 5.617 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.895e-05/0.6419, allocations: 23.94 kB / 0.5573 GB, free: 5.594 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.6421, allocations: 59.39 kB / 0.5574 GB, free: 5.523 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.6421, allocations: 4 kB / 0.5574 GB, free: 5.52 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.6422, allocations: 0 / 0.5574 GB, free: 5.52 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.6422, allocations: 4 kB / 0.5574 GB, free: 5.516 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004393/0.6426, allocations: 261.5 kB / 0.5577 GB, free: 5.223 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.6428, allocations: 54.62 kB / 0.5577 GB, free: 5.16 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.248e-05/0.6429, allocations: 16.98 kB / 0.5577 GB, free: 5.141 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.6429, allocations: 0 / 0.5577 GB, free: 5.141 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001706/0.6431, allocations: 71.39 kB / 0.5578 GB, free: 5.059 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 5.841e-06/0.6431, allocations: 3.984 kB / 0.5578 GB, free: 5.055 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005806/0.6437, allocations: 153.1 kB / 0.5579 GB, free: 4.898 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.027e-05/0.6437, allocations: 85.09 kB / 0.558 GB, free: 4.797 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.6439, allocations: 136.4 kB / 0.5582 GB, free: 4.66 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.644, allocations: 25.7 kB / 0.5582 GB, free: 4.629 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.866e-05/0.6441, allocations: 158.6 kB / 0.5583 GB, free: 4.473 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.988e-05/0.6441, allocations: 27.64 kB / 0.5584 GB, free: 4.445 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.982e-06/0.6441, allocations: 0 / 0.5584 GB, free: 4.445 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.6443, allocations: 322.8 kB / 0.5587 GB, free: 4.121 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.473e-05/0.6444, allocations: 16 kB / 0.5587 GB, free: 4.105 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.12e-05/0.6444, allocations: 42.56 kB / 0.5587 GB, free: 4.055 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.221e-05/0.6445, allocations: 19.94 kB / 0.5587 GB, free: 4.035 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.6445, allocations: 0 / 0.5587 GB, free: 4.035 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000214/0.6448, allocations: 85.67 kB / 0.5588 GB, free: 3.945 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.6448, allocations: 4 kB / 0.5588 GB, free: 3.941 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.6448, allocations: 4.062 kB / 0.5588 GB, free: 3.938 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.6448, allocations: 3.953 kB / 0.5588 GB, free: 3.934 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.645, allocations: 19.94 kB / 0.5589 GB, free: 3.914 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.645, allocations: 0 / 0.5589 GB, free: 3.914 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.574e-05/0.6451, allocations: 3.984 kB / 0.5589 GB, free: 3.91 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.6452, allocations: 4 kB / 0.5589 GB, free: 3.906 MB / 395.1 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.678e-05/0.6453, allocations: 105 kB / 0.559 GB, free: 3.797 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002217/0.6455, allocations: 97.7 kB / 0.5591 GB, free: 3.695 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.068e-05/0.6455, allocations: 15.86 kB / 0.5591 GB, free: 3.68 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002961/0.6458, allocations: 110.1 kB / 0.5592 GB, free: 3.566 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.6459, allocations: 0 / 0.5592 GB, free: 3.566 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.6459, allocations: 3.984 kB / 0.5592 GB, free: 3.562 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.6459, allocations: 0 / 0.5592 GB, free: 3.562 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005865/0.6465, allocations: 363.9 kB / 0.5595 GB, free: 3.16 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.6465, allocations: 3.953 kB / 0.5595 GB, free: 3.156 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.429e-05/0.6466, allocations: 12 kB / 0.5595 GB, free: 3.145 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.6466, allocations: 4.031 kB / 0.5595 GB, free: 3.141 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.6466, allocations: 3.984 kB / 0.5595 GB, free: 3.137 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.6467, allocations: 4 kB / 0.5596 GB, free: 3.133 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.6467, allocations: 3.938 kB / 0.5596 GB, free: 3.129 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002955/0.647, allocations: 210.2 kB / 0.5598 GB, free: 2.898 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.181e-05/0.6471, allocations: 85.11 kB / 0.5598 GB, free: 2.797 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.555e-05/0.6471, allocations: 15.86 kB / 0.5599 GB, free: 2.781 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.6473, allocations: 4 kB / 0.5599 GB, free: 2.777 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.875e-05/0.6473, allocations: 11.92 kB / 0.5599 GB, free: 2.766 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.6473, allocations: 4 kB / 0.5599 GB, free: 2.762 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001293/0.6475, allocations: 115.3 kB / 0.56 GB, free: 2.648 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6475, allocations: 0 / 0.56 GB, free: 2.648 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004153/0.6479, allocations: 35.94 kB / 0.56 GB, free: 2.613 MB / 395.1 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.001851/0.6498, allocations: 1.14 MB / 0.5611 GB, free: 1.477 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002102/0.65, allocations: 51.92 kB / 0.5612 GB, free: 1.426 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.6501, allocations: 8.062 kB / 0.5612 GB, free: 1.418 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.905e-05/0.6502, allocations: 27.98 kB / 0.5612 GB, free: 1.391 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.6506, allocations: 31.72 kB / 0.5612 GB, free: 1.359 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007419/0.6513, allocations: 221.2 kB / 0.5615 GB, free: 1.094 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.6517, allocations: 0.7002 MB / 0.5621 GB, free: 376 kB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.6518, allocations: 39.47 kB / 0.5622 GB, free: 336 kB / 395.1 MB Notification: Performance of SimCode: time 8.22e-07/0.6518, allocations: 0 / 0.5622 GB, free: 336 kB / 395.1 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/OMCompiler/build/include/omc/cpp" -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c/sundials" -I"." -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test84CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test84CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test84CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test84InitializeParameter.cpp:44:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp27; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test84InitializeParameter.cpp:45:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Resources/Data/Tables/test_utf8.txt", tmp27); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test84CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test84Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test84Initialize.cpp:96:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Resources/Data/Tables/test_utf8.txt", tmp9); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test84Initialize.cpp:300:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp15; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test84Initialize.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_Test84CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test84.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_Test84CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test84FMU.cpp:11: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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_Test84CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test84CalcHelperMain.o] Error 1