Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0014/0.001401, allocations: 116.7 kB / 17.1 MB, free: 5.977 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.001557/0.001557, allocations: 196.8 kB / 18.04 MB, free: 5.055 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.504/1.504, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7683/0.7683, allocations: 115.3 MB / 407.2 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.594e-05/2.595e-05, allocations: 2.281 kB / 0.5583 GB, free: 32.08 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2236/0.2237, allocations: 167.3 MB / 0.7217 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003413/0.2271, allocations: 1.552 MB / 0.7232 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003457/0.2275, allocations: 15.88 kB / 0.7233 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005612/0.2281, allocations: 154.8 kB / 0.7234 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001893/0.23, allocations: 0.7352 MB / 0.7241 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001704/0.2318, allocations: 0.6104 MB / 0.7247 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009674/0.2328, allocations: 0.7681 MB / 0.7255 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004436/0.2332, allocations: 257.2 kB / 0.7257 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006591/0.2339, allocations: 390.8 kB / 0.7261 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002782/0.2342, allocations: 227.1 kB / 0.7263 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.056e-05/0.2342, allocations: 20 kB / 0.7263 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001447/0.2357, allocations: 0.8338 MB / 0.7271 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.0005065/0.2362, allocations: 0.5763 MB / 0.7277 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 0.0002652/0.2365, allocations: 383.4 kB / 0.7281 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.801e-05/0.2366, allocations: 59.81 kB / 0.7281 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.1e-05/0.2366, allocations: 11.94 kB / 0.7281 GB, free: 2.078 MB / 0.5606 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.001508/0.2382, allocations: 1.478 MB / 0.7296 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 9.104e-05/0.2383, allocations: 59.83 kB / 0.7296 GB, free: 444 kB / 0.5606 GB Notification: Performance of Early Inline: time 0.00102/0.2393, allocations: 0.9403 MB / 0.7306 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of simplify1: time 7.079e-05/0.2394, allocations: 59.92 kB / 0.7306 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of Alias: time 0.001433/0.2408, allocations: 1.072 MB / 0.7317 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of simplify2: time 6.814e-05/0.2409, allocations: 63.92 kB / 0.7317 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of Events: time 0.0002201/0.2411, allocations: 155 kB / 0.7319 GB, free: 14 MB / 0.5762 GB Notification: Performance of Detect States: time 0.0002589/0.2414, allocations: 205.1 kB / 0.7321 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0003087/0.2417, allocations: 280.6 kB / 0.7323 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of Causalize: time 0.001198/0.2429, allocations: 1.067 MB / 0.7334 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of After Index Reduction Inline: time 0.0005993/0.2435, allocations: 0.6119 MB / 0.734 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of Inline: time 0.001198/0.2447, allocations: 1.153 MB / 0.7351 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of Partitioning: time 6.143e-05/0.2448, allocations: 58.34 kB / 0.7351 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of Cleanup: time 5.407e-05/0.2449, allocations: 47.94 kB / 0.7352 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of Causalize: time 0.001524/0.2464, allocations: 1.299 MB / 0.7365 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of Tearing: time 1.209e-05/0.2464, allocations: 0 / 0.7365 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of Initialization: time 3.21e-07/0.2464, allocations: 0 / 0.7365 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of Tearing: time 4.589e-06/0.2464, allocations: 4 kB / 0.7365 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of Categorize: time 2.069e-05/0.2465, allocations: 7.938 kB / 0.7365 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of Solve: time 0.0003593/0.2468, allocations: 201.9 kB / 0.7367 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of Jacobian: time 0.0004355/0.2473, allocations: 393.9 kB / 0.737 GB, free: 8.469 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 5.82e-05/0.2473, allocations: 46.53 kB / 0.7371 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of SimCode: time 0.003253/0.2506, allocations: 2.266 MB / 0.7393 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of Templates: time 0.01089/0.2615, allocations: 5.553 MB / 0.7447 GB, free: 0.582 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.makefile make -j1 -f IBPSA_latest_IBPSA.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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.o IBPSA_latest_IBPSA.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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate_functions.o IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate_functions.c IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:757:31: error: use of undeclared identifier '_OMC_LIT16' tmpMeta2 = stringAppend(_OMC_LIT16,_modelName); ^ IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:758:40: error: use of undeclared identifier '_OMC_LIT17' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT17); ^ IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:760:40: error: use of undeclared identifier '_OMC_LIT18' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT18); ^ IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:777:35: error: use of undeclared identifier '_OMC_LIT19' tmpMeta7 = stringAppend(_OMC_LIT19,_mediumName); ^ IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:778:44: error: use of undeclared identifier '_OMC_LIT20' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT20); ^ IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:780:45: error: use of undeclared identifier '_OMC_LIT21' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT21); ^ IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:783:46: error: use of undeclared identifier '_OMC_LIT22' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT22); ^ IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:786:46: error: use of undeclared identifier '_OMC_LIT23' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT23); ^ IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:798:14: error: use of undeclared identifier '_OMC_LIT24' _X_str = _OMC_LIT24; ^ IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:806:41: error: use of undeclared identifier '_OMC_LIT25' tmpMeta21 = stringAppend(_X_str,_OMC_LIT25); ^ IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:809:44: error: use of undeclared identifier '_OMC_LIT26' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT26); ^ IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:812:44: error: use of undeclared identifier '_OMC_LIT27' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT27); ^ IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:814:44: error: use of undeclared identifier '_OMC_LIT28' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT28); ^ IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:819:30: error: use of undeclared identifier '_OMC_LIT29' tmpMeta33 = stringAppend(_OMC_LIT29,_mediumName); ^ IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:820:40: error: use of undeclared identifier '_OMC_LIT20' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT20); ^ IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:822:40: error: use of undeclared identifier '_OMC_LIT28' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT28); ^ IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:823:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT30); ^ IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate_functions.c:826:40: error: use of undeclared identifier '_OMC_LIT31' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT31); ^ IBPSA_latest_IBPSA.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: *** [: IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate_functions.o] Error 1