Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J|phi_rel0|w_rel0",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel") translateModel(Modelica.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J|phi_rel0|w_rel0",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0021/0.0021, allocations: 107.3 kB / 19.05 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00223/0.00223, allocations: 211.8 kB / 20.03 MB, free: 2.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.205/1.205, allocations: 230.4 MB / 251.3 MB, free: 8.691 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.488e-06/9.488e-06, allocations: 2.281 kB / 368.8 MB, free: 6.582 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.001669/0.001679, allocations: 1.201 MB / 370 MB, free: 5.371 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002633/0.004312, allocations: 2.112 MB / 372.1 MB, free: 3.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.441e-05/0.004326, allocations: 7.938 kB / 372.1 MB, free: 3.242 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.767e-05/0.004344, allocations: 7.922 kB / 372.1 MB, free: 3.234 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/Utilities/Examples.mo:279:3-378:24:writable] Warning: Pure function 'Modelica.Utilities.Examples.readRealParameter' contains a call to impure function 'Modelica.Utilities.Streams.readLine'. Notification: Performance of NFTyping.typeBindings: time 0.00094/0.005284, allocations: 462.5 kB / 372.6 MB, free: 2.781 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.624e-05/0.0053, allocations: 4 kB / 372.6 MB, free: 2.777 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 3.882e-05/0.005339, allocations: 11.92 kB / 372.6 MB, free: 2.766 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.156e-05/0.00537, allocations: 11.98 kB / 372.6 MB, free: 2.754 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.33e-05/0.005384, allocations: 0 / 372.6 MB, free: 2.754 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008029/0.01341, allocations: 11.94 kB / 372.6 MB, free: 2.742 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.436e-06/0.01342, allocations: 0 / 372.6 MB, free: 2.742 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008094/0.01423, allocations: 0.5189 MB / 373.1 MB, free: 2.223 MB / 302.1 MB Notification: Performance of combineBinaries: time 3.824e-05/0.01427, allocations: 23.73 kB / 373.2 MB, free: 2.199 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 1.454e-05/0.01428, allocations: 15.89 kB / 373.2 MB, free: 2.184 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.478e-06/0.01429, allocations: 0 / 373.2 MB, free: 2.184 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.032e-06/0.0143, allocations: 0 / 373.2 MB, free: 2.184 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.0003389/0.01464, allocations: 218.3 kB / 373.4 MB, free: 1.852 MB / 302.1 MB Notification: Performance of FunctionAlias: time 1.109e-05/0.01465, allocations: 10.38 kB / 373.4 MB, free: 1.844 MB / 302.1 MB Notification: Performance of Early Inline: time 5.287e-05/0.0147, allocations: 36.38 kB / 373.4 MB, free: 1.781 MB / 302.1 MB Notification: Performance of Simplify 1: time 2.526e-05/0.01473, allocations: 32.44 kB / 373.5 MB, free: 1.723 MB / 302.1 MB Notification: Performance of Alias: time 6.433e-05/0.01479, allocations: 68.8 kB / 373.5 MB, free: 1.605 MB / 302.1 MB Notification: Performance of Simplify 2: time 2.862e-05/0.01482, allocations: 40.42 kB / 373.6 MB, free: 1.539 MB / 302.1 MB Notification: Performance of Remove Stream: time 2.619e-05/0.01485, allocations: 32.38 kB / 373.6 MB, free: 1.48 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001033/0.01495, allocations: 70.73 kB / 373.7 MB, free: 1.371 MB / 302.1 MB Notification: Performance of Events: time 3.236e-06/0.01495, allocations: 0 / 373.7 MB, free: 1.371 MB / 302.1 MB Notification: Performance of Partitioning: time 1.138e-05/0.01496, allocations: 4 kB / 373.7 MB, free: 1.367 MB / 302.1 MB Notification: Performance of Causalize: time 2.845e-06/0.01497, allocations: 0 / 373.7 MB, free: 1.367 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 2.896e-06/0.01497, allocations: 0 / 373.7 MB, free: 1.367 MB / 302.1 MB Notification: Performance of Simplify: time 0.0002029/0.01517, allocations: 129.5 kB / 373.8 MB, free: 1.191 MB / 302.1 MB Notification: Performance of Inline: time 2.954e-05/0.0152, allocations: 20 kB / 373.8 MB, free: 1.168 MB / 302.1 MB Notification: Performance of Partitioning: time 1.287e-05/0.01521, allocations: 8.125 kB / 373.8 MB, free: 1.152 MB / 302.1 MB Notification: Performance of Cleanup: time 6.272e-06/0.01522, allocations: 4 kB / 373.8 MB, free: 1.148 MB / 302.1 MB Notification: Performance of Causalize: time 0.0001566/0.01538, allocations: 68.06 kB / 373.9 MB, free: 1.074 MB / 302.1 MB Notification: Performance of Tearing: time 6.081e-06/0.01538, allocations: 0 / 373.9 MB, free: 1.074 MB / 302.1 MB Notification: Performance of Initialization: time 2.5e-07/0.01538, allocations: 0 / 373.9 MB, free: 1.074 MB / 302.1 MB Notification: Performance of Tearing: time 7.72e-07/0.01538, allocations: 0 / 373.9 MB, free: 1.074 MB / 302.1 MB Notification: Performance of Categorize: time 3.306e-06/0.01539, allocations: 4 kB / 373.9 MB, free: 1.07 MB / 302.1 MB Notification: Performance of Solve: time 2.024e-05/0.01541, allocations: 4 kB / 373.9 MB, free: 1.066 MB / 302.1 MB Notification: Performance of Jacobian: time 2.294e-06/0.01541, allocations: 3.938 kB / 373.9 MB, free: 1.062 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: 0generic: 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: ........... 3 (scalar:3, 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: 0generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 2.555e-05/0.01544, allocations: 22.84 kB / 373.9 MB, free: 1.047 MB / 302.1 MB Notification: Performance of SimCode: time 0.1164/0.1319, allocations: 1.553 MB / 375.5 MB, free: 10.79 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: "/". [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.005977/0.1378, allocations: 3.097 MB / 378.6 MB, free: 10.57 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel.makefile make -j1 -f Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel.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.1.0-beta.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_1_0_beta_om_Modelica_Utilities_Examples_readRealParameterModel -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.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel.o Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel.c In file included from Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel.c:7: In file included from ./Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel_model.h:121: ./Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel_literals.h:19:2: error: "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: "+"" #error "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: "+"" ^ ./Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel_literals.h:20:1: error: expected expression , ^ ./Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel_literals.h:21:2: error: "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: "-"" #error "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: "-"" ^ ./Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel_literals.h:22:1: error: expected expression , ^ ./Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel_literals.h:23:2: error: "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: """ #error "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: """ ^ ./Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel_literals.h:42:2: error: "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: "="" #error "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: "="" ^ ./Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel_literals.h:49:2: error: "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: ";"" #error "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: ";"" ^ ./Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel_literals.h:50:1: error: expected expression , ^ ./Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel_literals.h:51:2: error: "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: """ #error "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: """ ^ ./Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel_literals.h:73:2: error: "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: ")"" #error "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: ")"" ^ ./Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel_literals.h:83:2: error: "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: "("" #error "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: "("" ^ ./Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel_literals.h:141:2: error: "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: "*"" #error "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: "*"" ^ ./Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel_literals.h:142:1: error: expected expression , ^ ./Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel_literals.h:143:2: error: "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: "/"" #error "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: "/"" ^ ./Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel_literals.h:144:1: error: expected expression , ^ ./Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel_literals.h:145:2: error: "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: """ #error "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: """ ^ ./Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel_literals.h:158:2: error: "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: ","" #error "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: ","" ^ 17 errors generated. make: *** [: Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel.o] Error 1