Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001368/0.001368, allocations: 112.8 kB / 16.42 MB, free: 6.523 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.001475/0.001475, allocations: 182 kB / 17.36 MB, free: 5.746 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.354/1.354, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7643/0.7643, allocations: 132.2 MB / 423.4 MB, free: 6.617 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.376e-05/2.377e-05, allocations: 2.281 kB / 0.582 GB, free: 23.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV): time 0.01909/0.01912, allocations: 22.3 MB / 0.6037 GB, free: 4.074 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0068/0.02597, allocations: 5.236 MB / 0.6089 GB, free: 14.85 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009747/0.02698, allocations: 23.81 kB / 0.6089 GB, free: 14.82 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009723/0.02796, allocations: 321.8 kB / 0.6092 GB, free: 14.51 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002358/0.03033, allocations: 0.9129 MB / 0.6101 GB, free: 13.59 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001885/0.03228, allocations: 0.7151 MB / 0.6108 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002152/0.03444, allocations: 1.573 MB / 0.6123 GB, free: 11.31 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009677/0.03542, allocations: 0.5509 MB / 0.6129 GB, free: 10.74 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001252/0.03668, allocations: 0.6693 MB / 0.6135 GB, free: 10.07 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006627/0.03736, allocations: 474 kB / 0.614 GB, free: 9.605 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.105e-05/0.03746, allocations: 52 kB / 0.614 GB, free: 9.555 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001345/0.03881, allocations: 0.6278 MB / 0.6146 GB, free: 8.926 MB / 462.1 MB Notification: Performance of combineBinaries: time 0.0009464/0.03977, allocations: 1.221 MB / 0.6158 GB, free: 7.691 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 0.000559/0.04034, allocations: 0.7836 MB / 0.6166 GB, free: 6.898 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000264/0.04061, allocations: 127.6 kB / 0.6167 GB, free: 6.773 MB / 462.1 MB Notification: Performance of FrontEnd: time 0.0001941/0.04081, allocations: 39.8 kB / 0.6167 GB, free: 6.734 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.002772/0.04359, allocations: 3.041 MB / 0.6197 GB, free: 3.559 MB / 462.1 MB Notification: Performance of FunctionAlias: time 0.0001659/0.04376, allocations: 139.7 kB / 0.6198 GB, free: 3.422 MB / 462.1 MB Notification: Performance of Early Inline: time 0.001253/0.04502, allocations: 1.319 MB / 0.6211 GB, free: 2.074 MB / 462.1 MB Notification: Performance of simplify1: time 0.0001385/0.04517, allocations: 115.8 kB / 0.6212 GB, free: 1.961 MB / 462.1 MB Notification: Performance of Alias: time 0.002266/0.04744, allocations: 1.913 MB / 0.6231 GB, free: 15.85 MB / 478.1 MB Notification: Performance of simplify2: time 9.758e-05/0.04756, allocations: 87.91 kB / 0.6232 GB, free: 15.77 MB / 478.1 MB Notification: Performance of Detect States: time 0.0003139/0.04788, allocations: 274.2 kB / 0.6235 GB, free: 15.48 MB / 478.1 MB Notification: Performance of Events: time 0.0001939/0.04808, allocations: 138 kB / 0.6236 GB, free: 15.35 MB / 478.1 MB Notification: Performance of Partitioning: time 0.0003296/0.04842, allocations: 325 kB / 0.6239 GB, free: 14.96 MB / 478.1 MB Notification: Performance of Causalize: time 0.00122/0.04965, allocations: 1.085 MB / 0.625 GB, free: 13.81 MB / 478.1 MB Notification: Performance of After Index Reduction Inline: time 0.0007637/0.05042, allocations: 0.8077 MB / 0.6257 GB, free: 12.98 MB / 478.1 MB Notification: Performance of Inline: time 0.002082/0.05251, allocations: 2.026 MB / 0.6277 GB, free: 10.92 MB / 478.1 MB Notification: Performance of Partitioning: time 0.0001115/0.05264, allocations: 103.5 kB / 0.6278 GB, free: 10.8 MB / 478.1 MB Notification: Performance of Cleanup: time 0.0001857/0.05283, allocations: 203.6 kB / 0.628 GB, free: 10.61 MB / 478.1 MB Notification: Performance of Causalize: time 0.006214/0.05905, allocations: 5.656 MB / 0.6335 GB, free: 4.953 MB / 478.1 MB Notification: Performance of Tearing: time 2.157e-05/0.05908, allocations: 4 kB / 0.6335 GB, free: 4.949 MB / 478.1 MB Notification: Performance of Initialization: time 1.914e-06/0.05909, allocations: 0 / 0.6335 GB, free: 4.949 MB / 478.1 MB Notification: Performance of Tearing: time 9.979e-06/0.05911, allocations: 11.88 kB / 0.6336 GB, free: 4.938 MB / 478.1 MB Notification: Performance of Categorize: time 2.332e-05/0.05913, allocations: 4 kB / 0.6336 GB, free: 4.934 MB / 478.1 MB Notification: Performance of Solve: time 0.002219/0.06136, allocations: 2.708 MB / 0.6362 GB, free: 1.918 MB / 478.1 MB Notification: Performance of Jacobian: time 0.0005534/0.06192, allocations: 0.5266 MB / 0.6367 GB, free: 1.348 MB / 478.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: ........... 106 (scalar:102, 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: ........... 106 (scalar:102, 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 7.539e-05/0.06201, allocations: 55.14 kB / 0.6368 GB, free: 1.301 MB / 478.1 MB Notification: Performance of SimCode: time 0.003962/0.06598, allocations: 3.554 MB / 0.6402 GB, free: 13.69 MB / 494.1 MB Notification: Performance of Templates: time 0.01249/0.07848, allocations: 7.224 MB / 0.6473 GB, free: 6.477 MB / 494.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.makefile make -j1 -f IDEAS_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_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_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.o IDEAS_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_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_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV_functions.o IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV_functions.c IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV_functions.c:877:31: error: use of undeclared identifier '_OMC_LIT19' tmpMeta2 = stringAppend(_OMC_LIT19,_modelName); ^ IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV_functions.c:878:40: error: use of undeclared identifier '_OMC_LIT20' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT20); ^ IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV_functions.c:880:40: error: use of undeclared identifier '_OMC_LIT21' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT21); ^ IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV_functions.c:897:35: error: use of undeclared identifier '_OMC_LIT22' tmpMeta7 = stringAppend(_OMC_LIT22,_mediumName); ^ IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV_functions.c:898:44: error: use of undeclared identifier '_OMC_LIT23' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT23); ^ IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV_functions.c:900:45: error: use of undeclared identifier '_OMC_LIT24' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT24); ^ IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV_functions.c:903:46: error: use of undeclared identifier '_OMC_LIT25' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT25); ^ IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV_functions.c:906:46: error: use of undeclared identifier '_OMC_LIT26' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT26); ^ IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV_functions.c:918:14: error: use of undeclared identifier '_OMC_LIT2' _X_str = _OMC_LIT2; ^ IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV_functions.c:926:41: error: use of undeclared identifier '_OMC_LIT27' tmpMeta21 = stringAppend(_X_str,_OMC_LIT27); ^ IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV_functions.c:929:44: error: use of undeclared identifier '_OMC_LIT28' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT28); ^ IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV_functions.c:932:44: error: use of undeclared identifier '_OMC_LIT29' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT29); ^ IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV_functions.c:934:44: error: use of undeclared identifier '_OMC_LIT30' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT30); ^ IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV_functions.c:939:30: error: use of undeclared identifier '_OMC_LIT31' tmpMeta33 = stringAppend(_OMC_LIT31,_mediumName); ^ IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV_functions.c:940:40: error: use of undeclared identifier '_OMC_LIT23' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT23); ^ IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV_functions.c:942:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT30); ^ IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV_functions.c:943:40: error: use of undeclared identifier '_OMC_LIT32' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT32); ^ IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV_functions.c:946:40: error: use of undeclared identifier '_OMC_LIT33' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT33); ^ IDEAS_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_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV_functions.o] Error 1