Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure") translateModel(IDEAS.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001322/0.001322, allocations: 108.9 kB / 16.42 MB, free: 6.477 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.001318/0.001318, allocations: 187.2 kB / 17.35 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.101/1.101, 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/package.mo): time 0.6612/0.6612, allocations: 132.2 MB / 423.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.084e-05/1.085e-05, allocations: 6.922 kB / 0.582 GB, free: 23.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Pressure): time 0.1404/0.1405, allocations: 169.5 MB / 0.7474 GB, free: 356 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.2399/0.3804, allocations: 7.302 MB / 0.7546 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003856/0.3808, allocations: 16.5 kB / 0.7546 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005054/0.3813, allocations: 209.7 kB / 0.7548 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001032/0.3823, allocations: 0.5816 MB / 0.7554 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008997/0.3833, allocations: 430.9 kB / 0.7558 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000743/0.384, allocations: 0.7834 MB / 0.7565 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003651/0.3844, allocations: 299.2 kB / 0.7568 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005728/0.385, allocations: 424.5 kB / 0.7572 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002702/0.3853, allocations: 225.8 kB / 0.7574 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.831e-05/0.3853, allocations: 19.66 kB / 0.7575 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008732/0.3862, allocations: 0.6851 MB / 0.7581 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.0004344/0.3866, allocations: 0.5677 MB / 0.7587 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.0002329/0.3869, allocations: 404.1 kB / 0.7591 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.086e-05/0.387, allocations: 57.44 kB / 0.7591 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of FrontEnd: time 6.025e-05/0.387, allocations: 19.36 kB / 0.7591 GB, free: 3.09 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.001386/0.3884, allocations: 1.507 MB / 0.7606 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of FunctionAlias: time 7.088e-05/0.3885, allocations: 63.77 kB / 0.7607 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of Early Inline: time 0.000584/0.3891, allocations: 0.6193 MB / 0.7613 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of simplify1: time 6.478e-05/0.3892, allocations: 56.33 kB / 0.7613 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of Alias: time 0.001026/0.3902, allocations: 1.018 MB / 0.7623 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of simplify2: time 2.992e-05/0.3902, allocations: 37.3 kB / 0.7624 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of Events: time 9.655e-05/0.3903, allocations: 85.47 kB / 0.7624 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of Detect States: time 0.0001068/0.3904, allocations: 149.1 kB / 0.7626 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0001747/0.3906, allocations: 273.5 kB / 0.7629 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of Causalize: time 0.0006716/0.3913, allocations: 0.8581 MB / 0.7637 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of After Index Reduction Inline: time 0.000292/0.3916, allocations: 410.4 kB / 0.7641 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of Inline: time 0.0005371/0.3921, allocations: 0.7371 MB / 0.7648 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of Partitioning: time 3.906e-05/0.3922, allocations: 52.86 kB / 0.7649 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of Cleanup: time 6.066e-05/0.3923, allocations: 88.78 kB / 0.7649 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of Causalize: time 0.00183/0.3941, allocations: 1.909 MB / 0.7668 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of Tearing: time 6.172e-06/0.3941, allocations: 2.391 kB / 0.7668 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of Initialization: time 4.41e-07/0.3941, allocations: 0 / 0.7668 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of Tearing: time 4.137e-06/0.3941, allocations: 2.859 kB / 0.7668 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of Categorize: time 1.4e-05/0.3941, allocations: 6.109 kB / 0.7668 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of Solve: time 0.0002678/0.3944, allocations: 180 kB / 0.767 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of Jacobian: time 2.926e-06/0.3944, allocations: 1.188 kB / 0.767 GB, free: 0.9648 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 4.464e-05/0.3945, allocations: 31.2 kB / 0.767 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of SimCode: time 0.001923/0.3964, allocations: 1.972 MB / 0.7689 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of Templates: time 0.006041/0.4025, allocations: 3.955 MB / 0.7728 GB, free: 15.62 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.makefile make -j1 -f IDEAS_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_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_IDEAS.Fluid.Sensors.Examples.Pressure.o IDEAS_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_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_IDEAS.Fluid.Sensors.Examples.Pressure_functions.o IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure_functions.c IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure_functions.c:675:31: error: use of undeclared identifier '_OMC_LIT19' tmpMeta2 = stringAppend(_OMC_LIT19,_modelName); ^ IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure_functions.c:676:40: error: use of undeclared identifier '_OMC_LIT20' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT20); ^ IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure_functions.c:678:40: error: use of undeclared identifier '_OMC_LIT21' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT21); ^ IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure_functions.c:695:35: error: use of undeclared identifier '_OMC_LIT22' tmpMeta7 = stringAppend(_OMC_LIT22,_mediumName); ^ IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure_functions.c:696:44: error: use of undeclared identifier '_OMC_LIT23' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT23); ^ IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure_functions.c:698:45: error: use of undeclared identifier '_OMC_LIT24' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT24); ^ IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure_functions.c:701:46: error: use of undeclared identifier '_OMC_LIT25' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT25); ^ IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure_functions.c:704:46: error: use of undeclared identifier '_OMC_LIT26' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT26); ^ IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure_functions.c:716:14: error: use of undeclared identifier '_OMC_LIT2' _X_str = _OMC_LIT2; ^ IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure_functions.c:724:41: error: use of undeclared identifier '_OMC_LIT27' tmpMeta21 = stringAppend(_X_str,_OMC_LIT27); ^ IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure_functions.c:727:44: error: use of undeclared identifier '_OMC_LIT28' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT28); ^ IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure_functions.c:730:44: error: use of undeclared identifier '_OMC_LIT29' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT29); ^ IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure_functions.c:732:44: error: use of undeclared identifier '_OMC_LIT30' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT30); ^ IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure_functions.c:737:30: error: use of undeclared identifier '_OMC_LIT31' tmpMeta33 = stringAppend(_OMC_LIT31,_mediumName); ^ IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure_functions.c:738:40: error: use of undeclared identifier '_OMC_LIT23' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT23); ^ IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure_functions.c:740:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT30); ^ IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure_functions.c:741:40: error: use of undeclared identifier '_OMC_LIT32' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT32); ^ IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure_functions.c:744:40: error: use of undeclared identifier '_OMC_LIT33' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT33); ^ IDEAS_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_IDEAS.Fluid.Sensors.Examples.Pressure_functions.o] Error 1