Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_9_Buildings.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.001348/0.001348, allocations: 112 kB / 16.43 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.001356/0.001356, allocations: 183.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.113/1.113, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.879/1.879, allocations: 390.2 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.111e-05/1.113e-05, allocations: 2.281 kB / 0.9515 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.4986/0.4986, allocations: 167.4 MB / 1.115 GB, free: 6.867 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00206/0.5007, allocations: 1.551 MB / 1.116 GB, free: 6.809 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001684/0.5009, allocations: 11.94 kB / 1.116 GB, free: 6.809 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003662/0.5013, allocations: 155.4 kB / 1.117 GB, free: 6.805 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001238/0.5026, allocations: 0.7277 MB / 1.117 GB, free: 6.773 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.5036, allocations: 0.608 MB / 1.118 GB, free: 6.75 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000641/0.5043, allocations: 0.7697 MB / 1.119 GB, free: 6.738 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000322/0.5046, allocations: 262 kB / 1.119 GB, free: 6.711 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004628/0.5051, allocations: 387.9 kB / 1.119 GB, free: 6.703 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002302/0.5053, allocations: 221.7 kB / 1.119 GB, free: 6.703 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.652e-05/0.5053, allocations: 26.62 kB / 1.119 GB, free: 6.699 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009567/0.5063, allocations: 0.8357 MB / 1.12 GB, free: 6.688 MB / 0.8575 GB Notification: Performance of combineBinaries: time 0.0003832/0.5067, allocations: 0.5717 MB / 1.121 GB, free: 6.531 MB / 0.8575 GB Notification: Performance of replaceArrayConstructors: time 0.0001848/0.5069, allocations: 383.1 kB / 1.121 GB, free: 6.367 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.105e-05/0.507, allocations: 57.62 kB / 1.121 GB, free: 6.367 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.868e-05/0.507, allocations: 10.14 kB / 1.121 GB, free: 6.367 MB / 0.8575 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.001061/0.5081, allocations: 1.489 MB / 1.123 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of FunctionAlias: time 5.982e-05/0.5081, allocations: 49.89 kB / 1.123 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of Early Inline: time 0.0007752/0.5089, allocations: 0.9449 MB / 1.124 GB, free: 5.723 MB / 0.8575 GB Notification: Performance of simplify1: time 6.307e-05/0.509, allocations: 66.89 kB / 1.124 GB, free: 5.723 MB / 0.8575 GB Notification: Performance of Alias: time 0.001079/0.5101, allocations: 1.07 MB / 1.125 GB, free: 5.32 MB / 0.8575 GB Notification: Performance of simplify2: time 6.359e-05/0.5101, allocations: 70.58 kB / 1.125 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of Detect States: time 0.0001729/0.5103, allocations: 178.9 kB / 1.125 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of Events: time 0.0001613/0.5105, allocations: 147.1 kB / 1.125 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of Partitioning: time 0.0002165/0.5107, allocations: 278.3 kB / 1.125 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of Causalize: time 0.0009559/0.5117, allocations: 1.066 MB / 1.127 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of After Index Reduction Inline: time 0.0004517/0.5121, allocations: 0.6219 MB / 1.127 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of Inline: time 0.0008537/0.513, allocations: 1.145 MB / 1.128 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of Partitioning: time 4.975e-05/0.5131, allocations: 57.3 kB / 1.128 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of Cleanup: time 4.127e-05/0.5131, allocations: 49.55 kB / 1.128 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of Causalize: time 0.001234/0.5143, allocations: 1.304 MB / 1.13 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of Tearing: time 1.013e-05/0.5144, allocations: 1.203 kB / 1.13 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of Initialization: time 3.51e-07/0.5144, allocations: 5.125 kB / 1.13 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of Tearing: time 4.208e-06/0.5144, allocations: 2.156 kB / 1.13 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of Categorize: time 1.005e-05/0.5144, allocations: 3.516 kB / 1.13 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of Solve: time 0.0002578/0.5146, allocations: 202.3 kB / 1.13 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of Jacobian: time 0.0002796/0.5149, allocations: 394.3 kB / 1.13 GB, free: 4.043 MB / 0.8575 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 3.367e-05/0.515, allocations: 34.23 kB / 1.13 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of SimCode: time 0.001867/0.5169, allocations: 2.277 MB / 1.132 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of Templates: time 0.007583/0.5244, allocations: 5.548 MB / 1.138 GB, free: 2.391 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile make -j1 -f Buildings_9_Buildings.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=Buildings_9_Buildings_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 Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.o Buildings_9_Buildings.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=Buildings_9_Buildings_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 Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.o Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:757:31: error: use of undeclared identifier '_OMC_LIT16' tmpMeta2 = stringAppend(_OMC_LIT16,_modelName); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:758:40: error: use of undeclared identifier '_OMC_LIT17' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT17); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:760:40: error: use of undeclared identifier '_OMC_LIT18' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT18); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:777:35: error: use of undeclared identifier '_OMC_LIT19' tmpMeta7 = stringAppend(_OMC_LIT19,_mediumName); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:778:44: error: use of undeclared identifier '_OMC_LIT20' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT20); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:780:45: error: use of undeclared identifier '_OMC_LIT21' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT21); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:783:46: error: use of undeclared identifier '_OMC_LIT22' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT22); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:786:46: error: use of undeclared identifier '_OMC_LIT23' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT23); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:798:14: error: use of undeclared identifier '_OMC_LIT24' _X_str = _OMC_LIT24; ^ Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:806:41: error: use of undeclared identifier '_OMC_LIT25' tmpMeta21 = stringAppend(_X_str,_OMC_LIT25); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:809:44: error: use of undeclared identifier '_OMC_LIT26' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT26); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:812:44: error: use of undeclared identifier '_OMC_LIT27' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT27); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:814:44: error: use of undeclared identifier '_OMC_LIT28' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT28); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:819:30: error: use of undeclared identifier '_OMC_LIT29' tmpMeta33 = stringAppend(_OMC_LIT29,_mediumName); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:820:40: error: use of undeclared identifier '_OMC_LIT20' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT20); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:822:40: error: use of undeclared identifier '_OMC_LIT28' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT28); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:823:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT30); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:826:40: error: use of undeclared identifier '_OMC_LIT31' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT31); ^ Buildings_9_Buildings.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: *** [: Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.o] Error 1