Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadReal_m.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 102.3 kB / 19.6 MB, free: 2.328 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002358/0.002358, allocations: 211.6 kB / 22.89 MB, free: 5.629 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.508/1.508, allocations: 230.5 MB / 256.5 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/package.mo): time 0.007129/0.007129, allocations: 1.016 MB / 314 MB, free: 2.125 MB / 238.1 MB " [Timeout remaining time 180] Using package KeyWordIO with version 0.12.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(KeyWordIO.Examples.ReadReal_m,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadReal_m") translateModel(KeyWordIO.Examples.ReadReal_m,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadReal_m") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.086e-05/2.086e-05, allocations: 2.281 kB / 436.5 MB, free: 16.25 MB / 302.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadReal_m): time 0.001926/0.001947, allocations: 1.215 MB / 437.8 MB, free: 15.03 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002748/0.004694, allocations: 2.178 MB / 439.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.513e-05/0.004719, allocations: 0 / 439.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.619e-05/0.004746, allocations: 3.938 kB / 439.9 MB, free: 12.84 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/readLine.mo:2:1-36:13:writable] Warning: Pure function 'KeyWordIO.readLine' contains a call to impure function 'KeyWordIO.readLineWithoutCache'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/readReal_m.mo:2:1-79:15:writable] Warning: Pure function 'KeyWordIO.readReal_m' contains a call to impure function 'KeyWordIO.readLine'. Notification: Performance of NFTyping.typeBindings: time 0.001182/0.005928, allocations: 0.5053 MB / 440.4 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.527e-06/0.005932, allocations: 0 / 440.4 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 4.712e-05/0.005979, allocations: 19.92 kB / 440.5 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.346e-05/0.006022, allocations: 3.938 kB / 440.5 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.77e-05/0.00604, allocations: 7.984 kB / 440.5 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.00622, allocations: 7.938 kB / 440.5 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.384e-06/0.006228, allocations: 0 / 440.5 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006208/0.006848, allocations: 0.5307 MB / 441 MB, free: 11.76 MB / 302.1 MB Notification: Performance of combineBinaries: time 3.766e-05/0.006886, allocations: 35.66 kB / 441 MB, free: 11.73 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 8.025e-06/0.006894, allocations: 19.75 kB / 441.1 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.733e-06/0.006901, allocations: 4 kB / 441.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.835e-06/0.006909, allocations: 0 / 441.1 MB, free: 11.7 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: 0 (0) * Number of variables: 0 (0) Notification: Performance of Bindings: time 0.0002499/0.007159, allocations: 241.9 kB / 441.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of FunctionAlias: time 1.737e-05/0.007176, allocations: 23.98 kB / 441.3 MB, free: 11.31 MB / 302.1 MB Notification: Performance of Early Inline: time 3.501e-05/0.007211, allocations: 44.22 kB / 441.4 MB, free: 11.24 MB / 302.1 MB Notification: Performance of Simplify 1: time 2.199e-05/0.007233, allocations: 60.75 kB / 441.4 MB, free: 11.13 MB / 302.1 MB Notification: Performance of Alias: time 2.924e-05/0.007262, allocations: 68.67 kB / 441.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of Simplify 2: time 1.692e-05/0.007279, allocations: 64.73 kB / 441.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of Remove Stream: time 8.065e-06/0.007287, allocations: 28.44 kB / 441.6 MB, free: 10.85 MB / 302.1 MB Notification: Performance of Detect States: time 3.141e-05/0.007319, allocations: 80.7 kB / 441.7 MB, free: 10.72 MB / 302.1 MB Notification: Performance of Events: time 4.528e-06/0.007323, allocations: 0 / 441.7 MB, free: 10.72 MB / 302.1 MB Notification: Performance of Partitioning: time 8.846e-06/0.007332, allocations: 0 / 441.7 MB, free: 10.72 MB / 302.1 MB Notification: Performance of Causalize: time 4.719e-06/0.007337, allocations: 0 / 441.7 MB, free: 10.72 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 4.157e-06/0.007341, allocations: 11.94 kB / 441.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of Simplify: time 0.0001757/0.007517, allocations: 157.7 kB / 441.8 MB, free: 10.48 MB / 302.1 MB Notification: Performance of Inline: time 2.871e-05/0.007545, allocations: 20.05 kB / 441.9 MB, free: 10.46 MB / 302.1 MB Notification: Performance of Partitioning: time 7.484e-06/0.007553, allocations: 8.125 kB / 441.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of Cleanup: time 6.452e-06/0.007559, allocations: 4 kB / 441.9 MB, free: 10.44 MB / 302.1 MB Notification: Performance of Causalize: time 0.0001885/0.007748, allocations: 76 kB / 441.9 MB, free: 10.36 MB / 302.1 MB Notification: Performance of Tearing: time 1.353e-05/0.007761, allocations: 0 / 441.9 MB, free: 10.36 MB / 302.1 MB Notification: Performance of Initialization: time 3.21e-07/0.007762, allocations: 4 kB / 441.9 MB, free: 10.36 MB / 302.1 MB Notification: Performance of Remove Dummies: time 8.42e-07/0.007762, allocations: 0 / 441.9 MB, free: 10.36 MB / 302.1 MB Notification: Performance of Tearing: time 4.01e-07/0.007763, allocations: 0 / 441.9 MB, free: 10.36 MB / 302.1 MB Notification: Performance of Categorize: time 1.774e-06/0.007765, allocations: 3.938 kB / 441.9 MB, free: 10.35 MB / 302.1 MB Notification: Performance of Solve: time 4.271e-05/0.007807, allocations: 16 kB / 442 MB, free: 10.34 MB / 302.1 MB Notification: Performance of Jacobian: time 3.467e-06/0.007811, allocations: 0 / 442 MB, free: 10.34 MB / 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: ......... 0 * 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) {} * Number of discrete variables: ................. 0 (0) {} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 0 (scalar:0, 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 (resizable: 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: ........... 4 (scalar:4, 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 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 2.908e-05/0.00784, allocations: 23.34 kB / 442 MB, free: 10.32 MB / 302.1 MB Notification: Performance of SimCode: time 0.001504/0.009344, allocations: 1.027 MB / 443 MB, free: 9.348 MB / 302.1 MB [CodegenCFunctions.tpl:3991:16-3991:16:writable] Error: Template error: literalExpConstArrayVal failed: \"+\". [CodegenCFunctions.tpl:3991:16-3991:16:writable] Error: Template error: literalExpConstArrayVal failed: \"-\". [CodegenCFunctions.tpl:3991:16-3991:16:writable] Error: Template error: literalExpConstArrayVal failed: \"\". [CodegenCFunctions.tpl:3991:16-3991:16:writable] Error: Template error: literalExpConstArrayVal failed: \")\". [CodegenCFunctions.tpl:3991:16-3991:16:writable] Error: Template error: literalExpConstArrayVal failed: \"(\". [CodegenCFunctions.tpl:3991:16-3991:16:writable] Error: Template error: literalExpConstArrayVal failed: \"*\". [CodegenCFunctions.tpl:3991:16-3991:16:writable] Error: Template error: literalExpConstArrayVal failed: \"/\". [CodegenCFunctions.tpl:3991:16-3991:16:writable] Error: Template error: literalExpConstArrayVal failed: \"^\". [CodegenCFunctions.tpl:3991:16-3991:16:writable] Error: Template error: literalExpConstArrayVal failed: \"\". [CodegenCFunctions.tpl:3991:16-3991:16:writable] Error: Template error: literalExpConstArrayVal failed: \",\". Notification: Performance of Templates: time 0.00597/0.01531, allocations: 3.367 MB / 446.4 MB, free: 5.98 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadReal_m.makefile [Timeout 660] make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadReal_m.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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=KeyWordIO_KeyWordIO_Examples_ReadReal_m -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 KeyWordIO_KeyWordIO.Examples.ReadReal_m.o KeyWordIO_KeyWordIO.Examples.ReadReal_m.c In file included from KeyWordIO_KeyWordIO.Examples.ReadReal_m.c:7: In file included from ./KeyWordIO_KeyWordIO.Examples.ReadReal_m_model.h:124: ./KeyWordIO_KeyWordIO.Examples.ReadReal_m_literals.h:46:2: error: "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: "+"" #error "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: "+"" ^ ./KeyWordIO_KeyWordIO.Examples.ReadReal_m_literals.h:47:1: error: expected expression , ^ ./KeyWordIO_KeyWordIO.Examples.ReadReal_m_literals.h:48:2: error: "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: "-"" #error "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: "-"" ^ ./KeyWordIO_KeyWordIO.Examples.ReadReal_m_literals.h:49:1: error: expected expression , ^ ./KeyWordIO_KeyWordIO.Examples.ReadReal_m_literals.h:50:2: error: "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: """ #error "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: """ ^ ./KeyWordIO_KeyWordIO.Examples.ReadReal_m_literals.h:66:2: error: "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: ")"" #error "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: ")"" ^ ./KeyWordIO_KeyWordIO.Examples.ReadReal_m_literals.h:76:2: error: "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: "("" #error "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: "("" ^ ./KeyWordIO_KeyWordIO.Examples.ReadReal_m_literals.h:131:2: error: "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: "*"" #error "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: "*"" ^ ./KeyWordIO_KeyWordIO.Examples.ReadReal_m_literals.h:132:1: error: expected expression , ^ ./KeyWordIO_KeyWordIO.Examples.ReadReal_m_literals.h:133:2: error: "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: "/"" #error "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: "/"" ^ ./KeyWordIO_KeyWordIO.Examples.ReadReal_m_literals.h:134:1: error: expected expression , ^ ./KeyWordIO_KeyWordIO.Examples.ReadReal_m_literals.h:135:2: error: "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: "^"" #error "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: "^"" ^ ./KeyWordIO_KeyWordIO.Examples.ReadReal_m_literals.h:136:1: error: expected expression , ^ ./KeyWordIO_KeyWordIO.Examples.ReadReal_m_literals.h:137:2: error: "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: """ #error "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: """ ^ ./KeyWordIO_KeyWordIO.Examples.ReadReal_m_literals.h:159:2: error: "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: ","" #error "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: ","" ^ 15 errors generated. make: *** [: KeyWordIO_KeyWordIO.Examples.ReadReal_m.o] Error 1 [Calling os._exit(0), Time elapsed: 2.5668139047920704] Failed to read output from testmodel.py, exit status != 0: 0.021289914846420288 0.034645107 0.024736387000000002 Calling exit ...