Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity") translateModel(BuildingSystems.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 106.8 kB / 16.42 MB, free: 6.527 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.001338/0.001338, allocations: 188.2 kB / 17.35 MB, free: 5.75 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.435/1.435, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002459/0.00246, allocations: 287.6 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.024/1.024, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.621e-05/3.624e-05, allocations: 6.219 kB / 0.682 GB, free: 7.062 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.7259/0.726, allocations: 167.4 MB / 0.8455 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003934/0.73, allocations: 1.563 MB / 0.847 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008357/0.7308, allocations: 11.94 kB / 0.847 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.7319, allocations: 150.8 kB / 0.8472 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00284/0.7347, allocations: 0.7352 MB / 0.8479 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002296/0.7372, allocations: 0.6089 MB / 0.8485 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001514/0.7387, allocations: 0.7913 MB / 0.8493 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006933/0.7394, allocations: 273.1 kB / 0.8495 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001165/0.7406, allocations: 394.6 kB / 0.8499 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006495/0.7412, allocations: 223.2 kB / 0.8501 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.505e-05/0.7414, allocations: 27.94 kB / 0.8502 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002001/0.7434, allocations: 0.8455 MB / 0.851 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of combineBinaries: time 0.0007134/0.7441, allocations: 0.5924 MB / 0.8516 GB, free: 424 kB / 0.6075 GB Notification: Performance of replaceArrayConstructors: time 0.0004113/0.7445, allocations: 399 kB / 0.8519 GB, free: 20 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001772/0.7447, allocations: 59.86 kB / 0.852 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of FrontEnd: time 0.0001182/0.7448, allocations: 19.94 kB / 0.852 GB, free: 15.94 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 (53) * Number of variables: 55 (53) Notification: Performance of Bindings: time 0.002163/0.747, allocations: 1.535 MB / 0.8535 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of FunctionAlias: time 0.0001785/0.7472, allocations: 55.88 kB / 0.8536 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of Early Inline: time 0.001319/0.7485, allocations: 0.9633 MB / 0.8545 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of simplify1: time 0.000124/0.7486, allocations: 75.78 kB / 0.8546 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of Alias: time 0.001755/0.7504, allocations: 1.081 MB / 0.8556 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of simplify2: time 0.000147/0.7506, allocations: 71.91 kB / 0.8557 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of Detect States: time 0.0003344/0.7509, allocations: 187.8 kB / 0.8559 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of Events: time 0.0002972/0.7512, allocations: 140.2 kB / 0.856 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of Partitioning: time 0.0004447/0.7517, allocations: 289.2 kB / 0.8563 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of Causalize: time 0.00156/0.7532, allocations: 1.105 MB / 0.8574 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of After Index Reduction Inline: time 0.0007341/0.754, allocations: 0.6402 MB / 0.858 GB, free: 9.453 MB / 0.6231 GB Notification: Performance of Inline: time 0.00184/0.7558, allocations: 1.235 MB / 0.8592 GB, free: 8.184 MB / 0.6231 GB Notification: Performance of Partitioning: time 8.462e-05/0.7559, allocations: 58.36 kB / 0.8593 GB, free: 8.121 MB / 0.6231 GB Notification: Performance of Cleanup: time 0.0001131/0.7561, allocations: 55.86 kB / 0.8593 GB, free: 8.066 MB / 0.6231 GB Notification: Performance of Causalize: time 0.002152/0.7582, allocations: 1.381 MB / 0.8607 GB, free: 6.688 MB / 0.6231 GB Notification: Performance of Tearing: time 1.875e-05/0.7582, allocations: 7.938 kB / 0.8607 GB, free: 6.68 MB / 0.6231 GB Notification: Performance of Initialization: time 1.452e-06/0.7583, allocations: 0 / 0.8607 GB, free: 6.68 MB / 0.6231 GB Notification: Performance of Tearing: time 7.605e-06/0.7583, allocations: 0 / 0.8607 GB, free: 6.68 MB / 0.6231 GB Notification: Performance of Categorize: time 2.301e-05/0.7583, allocations: 4 kB / 0.8607 GB, free: 6.676 MB / 0.6231 GB Notification: Performance of Solve: time 0.0005088/0.7588, allocations: 209.9 kB / 0.8609 GB, free: 6.469 MB / 0.6231 GB Notification: Performance of Jacobian: time 0.0005522/0.7594, allocations: 407 kB / 0.8613 GB, free: 6.031 MB / 0.6231 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: ........... 42 (scalar:32, 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: ........... 52 (scalar:42, 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.231e-05/0.7595, allocations: 30.64 kB / 0.8613 GB, free: 6.012 MB / 0.6231 GB Notification: Performance of SimCode: time 0.00402/0.7635, allocations: 2.317 MB / 0.8635 GB, free: 3.676 MB / 0.6231 GB Notification: Performance of Templates: time 0.01276/0.7763, allocations: 5.641 MB / 0.8691 GB, free: 14.04 MB / 0.6387 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.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=BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Velocity -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 BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.o BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.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=BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Velocity -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 BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity_functions.o BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity_functions.c BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity_functions.c:757:31: error: use of undeclared identifier '_OMC_LIT16' tmpMeta2 = stringAppend(_OMC_LIT16,_modelName); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity_functions.c:758:40: error: use of undeclared identifier '_OMC_LIT17' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT17); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity_functions.c:760:40: error: use of undeclared identifier '_OMC_LIT18' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT18); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity_functions.c:777:35: error: use of undeclared identifier '_OMC_LIT19' tmpMeta7 = stringAppend(_OMC_LIT19,_mediumName); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity_functions.c:778:44: error: use of undeclared identifier '_OMC_LIT20' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT20); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity_functions.c:780:45: error: use of undeclared identifier '_OMC_LIT21' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT21); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity_functions.c:783:46: error: use of undeclared identifier '_OMC_LIT22' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT22); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity_functions.c:786:46: error: use of undeclared identifier '_OMC_LIT23' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT23); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity_functions.c:798:14: error: use of undeclared identifier '_OMC_LIT24' _X_str = _OMC_LIT24; ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity_functions.c:806:41: error: use of undeclared identifier '_OMC_LIT25' tmpMeta21 = stringAppend(_X_str,_OMC_LIT25); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity_functions.c:809:44: error: use of undeclared identifier '_OMC_LIT26' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT26); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity_functions.c:812:44: error: use of undeclared identifier '_OMC_LIT27' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT27); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity_functions.c:814:44: error: use of undeclared identifier '_OMC_LIT28' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT28); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity_functions.c:819:30: error: use of undeclared identifier '_OMC_LIT29' tmpMeta33 = stringAppend(_OMC_LIT29,_mediumName); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity_functions.c:820:40: error: use of undeclared identifier '_OMC_LIT20' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT20); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity_functions.c:822:40: error: use of undeclared identifier '_OMC_LIT28' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT28); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity_functions.c:823:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT30); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity_functions.c:826:40: error: use of undeclared identifier '_OMC_LIT31' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT31); ^ BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity_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: *** [: BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity_functions.o] Error 1