Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.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.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009692/0.0009694, allocations: 110.6 kB / 17.75 MB, free: 5.312 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.0009262/0.0009263, allocations: 183.1 kB / 18.68 MB, free: 4.398 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.225/1.225, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.529e-05/1.53e-05, allocations: 2.281 kB / 351.9 MB, free: 3.316 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001844/0.001868, allocations: 1.361 MB / 353.3 MB, free: 1.945 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01098/0.01286, allocations: 12.07 MB / 365.3 MB, free: 5.812 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.382e-05/0.01293, allocations: 4 kB / 365.4 MB, free: 5.809 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.226e-05/0.01296, allocations: 3.938 kB / 365.4 MB, free: 5.805 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002492/0.01549, allocations: 1.043 MB / 366.4 MB, free: 4.758 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001312/0.01681, allocations: 0.6334 MB / 367 MB, free: 4.121 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.01693, allocations: 71.62 kB / 367.1 MB, free: 4.051 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.018e-05/0.01698, allocations: 4 kB / 367.1 MB, free: 4.047 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.489e-05/0.01703, allocations: 23.92 kB / 367.1 MB, free: 4.023 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.246e-05/0.0171, allocations: 39.91 kB / 367.2 MB, free: 3.984 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.01712, allocations: 0 / 367.2 MB, free: 3.984 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002355/0.01948, allocations: 1.608 MB / 368.8 MB, free: 2.375 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001003/0.0196, allocations: 87.19 kB / 368.9 MB, free: 2.289 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 3.012e-05/0.01964, allocations: 51.31 kB / 368.9 MB, free: 2.238 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.874e-05/0.01966, allocations: 4 kB / 368.9 MB, free: 2.234 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.267e-05/0.01968, allocations: 4 kB / 368.9 MB, free: 2.23 MB / 302.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.0004065/0.02009, allocations: 357.5 kB / 369.3 MB, free: 1.781 MB / 302.1 MB Notification: Performance of FunctionAlias: time 3.517e-05/0.02013, allocations: 15.94 kB / 369.3 MB, free: 1.766 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0002157/0.02035, allocations: 184.8 kB / 369.5 MB, free: 1.559 MB / 302.1 MB Notification: Performance of simplify1: time 1.898e-05/0.02038, allocations: 11.98 kB / 369.5 MB, free: 1.547 MB / 302.1 MB Notification: Performance of Alias: time 5.951e-05/0.02045, allocations: 68.59 kB / 369.5 MB, free: 1.441 MB / 302.1 MB Notification: Performance of simplify2: time 9.498e-06/0.02046, allocations: 7.984 kB / 369.6 MB, free: 1.434 MB / 302.1 MB Notification: Performance of Events: time 0.0001213/0.02059, allocations: 55.83 kB / 369.6 MB, free: 1.379 MB / 302.1 MB Notification: Performance of Detect States: time 7.661e-05/0.02067, allocations: 52.16 kB / 369.7 MB, free: 1.312 MB / 302.1 MB Notification: Performance of Partitioning: time 7.219e-05/0.02075, allocations: 52.09 kB / 369.7 MB, free: 1.254 MB / 302.1 MB Notification: Performance of Causalize: time 0.0003189/0.02107, allocations: 187.8 kB / 369.9 MB, free: 1.062 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001521/0.02124, allocations: 168.2 kB / 370.1 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of Inline: time 0.0004019/0.02165, allocations: 374.5 kB / 370.4 MB, free: 484 kB / 302.1 MB Notification: Performance of Partitioning: time 1.991e-05/0.02168, allocations: 16.12 kB / 370.4 MB, free: 460 kB / 302.1 MB Notification: Performance of Cleanup: time 1.545e-05/0.0217, allocations: 11.98 kB / 370.4 MB, free: 448 kB / 302.1 MB Notification: Performance of Causalize: time 0.0003403/0.02204, allocations: 295.7 kB / 370.7 MB, free: 140 kB / 302.1 MB Notification: Performance of Tearing: time 6.893e-06/0.02206, allocations: 0 / 370.7 MB, free: 140 kB / 302.1 MB Notification: Performance of Initialization: time 3.21e-07/0.02206, allocations: 0 / 370.7 MB, free: 140 kB / 302.1 MB Notification: Performance of Tearing: time 8.02e-07/0.02207, allocations: 0 / 370.7 MB, free: 140 kB / 302.1 MB Notification: Performance of Categorize: time 9.087e-06/0.02208, allocations: 4 kB / 370.7 MB, free: 136 kB / 302.1 MB Notification: Performance of Solve: time 6.736e-05/0.02216, allocations: 39.94 kB / 370.8 MB, free: 96 kB / 302.1 MB Notification: Performance of Jacobian: time 2.995e-06/0.02217, allocations: 4 kB / 370.8 MB, free: 92 kB / 302.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: ............... 0 * 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: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 4 (4) {$SEV_1, $SEV_0, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 10 (scalar:10, 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.052e-05/0.02221, allocations: 25.47 kB / 370.8 MB, free: 68 kB / 302.1 MB Notification: Performance of SimCode: time 0.1523/0.1746, allocations: 2.076 MB / 372.9 MB, free: 11.92 MB / 302.1 MB Notification: Performance of Templates: time 0.01509/0.1897, allocations: 9.764 MB / 382.6 MB, free: 10.17 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.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"/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_ReferenceAir_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.ReferenceAir.Inverse_sh_T.o Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.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"/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_ReferenceAir_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.ReferenceAir.Inverse_sh_T_functions.o Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_functions.c Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_functions.c:1850:24: error: use of undeclared identifier '_OMC_LIT13' real_array_copy_data(_OMC_LIT13, _N_0); ^ Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_functions.c:1853:24: error: use of undeclared identifier '_OMC_LIT14' real_array_copy_data(_OMC_LIT14, _N); ^ Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_functions.c:1856:27: error: use of undeclared identifier '_OMC_LIT15' integer_array_copy_data(_OMC_LIT15, _i); ^ Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_functions.c:1859:24: error: use of undeclared identifier '_OMC_LIT16' real_array_copy_data(_OMC_LIT16, _j); ^ Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_functions.c:1862:27: error: use of undeclared identifier '_OMC_LIT17' integer_array_copy_data(_OMC_LIT17, _l); ^ 5 errors generated. make: *** [: Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_functions.o] Error 1