Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure.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.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure") translateModel(IDEAS.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001215, allocations: 105.8 kB / 16.42 MB, free: 6.48 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.001251/0.001251, allocations: 190 kB / 17.36 MB, free: 5.707 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.472/1.472, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7895/0.7895, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.054e-05/4.055e-05, allocations: 5.562 kB / 0.5862 GB, free: 21.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Pressure): time 0.7135/0.7136, allocations: 169.4 MB / 0.7517 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008739/0.7224, allocations: 7.324 MB / 0.7589 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008473/0.7233, allocations: 11 kB / 0.7589 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009413/0.7242, allocations: 218.5 kB / 0.7591 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001921/0.7262, allocations: 0.5623 MB / 0.7596 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00197/0.7282, allocations: 437.9 kB / 0.76 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001669/0.7298, allocations: 0.7836 MB / 0.7608 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006428/0.7305, allocations: 300.4 kB / 0.7611 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001116/0.7316, allocations: 427.2 kB / 0.7615 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004591/0.7321, allocations: 231 kB / 0.7617 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.853e-05/0.7322, allocations: 21.95 kB / 0.7617 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001819/0.734, allocations: 0.6811 MB / 0.7624 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.0006979/0.7347, allocations: 0.5735 MB / 0.763 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.0004007/0.7351, allocations: 399.2 kB / 0.7633 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.7352, allocations: 61.48 kB / 0.7634 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of FrontEnd: time 0.000137/0.7354, allocations: 14.83 kB / 0.7634 GB, free: 3.141 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 (50) * Number of variables: 52 (50) Notification: Performance of Bindings: time 0.002264/0.7377, allocations: 1.511 MB / 0.7649 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of FunctionAlias: time 0.000109/0.7378, allocations: 55.56 kB / 0.7649 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of Early Inline: time 0.0008243/0.7386, allocations: 0.6235 MB / 0.7656 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of simplify1: time 7.396e-05/0.7387, allocations: 52.17 kB / 0.7656 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of Alias: time 0.001475/0.7402, allocations: 1.013 MB / 0.7666 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of simplify2: time 4.492e-05/0.7402, allocations: 37.69 kB / 0.7666 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of Events: time 0.0001648/0.7404, allocations: 89.83 kB / 0.7667 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of Detect States: time 0.0001914/0.7406, allocations: 152.8 kB / 0.7669 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0003673/0.741, allocations: 272.5 kB / 0.7671 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of Causalize: time 0.001273/0.7423, allocations: 0.8538 MB / 0.768 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of After Index Reduction Inline: time 0.0004382/0.7427, allocations: 405.4 kB / 0.7683 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of Inline: time 0.0009374/0.7437, allocations: 0.7512 MB / 0.7691 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of Partitioning: time 6.554e-05/0.7437, allocations: 48.81 kB / 0.7691 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of Cleanup: time 9.743e-05/0.7438, allocations: 92.73 kB / 0.7692 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of Causalize: time 0.002648/0.7465, allocations: 1.9 MB / 0.7711 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of Tearing: time 1.168e-05/0.7465, allocations: 4.188 kB / 0.7711 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of Initialization: time 5.71e-07/0.7465, allocations: 2.062 kB / 0.7711 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of Tearing: time 8.927e-06/0.7465, allocations: 3.109 kB / 0.7711 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of Categorize: time 2.968e-05/0.7466, allocations: 3.609 kB / 0.7711 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of Solve: time 0.0004718/0.7471, allocations: 180.9 kB / 0.7713 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of Jacobian: time 3.877e-06/0.7471, allocations: 0 / 0.7713 GB, free: 1.02 MB / 0.5762 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 8 * Number of ODE event partitions: ............... 0 * 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: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 5 (5) {$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: ........... 34 (scalar:22, array:12, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 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: ........... 42 (scalar:30, array:12, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 42 (scalar:30, array:12, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 8.099e-05/0.7472, allocations: 42.89 kB / 0.7713 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of SimCode: time 0.003596/0.7508, allocations: 1.967 MB / 0.7732 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of Templates: time 0.009325/0.7601, allocations: 3.959 MB / 0.7771 GB, free: 15.65 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure.makefile make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure.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_Sensors_Examples_Pressure -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 IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure.o IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure.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_Sensors_Examples_Pressure -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 IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure_functions.o IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure_functions.c IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure_functions.c:675:31: error: use of undeclared identifier '_OMC_LIT19' tmpMeta2 = stringAppend(_OMC_LIT19,_modelName); ^ IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure_functions.c:676:40: error: use of undeclared identifier '_OMC_LIT20' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT20); ^ IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure_functions.c:678:40: error: use of undeclared identifier '_OMC_LIT21' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT21); ^ IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure_functions.c:695:35: error: use of undeclared identifier '_OMC_LIT22' tmpMeta7 = stringAppend(_OMC_LIT22,_mediumName); ^ IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure_functions.c:696:44: error: use of undeclared identifier '_OMC_LIT23' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT23); ^ IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure_functions.c:698:45: error: use of undeclared identifier '_OMC_LIT24' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT24); ^ IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure_functions.c:701:46: error: use of undeclared identifier '_OMC_LIT25' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT25); ^ IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure_functions.c:704:46: error: use of undeclared identifier '_OMC_LIT26' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT26); ^ IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure_functions.c:716:14: error: use of undeclared identifier '_OMC_LIT2' _X_str = _OMC_LIT2; ^ IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure_functions.c:724:41: error: use of undeclared identifier '_OMC_LIT27' tmpMeta21 = stringAppend(_X_str,_OMC_LIT27); ^ IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure_functions.c:727:44: error: use of undeclared identifier '_OMC_LIT28' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT28); ^ IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure_functions.c:730:44: error: use of undeclared identifier '_OMC_LIT29' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT29); ^ IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure_functions.c:732:44: error: use of undeclared identifier '_OMC_LIT30' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT30); ^ IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure_functions.c:737:30: error: use of undeclared identifier '_OMC_LIT31' tmpMeta33 = stringAppend(_OMC_LIT31,_mediumName); ^ IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure_functions.c:738:40: error: use of undeclared identifier '_OMC_LIT23' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT23); ^ IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure_functions.c:740:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT30); ^ IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure_functions.c:741:40: error: use of undeclared identifier '_OMC_LIT32' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT32); ^ IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure_functions.c:744:40: error: use of undeclared identifier '_OMC_LIT33' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT33); ^ IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure_functions.c:763: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.Sensors.Examples.Pressure_functions.o] Error 1