Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) 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(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 110.3 kB / 16.42 MB, free: 6.508 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.001146/0.001147, allocations: 191.1 kB / 17.36 MB, free: 5.75 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.516/1.516, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8287/0.8287, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.518e-05/2.519e-05, allocations: 2.281 kB / 0.5862 GB, free: 21.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV): time 0.01793/0.01796, allocations: 22.31 MB / 0.608 GB, free: 376 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008689/0.02673, allocations: 5.233 MB / 0.6131 GB, free: 11.14 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001042/0.02781, allocations: 19.88 kB / 0.6131 GB, free: 11.12 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001017/0.02884, allocations: 317.8 kB / 0.6135 GB, free: 10.81 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002707/0.03156, allocations: 0.8697 MB / 0.6143 GB, free: 9.938 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001984/0.03364, allocations: 0.7149 MB / 0.615 GB, free: 9.23 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002167/0.03582, allocations: 1.569 MB / 0.6165 GB, free: 7.656 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007654/0.0366, allocations: 0.5509 MB / 0.6171 GB, free: 7.094 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001194/0.0378, allocations: 0.6577 MB / 0.6177 GB, free: 6.434 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006446/0.03846, allocations: 477.9 kB / 0.6182 GB, free: 5.965 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.856e-05/0.03856, allocations: 52 kB / 0.6182 GB, free: 5.914 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001256/0.03982, allocations: 0.6394 MB / 0.6188 GB, free: 5.273 MB / 462.1 MB Notification: Performance of combineBinaries: time 0.0009359/0.04077, allocations: 1.209 MB / 0.62 GB, free: 4.051 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 0.000513/0.04129, allocations: 0.7898 MB / 0.6208 GB, free: 3.25 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000199/0.0415, allocations: 123.6 kB / 0.6209 GB, free: 3.129 MB / 462.1 MB Notification: Performance of FrontEnd: time 0.0002115/0.04172, allocations: 39.8 kB / 0.6209 GB, free: 3.09 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 (73) * Number of variables: 78 (70) Notification: Performance of Bindings: time 0.002999/0.04472, allocations: 3.033 MB / 0.6239 GB, free: 15.92 MB / 478.1 MB Notification: Performance of FunctionAlias: time 0.0001873/0.04492, allocations: 143.6 kB / 0.624 GB, free: 15.78 MB / 478.1 MB Notification: Performance of Early Inline: time 0.001308/0.04624, allocations: 1.315 MB / 0.6253 GB, free: 14.44 MB / 478.1 MB Notification: Performance of simplify1: time 0.0001213/0.04637, allocations: 111.9 kB / 0.6254 GB, free: 14.33 MB / 478.1 MB Notification: Performance of Alias: time 0.002355/0.04873, allocations: 1.921 MB / 0.6273 GB, free: 12.21 MB / 478.1 MB Notification: Performance of simplify2: time 9.795e-05/0.04884, allocations: 83.91 kB / 0.6274 GB, free: 12.13 MB / 478.1 MB Notification: Performance of Events: time 0.0001837/0.04903, allocations: 139.1 kB / 0.6275 GB, free: 11.99 MB / 478.1 MB Notification: Performance of Detect States: time 0.0003825/0.04942, allocations: 296.4 kB / 0.6278 GB, free: 11.69 MB / 478.1 MB Notification: Performance of Partitioning: time 0.0003322/0.04977, allocations: 321 kB / 0.6281 GB, free: 11.31 MB / 478.1 MB Notification: Performance of Causalize: time 0.001271/0.05105, allocations: 1.101 MB / 0.6292 GB, free: 10.14 MB / 478.1 MB Notification: Performance of After Index Reduction Inline: time 0.000784/0.05184, allocations: 0.7968 MB / 0.63 GB, free: 9.324 MB / 478.1 MB Notification: Performance of Inline: time 0.002221/0.05407, allocations: 2.044 MB / 0.632 GB, free: 7.238 MB / 478.1 MB Notification: Performance of Partitioning: time 0.0001362/0.05422, allocations: 115.6 kB / 0.6321 GB, free: 7.113 MB / 478.1 MB Notification: Performance of Cleanup: time 0.0001958/0.05442, allocations: 211.5 kB / 0.6323 GB, free: 6.906 MB / 478.1 MB Notification: Performance of Causalize: time 0.006729/0.06116, allocations: 5.763 MB / 0.6379 GB, free: 1.148 MB / 478.1 MB Notification: Performance of Tearing: time 1.326e-05/0.06119, allocations: 0 / 0.6379 GB, free: 1.148 MB / 478.1 MB Notification: Performance of Initialization: time 2.705e-06/0.0612, allocations: 0 / 0.6379 GB, free: 1.148 MB / 478.1 MB Notification: Performance of Tearing: time 8.035e-06/0.06121, allocations: 3.938 kB / 0.6379 GB, free: 1.145 MB / 478.1 MB Notification: Performance of Categorize: time 2.398e-05/0.06124, allocations: 4 kB / 0.6379 GB, free: 1.141 MB / 478.1 MB Notification: Performance of Solve: time 0.002453/0.0637, allocations: 2.349 MB / 0.6402 GB, free: 14.49 MB / 494.1 MB Notification: Performance of Jacobian: time 0.0006144/0.06433, allocations: 0.5304 MB / 0.6407 GB, free: 13.91 MB / 494.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 4 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 4 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 2 (1) {valDyn.val.filter.s} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 6 (6) {$SEV_3, $SEV_2, $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: ........... 35 (scalar:32, array:3, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (generic: 4, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 110 (scalar:106, array:4, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (generic: 4, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 110 (scalar:106, array:4, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (generic: 4, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: Performance of backend: time 9.807e-05/0.06444, allocations: 59.48 kB / 0.6408 GB, free: 13.86 MB / 494.1 MB Notification: Performance of SimCode: time 0.004541/0.06898, allocations: 3.51 MB / 0.6442 GB, free: 10.28 MB / 494.1 MB Notification: Performance of Templates: time 0.01395/0.08295, allocations: 7.378 MB / 0.6514 GB, free: 2.918 MB / 494.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.makefile make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.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.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=IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTRV -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.o IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.c 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.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=IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTRV -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV_functions.o IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV_functions.c IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV_functions.c:877:31: error: use of undeclared identifier '_OMC_LIT19' tmpMeta2 = stringAppend(_OMC_LIT19,_modelName); ^ IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV_functions.c:878:40: error: use of undeclared identifier '_OMC_LIT20' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT20); ^ IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV_functions.c:880:40: error: use of undeclared identifier '_OMC_LIT21' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT21); ^ IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV_functions.c:897:35: error: use of undeclared identifier '_OMC_LIT22' tmpMeta7 = stringAppend(_OMC_LIT22,_mediumName); ^ IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV_functions.c:898:44: error: use of undeclared identifier '_OMC_LIT23' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT23); ^ IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV_functions.c:900:45: error: use of undeclared identifier '_OMC_LIT24' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT24); ^ IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV_functions.c:903:46: error: use of undeclared identifier '_OMC_LIT25' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT25); ^ IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV_functions.c:906:46: error: use of undeclared identifier '_OMC_LIT26' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT26); ^ IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV_functions.c:918:14: error: use of undeclared identifier '_OMC_LIT2' _X_str = _OMC_LIT2; ^ IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV_functions.c:926:41: error: use of undeclared identifier '_OMC_LIT27' tmpMeta21 = stringAppend(_X_str,_OMC_LIT27); ^ IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV_functions.c:929:44: error: use of undeclared identifier '_OMC_LIT28' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT28); ^ IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV_functions.c:932:44: error: use of undeclared identifier '_OMC_LIT29' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT29); ^ IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV_functions.c:934:44: error: use of undeclared identifier '_OMC_LIT30' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT30); ^ IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV_functions.c:939:30: error: use of undeclared identifier '_OMC_LIT31' tmpMeta33 = stringAppend(_OMC_LIT31,_mediumName); ^ IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV_functions.c:940:40: error: use of undeclared identifier '_OMC_LIT23' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT23); ^ IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV_functions.c:942:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT30); ^ IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV_functions.c:943:40: error: use of undeclared identifier '_OMC_LIT32' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT32); ^ IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV_functions.c:946:40: error: use of undeclared identifier '_OMC_LIT33' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT33); ^ IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV_functions.c:965:3: warning: implicit declaration of function 'ModelicaError' is invalid in C99 [-Wimplicit-function-declaration] ModelicaError(MMC_STRINGDATA(_string)); ^ 1 warning and 18 errors generated. make: *** [: IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV_functions.o] Error 1