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.001315/0.001315, allocations: 108.8 kB / 16.42 MB, free: 6.461 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.001317/0.001317, allocations: 189.5 kB / 17.36 MB, free: 5.73 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.089/1.089, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6428/0.6428, allocations: 132.2 MB / 423.4 MB, free: 6.613 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.708e-06/9.718e-06, allocations: 4.531 kB / 0.582 GB, free: 23.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV): time 0.01332/0.01334, allocations: 22.31 MB / 0.6037 GB, free: 4.051 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004505/0.01786, allocations: 5.221 MB / 0.6088 GB, free: 14.84 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002536/0.01813, allocations: 23.81 kB / 0.6089 GB, free: 14.81 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005759/0.01871, allocations: 325.8 kB / 0.6092 GB, free: 14.49 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001357/0.02011, allocations: 0.8659 MB / 0.61 GB, free: 13.62 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00123/0.02135, allocations: 0.7189 MB / 0.6107 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001415/0.02277, allocations: 1.573 MB / 0.6123 GB, free: 11.34 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005762/0.02336, allocations: 0.5431 MB / 0.6128 GB, free: 10.78 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007659/0.02413, allocations: 0.6615 MB / 0.6134 GB, free: 10.11 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005014/0.02464, allocations: 474 kB / 0.6139 GB, free: 9.648 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.765e-05/0.02472, allocations: 56 kB / 0.6139 GB, free: 9.594 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007773/0.0255, allocations: 0.6356 MB / 0.6146 GB, free: 8.957 MB / 462.1 MB Notification: Performance of combineBinaries: time 0.0007437/0.02626, allocations: 1.217 MB / 0.6158 GB, free: 7.727 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004045/0.02667, allocations: 0.7859 MB / 0.6165 GB, free: 6.93 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.02677, allocations: 123.6 kB / 0.6166 GB, free: 6.809 MB / 462.1 MB Notification: Performance of FrontEnd: time 7.686e-05/0.02686, allocations: 31.88 kB / 0.6167 GB, free: 6.777 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.002305/0.02917, allocations: 3.045 MB / 0.6196 GB, free: 3.598 MB / 462.1 MB Notification: Performance of FunctionAlias: time 0.0001258/0.0293, allocations: 139.6 kB / 0.6198 GB, free: 3.461 MB / 462.1 MB Notification: Performance of Early Inline: time 0.001071/0.03038, allocations: 1.323 MB / 0.6211 GB, free: 2.109 MB / 462.1 MB Notification: Performance of simplify1: time 0.0001046/0.03049, allocations: 111.9 kB / 0.6212 GB, free: 2 MB / 462.1 MB Notification: Performance of Alias: time 0.001817/0.03231, allocations: 1.913 MB / 0.623 GB, free: 15.89 MB / 478.1 MB Notification: Performance of simplify2: time 8.032e-05/0.0324, allocations: 87.89 kB / 0.6231 GB, free: 15.8 MB / 478.1 MB Notification: Performance of Events: time 0.0001575/0.03257, allocations: 143 kB / 0.6233 GB, free: 15.66 MB / 478.1 MB Notification: Performance of Detect States: time 0.0002527/0.03283, allocations: 281.1 kB / 0.6235 GB, free: 15.38 MB / 478.1 MB Notification: Performance of Partitioning: time 0.000276/0.03311, allocations: 325 kB / 0.6238 GB, free: 14.99 MB / 478.1 MB Notification: Performance of Causalize: time 0.001072/0.03419, allocations: 1.092 MB / 0.6249 GB, free: 13.83 MB / 478.1 MB Notification: Performance of After Index Reduction Inline: time 0.0006491/0.03485, allocations: 0.8009 MB / 0.6257 GB, free: 13.01 MB / 478.1 MB Notification: Performance of Inline: time 0.001741/0.0366, allocations: 2.049 MB / 0.6277 GB, free: 10.92 MB / 478.1 MB Notification: Performance of Partitioning: time 0.0001048/0.03672, allocations: 115.5 kB / 0.6278 GB, free: 10.79 MB / 478.1 MB Notification: Performance of Cleanup: time 0.0001608/0.03688, allocations: 207.5 kB / 0.628 GB, free: 10.59 MB / 478.1 MB Notification: Performance of Causalize: time 0.005629/0.04252, allocations: 5.755 MB / 0.6336 GB, free: 4.84 MB / 478.1 MB Notification: Performance of Tearing: time 7.684e-06/0.04254, allocations: 3.938 kB / 0.6336 GB, free: 4.836 MB / 478.1 MB Notification: Performance of Initialization: time 2.184e-06/0.04254, allocations: 4 kB / 0.6336 GB, free: 4.832 MB / 478.1 MB Notification: Performance of Tearing: time 2.354e-06/0.04255, allocations: 0 / 0.6336 GB, free: 4.832 MB / 478.1 MB Notification: Performance of Categorize: time 1.129e-05/0.04256, allocations: 0 / 0.6336 GB, free: 4.832 MB / 478.1 MB Notification: Performance of Solve: time 0.001672/0.04424, allocations: 2.356 MB / 0.6359 GB, free: 2.18 MB / 478.1 MB Notification: Performance of Jacobian: time 0.0004578/0.04471, allocations: 0.5343 MB / 0.6365 GB, free: 1.598 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: ........... 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 4.884e-05/0.04477, allocations: 47.23 kB / 0.6365 GB, free: 1.559 MB / 478.1 MB Notification: Performance of SimCode: time 0.00289/0.04766, allocations: 3.518 MB / 0.6399 GB, free: 13.98 MB / 494.1 MB Notification: Performance of Templates: time 0.01075/0.05843, allocations: 7.37 MB / 0.6471 GB, free: 6.613 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