Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 115.8 kB / 17.75 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 185.8 kB / 18.68 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.499e-05/2.5e-05, allocations: 2.281 kB / 351.9 MB, free: 3.32 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002294/0.002327, allocations: 1.357 MB / 353.3 MB, free: 1.953 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.4048/0.4071, allocations: 148.7 MB / 0.4902 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.692e-05/0.4072, allocations: 0 / 0.4902 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 3.529e-05/0.4073, allocations: 3.938 kB / 0.4902 GB, free: 13.6 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001059/0.4083, allocations: 241.6 kB / 0.4905 GB, free: 13.37 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.4095, allocations: 394.1 kB / 0.4909 GB, free: 13 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.4096, allocations: 59.7 kB / 0.4909 GB, free: 12.94 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.741e-05/0.4097, allocations: 11.66 kB / 0.4909 GB, free: 12.93 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.524e-05/0.4097, allocations: 23.92 kB / 0.4909 GB, free: 12.91 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.968e-05/0.4098, allocations: 27.91 kB / 0.491 GB, free: 12.88 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.4098, allocations: 4 kB / 0.491 GB, free: 12.88 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.4109, allocations: 0.6692 MB / 0.4916 GB, free: 12.21 MB / 414.1 MB Notification: Performance of combineBinaries: time 8.396e-05/0.411, allocations: 83.78 kB / 0.4917 GB, free: 12.13 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 3.08e-05/0.411, allocations: 47.33 kB / 0.4918 GB, free: 12.09 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.802e-05/0.4111, allocations: 12 kB / 0.4918 GB, free: 12.07 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.148e-05/0.4111, allocations: 0 / 0.4918 GB, free: 12.07 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 (6) * Number of variables: 6 (6) Notification: Performance of Bindings: time 0.0004137/0.4115, allocations: 316 kB / 0.4921 GB, free: 11.66 MB / 414.1 MB Notification: Performance of FunctionAlias: time 2.334e-05/0.4115, allocations: 0 / 0.4921 GB, free: 11.66 MB / 414.1 MB Notification: Performance of Early Inline: time 0.0003672/0.4119, allocations: 299.9 kB / 0.4923 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simplify1: time 2.898e-05/0.4119, allocations: 19.98 kB / 0.4924 GB, free: 11.32 MB / 414.1 MB Notification: Performance of Alias: time 6.806e-05/0.412, allocations: 73.36 kB / 0.4924 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simplify2: time 1.884e-05/0.412, allocations: 15.98 kB / 0.4925 GB, free: 11.2 MB / 414.1 MB Notification: Performance of Events: time 9.937e-05/0.4121, allocations: 39.83 kB / 0.4925 GB, free: 11.16 MB / 414.1 MB Notification: Performance of Detect States: time 0.0003336/0.4125, allocations: 67.2 kB / 0.4926 GB, free: 11.08 MB / 414.1 MB Notification: Performance of Partitioning: time 9.73e-05/0.4126, allocations: 60.23 kB / 0.4926 GB, free: 11.01 MB / 414.1 MB Notification: Performance of Causalize: time 0.0003262/0.4129, allocations: 167.2 kB / 0.4928 GB, free: 10.84 MB / 414.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001636/0.4131, allocations: 172.4 kB / 0.4929 GB, free: 10.64 MB / 414.1 MB Notification: Performance of Inline: time 0.0004875/0.4136, allocations: 421.2 kB / 0.4933 GB, free: 10.2 MB / 414.1 MB Notification: Performance of Partitioning: time 2.234e-05/0.4136, allocations: 12.12 kB / 0.4933 GB, free: 10.18 MB / 414.1 MB Notification: Performance of Cleanup: time 2.266e-05/0.4136, allocations: 19.98 kB / 0.4934 GB, free: 10.16 MB / 414.1 MB Notification: Performance of Causalize: time 0.0003467/0.414, allocations: 284.3 kB / 0.4936 GB, free: 9.879 MB / 414.1 MB Notification: Performance of Tearing: time 1.211e-05/0.414, allocations: 3.938 kB / 0.4936 GB, free: 9.875 MB / 414.1 MB Notification: Performance of Initialization: time 3e-07/0.414, allocations: 1.5 kB / 0.4936 GB, free: 9.875 MB / 414.1 MB Notification: Performance of Tearing: time 1.222e-06/0.414, allocations: 0 / 0.4936 GB, free: 9.875 MB / 414.1 MB Notification: Performance of Categorize: time 1.014e-05/0.414, allocations: 5.312 kB / 0.4937 GB, free: 9.871 MB / 414.1 MB Notification: Performance of Solve: time 0.0001135/0.4142, allocations: 55.97 kB / 0.4937 GB, free: 9.816 MB / 414.1 MB Notification: Performance of Jacobian: time 0.0001614/0.4143, allocations: 198 kB / 0.4939 GB, free: 9.586 MB / 414.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 2 (2) {h1, s1} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 2 (2) {$SEV_0, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 8 (scalar:8, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 14 (scalar:14, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 4.201e-05/0.4144, allocations: 25.97 kB / 0.4939 GB, free: 9.562 MB / 414.1 MB Notification: Performance of SimCode: time 0.001858/0.4162, allocations: 1.435 MB / 0.4953 GB, free: 8.117 MB / 414.1 MB Notification: Performance of Templates: time 0.006982/0.4232, allocations: 4.22 MB / 0.4994 GB, free: 3.895 MB / 414.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.o Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_functions.o Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_functions.c Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_functions.c:78:29: error: use of undeclared identifier '_OMC_LIT0' tmpMeta2 = stringAppend(_OMC_LIT0,tmp1); ^ Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_functions.c:79:38: error: use of undeclared identifier '_OMC_LIT1' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT1); ^ Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_functions.c:80:38: error: use of undeclared identifier '_OMC_LIT2' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT2); ^ Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_functions.c:83:38: error: use of undeclared identifier '_OMC_LIT1' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT1); ^ Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_functions.c:84:38: error: use of undeclared identifier '_OMC_LIT3' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT3); ^ Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_functions.c:87:40: error: use of undeclared identifier '_OMC_LIT1' tmpMeta11 = stringAppend(tmpMeta10,_OMC_LIT1); ^ Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_functions.c:88:40: error: use of undeclared identifier '_OMC_LIT4' tmpMeta12 = stringAppend(tmpMeta11,_OMC_LIT4); ^ Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_functions.c:91:40: error: use of undeclared identifier '_OMC_LIT1' tmpMeta15 = stringAppend(tmpMeta14,_OMC_LIT1); ^ Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_functions.c:92:40: error: use of undeclared identifier '_OMC_LIT5' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT5); ^ Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_functions.c:248:82: error: use of undeclared identifier '_OMC_LIT11' tmpMeta2 = mmc_mk_box11(2, &Modelica_Media_IdealGases_Common_DataRecord__desc, _OMC_LIT11, _OMC_LIT12, _OMC_LIT13, _OMC_LIT14, _OMC_LIT15, mmc_mk_modelica_array(_OMC_LIT17), mmc_mk_modelica_array(_OMC_LIT18), mmc_mk_modelica_array(_OMC_LIT19), mmc_mk_modelica_array(_OMC_LIT20), _OMC_LIT16); ^ Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_functions.c:248:94: error: use of undeclared identifier '_OMC_LIT12' tmpMeta2 = mmc_mk_box11(2, &Modelica_Media_IdealGases_Common_DataRecord__desc, _OMC_LIT11, _OMC_LIT12, _OMC_LIT13, _OMC_LIT14, _OMC_LIT15, mmc_mk_modelica_array(_OMC_LIT17), mmc_mk_modelica_array(_OMC_LIT18), mmc_mk_modelica_array(_OMC_LIT19), mmc_mk_modelica_array(_OMC_LIT20), _OMC_LIT16); ^ Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_functions.c:248:106: error: use of undeclared identifier '_OMC_LIT13' tmpMeta2 = mmc_mk_box11(2, &Modelica_Media_IdealGases_Common_DataRecord__desc, _OMC_LIT11, _OMC_LIT12, _OMC_LIT13, _OMC_LIT14, _OMC_LIT15, mmc_mk_modelica_array(_OMC_LIT17), mmc_mk_modelica_array(_OMC_LIT18), mmc_mk_modelica_array(_OMC_LIT19), mmc_mk_modelica_array(_OMC_LIT20), _OMC_LIT16); ^ Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_functions.c:248:118: error: use of undeclared identifier '_OMC_LIT14' tmpMeta2 = mmc_mk_box11(2, &Modelica_Media_IdealGases_Common_DataRecord__desc, _OMC_LIT11, _OMC_LIT12, _OMC_LIT13, _OMC_LIT14, _OMC_LIT15, mmc_mk_modelica_array(_OMC_LIT17), mmc_mk_modelica_array(_OMC_LIT18), mmc_mk_modelica_array(_OMC_LIT19), mmc_mk_modelica_array(_OMC_LIT20), _OMC_LIT16); ^ Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_functions.c:248:130: error: use of undeclared identifier '_OMC_LIT15' tmpMeta2 = mmc_mk_box11(2, &Modelica_Media_IdealGases_Common_DataRecord__desc, _OMC_LIT11, _OMC_LIT12, _OMC_LIT13, _OMC_LIT14, _OMC_LIT15, mmc_mk_modelica_array(_OMC_LIT17), mmc_mk_modelica_array(_OMC_LIT18), mmc_mk_modelica_array(_OMC_LIT19), mmc_mk_modelica_array(_OMC_LIT20), _OMC_LIT16); ^ Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_functions.c:248:164: error: use of undeclared identifier '_OMC_LIT17' tmpMeta2 = mmc_mk_box11(2, &Modelica_Media_IdealGases_Common_DataRecord__desc, _OMC_LIT11, _OMC_LIT12, _OMC_LIT13, _OMC_LIT14, _OMC_LIT15, mmc_mk_modelica_array(_OMC_LIT17), mmc_mk_modelica_array(_OMC_LIT18), mmc_mk_modelica_array(_OMC_LIT19), mmc_mk_modelica_array(_OMC_LIT20), _OMC_LIT16); ^ Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_functions.c:248:199: error: use of undeclared identifier '_OMC_LIT18' tmpMeta2 = mmc_mk_box11(2, &Modelica_Media_IdealGases_Common_DataRecord__desc, _OMC_LIT11, _OMC_LIT12, _OMC_LIT13, _OMC_LIT14, _OMC_LIT15, mmc_mk_modelica_array(_OMC_LIT17), mmc_mk_modelica_array(_OMC_LIT18), mmc_mk_modelica_array(_OMC_LIT19), mmc_mk_modelica_array(_OMC_LIT20), _OMC_LIT16); ^ Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_functions.c:248:234: error: use of undeclared identifier '_OMC_LIT19' tmpMeta2 = mmc_mk_box11(2, &Modelica_Media_IdealGases_Common_DataRecord__desc, _OMC_LIT11, _OMC_LIT12, _OMC_LIT13, _OMC_LIT14, _OMC_LIT15, mmc_mk_modelica_array(_OMC_LIT17), mmc_mk_modelica_array(_OMC_LIT18), mmc_mk_modelica_array(_OMC_LIT19), mmc_mk_modelica_array(_OMC_LIT20), _OMC_LIT16); ^ Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_functions.c:248:269: error: use of undeclared identifier '_OMC_LIT20' tmpMeta2 = mmc_mk_box11(2, &Modelica_Media_IdealGases_Common_DataRecord__desc, _OMC_LIT11, _OMC_LIT12, _OMC_LIT13, _OMC_LIT14, _OMC_LIT15, mmc_mk_modelica_array(_OMC_LIT17), mmc_mk_modelica_array(_OMC_LIT18), mmc_mk_modelica_array(_OMC_LIT19), mmc_mk_modelica_array(_OMC_LIT20), _OMC_LIT16); ^ Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_functions.c:248:282: error: use of undeclared identifier '_OMC_LIT16' tmpMeta2 = mmc_mk_box11(2, &Modelica_Media_IdealGases_Common_DataRecord__desc, _OMC_LIT11, _OMC_LIT12, _OMC_LIT13, _OMC_LIT14, _OMC_LIT15, mmc_mk_modelica_array(_OMC_LIT17), mmc_mk_modelica_array(_OMC_LIT18), mmc_mk_modelica_array(_OMC_LIT19), mmc_mk_modelica_array(_OMC_LIT20), _OMC_LIT16); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_functions.o] Error 1