Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.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.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 110.4 kB / 16.42 MB, free: 6.504 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.001556/0.001556, allocations: 187.2 kB / 17.35 MB, free: 5.754 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.398/1.398, 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.8312/0.8312, allocations: 135.1 MB / 426.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.118e-05/3.121e-05, allocations: 8.359 kB / 0.5862 GB, free: 21.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.7826/0.7827, allocations: 167.3 MB / 0.7497 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003418/0.7861, allocations: 1.548 MB / 0.7512 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004253/0.7866, allocations: 11.56 kB / 0.7512 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005337/0.7872, allocations: 151.7 kB / 0.7513 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001998/0.7892, allocations: 0.6987 MB / 0.752 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001771/0.791, allocations: 0.604 MB / 0.7526 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001001/0.792, allocations: 0.7836 MB / 0.7534 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000422/0.7924, allocations: 247.9 kB / 0.7536 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006286/0.793, allocations: 372.3 kB / 0.7539 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002876/0.7933, allocations: 225 kB / 0.7542 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.136e-05/0.7934, allocations: 23.47 kB / 0.7542 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001487/0.7949, allocations: 0.8284 MB / 0.755 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.0004707/0.7954, allocations: 0.5728 MB / 0.7556 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.0002546/0.7956, allocations: 385.2 kB / 0.7559 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.308e-05/0.7957, allocations: 55.34 kB / 0.756 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of FrontEnd: time 0.0001015/0.7958, allocations: 19.45 kB / 0.756 GB, free: 3.18 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: 53 (51) * Number of variables: 53 (51) Notification: Performance of Bindings: time 0.001661/0.7975, allocations: 1.49 MB / 0.7574 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of FunctionAlias: time 9.483e-05/0.7976, allocations: 58.22 kB / 0.7575 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of Early Inline: time 0.00121/0.7988, allocations: 0.9372 MB / 0.7584 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of simplify1: time 0.0001111/0.7989, allocations: 65.95 kB / 0.7585 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of Alias: time 0.001645/0.8006, allocations: 1.078 MB / 0.7595 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of simplify2: time 0.0001049/0.8007, allocations: 71.91 kB / 0.7596 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of Events: time 0.0002394/0.801, allocations: 144.2 kB / 0.7597 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of Detect States: time 0.000289/0.8013, allocations: 202.6 kB / 0.7599 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0003594/0.8016, allocations: 285.2 kB / 0.7602 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of Causalize: time 0.001826/0.8035, allocations: 1.061 MB / 0.7612 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of After Index Reduction Inline: time 0.0008276/0.8043, allocations: 0.6284 MB / 0.7619 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of Inline: time 0.001245/0.8056, allocations: 1.14 MB / 0.763 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of Partitioning: time 5.61e-05/0.8056, allocations: 54.61 kB / 0.763 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of Cleanup: time 5.797e-05/0.8057, allocations: 52.19 kB / 0.7631 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of Causalize: time 0.00194/0.8076, allocations: 1.309 MB / 0.7644 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of Tearing: time 8.336e-06/0.8077, allocations: 1.203 kB / 0.7644 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of Initialization: time 3.41e-07/0.8077, allocations: 1.031 kB / 0.7644 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of Tearing: time 7.574e-06/0.8077, allocations: 2.688 kB / 0.7644 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of Categorize: time 2.182e-05/0.8077, allocations: 2.859 kB / 0.7644 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of Solve: time 0.0005021/0.8082, allocations: 202.9 kB / 0.7646 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of Jacobian: time 0.0005351/0.8088, allocations: 387.9 kB / 0.7649 GB, free: 1.121 MB / 0.5762 GB 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: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 1 (1) {senDyn.d} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 9 (9) {$SEV_6, $SEV_5, $SEV_4, $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: ........... 40 (scalar:30, array:10, 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: ........... 48 (scalar:38, array:10, 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 7.98e-05/0.8088, allocations: 36.44 kB / 0.765 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of SimCode: time 0.003879/0.8127, allocations: 2.27 MB / 0.7672 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of Templates: time 0.0108/0.8235, allocations: 5.6 MB / 0.7726 GB, free: 15.52 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.makefile make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.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_VolumeFlowRate -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.VolumeFlowRate.o IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.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_VolumeFlowRate -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.VolumeFlowRate_functions.o IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate_functions.c IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:757:31: error: use of undeclared identifier '_OMC_LIT16' tmpMeta2 = stringAppend(_OMC_LIT16,_modelName); ^ IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:758:40: error: use of undeclared identifier '_OMC_LIT17' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT17); ^ IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:760:40: error: use of undeclared identifier '_OMC_LIT18' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT18); ^ IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:777:35: error: use of undeclared identifier '_OMC_LIT19' tmpMeta7 = stringAppend(_OMC_LIT19,_mediumName); ^ IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:778:44: error: use of undeclared identifier '_OMC_LIT20' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT20); ^ IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:780:45: error: use of undeclared identifier '_OMC_LIT21' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT21); ^ IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:783:46: error: use of undeclared identifier '_OMC_LIT22' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT22); ^ IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:786:46: error: use of undeclared identifier '_OMC_LIT23' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT23); ^ IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:798:14: error: use of undeclared identifier '_OMC_LIT24' _X_str = _OMC_LIT24; ^ IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:806:41: error: use of undeclared identifier '_OMC_LIT25' tmpMeta21 = stringAppend(_X_str,_OMC_LIT25); ^ IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:809:44: error: use of undeclared identifier '_OMC_LIT26' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT26); ^ IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:812:44: error: use of undeclared identifier '_OMC_LIT27' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT27); ^ IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:814:44: error: use of undeclared identifier '_OMC_LIT28' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT28); ^ IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:819:30: error: use of undeclared identifier '_OMC_LIT29' tmpMeta33 = stringAppend(_OMC_LIT29,_mediumName); ^ IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:820:40: error: use of undeclared identifier '_OMC_LIT20' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT20); ^ IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:822:40: error: use of undeclared identifier '_OMC_LIT28' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT28); ^ IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:823:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT30); ^ IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:826:40: error: use of undeclared identifier '_OMC_LIT31' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT31); ^ IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:922: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.VolumeFlowRate_functions.o] Error 1