Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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(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_latest_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_latest_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.001072/0.001072, allocations: 104.8 kB / 16.42 MB, free: 6.484 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.001057/0.001057, allocations: 190 kB / 17.36 MB, free: 5.703 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.11/1.11, 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 11.0.1-master/package.mo): time 2.14/2.14, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.038e-05/1.04e-05, allocations: 2.281 kB / 1.055 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5115/0.5116, allocations: 167.4 MB / 1.218 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002043/0.5136, allocations: 1.552 MB / 1.22 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001625/0.5138, allocations: 11.69 kB / 1.22 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003527/0.5142, allocations: 151.3 kB / 1.22 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001158/0.5154, allocations: 0.6994 MB / 1.22 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.5164, allocations: 0.6064 MB / 1.221 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0006123/0.517, allocations: 0.7592 MB / 1.222 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003256/0.5174, allocations: 265.4 kB / 1.222 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004341/0.5178, allocations: 380.4 kB / 1.222 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000217/0.5181, allocations: 224.5 kB / 1.223 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.864e-05/0.5181, allocations: 23.41 kB / 1.223 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000958/0.5191, allocations: 0.8306 MB / 1.223 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of combineBinaries: time 0.0003465/0.5194, allocations: 0.564 MB / 1.224 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of replaceArrayConstructors: time 0.0001976/0.5196, allocations: 385.8 kB / 1.224 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.631e-05/0.5197, allocations: 55.47 kB / 1.224 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of FrontEnd: time 4.906e-05/0.5197, allocations: 19.47 kB / 1.224 GB, free: 7.535 MB / 0.9356 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.001148/0.5209, allocations: 1.489 MB / 1.226 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of FunctionAlias: time 6.075e-05/0.521, allocations: 55.33 kB / 1.226 GB, free: 6.32 MB / 0.9356 GB Notification: Performance of Early Inline: time 0.0007896/0.5217, allocations: 0.9374 MB / 1.227 GB, free: 5.613 MB / 0.9356 GB Notification: Performance of simplify1: time 5.853e-05/0.5218, allocations: 65.27 kB / 1.227 GB, free: 5.57 MB / 0.9356 GB Notification: Performance of Alias: time 0.001039/0.5229, allocations: 1.074 MB / 1.228 GB, free: 4.789 MB / 0.9356 GB Notification: Performance of simplify2: time 6.016e-05/0.5229, allocations: 70.91 kB / 1.228 GB, free: 4.746 MB / 0.9356 GB Notification: Performance of Events: time 0.0001547/0.5231, allocations: 143.7 kB / 1.228 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of Detect States: time 0.0002887/0.5234, allocations: 201.3 kB / 1.228 GB, free: 4.473 MB / 0.9356 GB Notification: Performance of Partitioning: time 0.0002403/0.5236, allocations: 276.2 kB / 1.229 GB, free: 4.262 MB / 0.9356 GB Notification: Performance of Causalize: time 0.001019/0.5247, allocations: 1.071 MB / 1.23 GB, free: 3.371 MB / 0.9356 GB Notification: Performance of After Index Reduction Inline: time 0.0004982/0.5252, allocations: 0.6235 MB / 1.23 GB, free: 2.723 MB / 0.9356 GB Notification: Performance of Inline: time 0.0009641/0.5261, allocations: 1.145 MB / 1.231 GB, free: 1.543 MB / 0.9356 GB Notification: Performance of Partitioning: time 4.599e-05/0.5262, allocations: 50.36 kB / 1.231 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of Cleanup: time 4.064e-05/0.5262, allocations: 55.86 kB / 1.231 GB, free: 1.434 MB / 0.9356 GB Notification: Performance of Causalize: time 0.001296/0.5275, allocations: 1.303 MB / 1.233 GB, free: 128 kB / 0.9356 GB Notification: Performance of Tearing: time 7.514e-06/0.5276, allocations: 0 / 1.233 GB, free: 128 kB / 0.9356 GB Notification: Performance of Initialization: time 3.5e-07/0.5276, allocations: 0 / 1.233 GB, free: 128 kB / 0.9356 GB Notification: Performance of Tearing: time 2.224e-06/0.5276, allocations: 0 / 1.233 GB, free: 128 kB / 0.9356 GB Notification: Performance of Categorize: time 1.083e-05/0.5276, allocations: 7.938 kB / 1.233 GB, free: 120 kB / 0.9356 GB Notification: Performance of Solve: time 0.0003087/0.5279, allocations: 209.9 kB / 1.233 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of Jacobian: time 0.0003076/0.5282, allocations: 389.9 kB / 1.233 GB, free: 15.49 MB / 0.9512 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.773e-05/0.5283, allocations: 36.27 kB / 1.233 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of SimCode: time 0.002043/0.5303, allocations: 2.282 MB / 1.236 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of Templates: time 0.008088/0.5384, allocations: 5.549 MB / 1.241 GB, free: 7.609 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile make -j1 -f Buildings_latest_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_latest_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_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.o Buildings_latest_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_latest_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_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.o Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:757:31: error: use of undeclared identifier '_OMC_LIT16' tmpMeta2 = stringAppend(_OMC_LIT16,_modelName); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:758:40: error: use of undeclared identifier '_OMC_LIT17' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT17); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:760:40: error: use of undeclared identifier '_OMC_LIT18' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT18); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:777:35: error: use of undeclared identifier '_OMC_LIT19' tmpMeta7 = stringAppend(_OMC_LIT19,_mediumName); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:778:44: error: use of undeclared identifier '_OMC_LIT20' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT20); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:780:45: error: use of undeclared identifier '_OMC_LIT21' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT21); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:783:46: error: use of undeclared identifier '_OMC_LIT22' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT22); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:786:46: error: use of undeclared identifier '_OMC_LIT23' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT23); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:798:14: error: use of undeclared identifier '_OMC_LIT24' _X_str = _OMC_LIT24; ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:806:41: error: use of undeclared identifier '_OMC_LIT25' tmpMeta21 = stringAppend(_X_str,_OMC_LIT25); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:809:44: error: use of undeclared identifier '_OMC_LIT26' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT26); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:812:44: error: use of undeclared identifier '_OMC_LIT27' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT27); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:814:44: error: use of undeclared identifier '_OMC_LIT28' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT28); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:819:30: error: use of undeclared identifier '_OMC_LIT29' tmpMeta33 = stringAppend(_OMC_LIT29,_mediumName); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:820:40: error: use of undeclared identifier '_OMC_LIT20' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT20); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:822:40: error: use of undeclared identifier '_OMC_LIT28' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT28); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:823:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT30); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:826:40: error: use of undeclared identifier '_OMC_LIT31' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT31); ^ Buildings_latest_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_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_functions.o] Error 1