Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.TemperatureDryBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFloRat.T|temSteSta.T|temDyn.T|temDynLoss.T|masFloRat.ports.1..m_flow|senRelTem.T_rel",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFloRat.T|temSteSta.T|temDyn.T|temDynLoss.T|masFloRat.ports.1..m_flow|senRelTem.T_rel",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 105.9 kB / 16.42 MB, free: 6.453 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.001061/0.001061, allocations: 192.3 kB / 17.35 MB, free: 5.695 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.141/1.141, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.086/2.086, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.36e-05/2.362e-05, allocations: 2.5 kB / 1.019 GB, free: 9.457 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5711/0.5712, allocations: 181.8 MB / 1.197 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.005011/0.5762, allocations: 4.445 MB / 1.201 GB, free: 7.895 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003588/0.5766, allocations: 31.25 kB / 1.201 GB, free: 7.879 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.000568/0.5772, allocations: 249.8 kB / 1.201 GB, free: 7.656 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001497/0.5787, allocations: 0.796 MB / 1.202 GB, free: 7.039 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002828/0.5816, allocations: 1.55 MB / 1.204 GB, free: 5.906 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00111/0.5827, allocations: 1.34 MB / 1.205 GB, free: 5.129 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005247/0.5832, allocations: 481.5 kB / 1.205 GB, free: 4.828 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000708/0.5839, allocations: 0.6303 MB / 1.206 GB, free: 4.469 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003652/0.5843, allocations: 395.5 kB / 1.206 GB, free: 4.242 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.624e-05/0.5844, allocations: 47.34 kB / 1.206 GB, free: 4.242 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001816/0.5862, allocations: 1.484 MB / 1.208 GB, free: 3.383 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0006117/0.5868, allocations: 1.032 MB / 1.209 GB, free: 2.688 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0003261/0.5872, allocations: 0.6577 MB / 1.209 GB, free: 2.223 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 9.681e-05/0.5873, allocations: 106.9 kB / 1.21 GB, free: 2.172 MB / 0.9044 GB Notification: Performance of FrontEnd: time 7.345e-05/0.5873, allocations: 16.44 kB / 1.21 GB, free: 2.168 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 (94) * Number of variables: 100 (93) Notification: Performance of Bindings: time 0.001953/0.5893, allocations: 2.645 MB / 1.212 GB, free: 184 kB / 0.9044 GB Notification: Performance of FunctionAlias: time 9.82e-05/0.5894, allocations: 96.84 kB / 1.212 GB, free: 100 kB / 0.9044 GB Notification: Performance of Early Inline: time 0.001679/0.5911, allocations: 2.057 MB / 1.214 GB, free: 14.6 MB / 0.92 GB Notification: Performance of simplify1: time 0.0001354/0.5912, allocations: 156.3 kB / 1.214 GB, free: 14.51 MB / 0.92 GB Notification: Performance of Alias: time 0.001613/0.5929, allocations: 1.802 MB / 1.216 GB, free: 13.2 MB / 0.92 GB Notification: Performance of simplify2: time 0.0001174/0.593, allocations: 146.6 kB / 1.216 GB, free: 13.12 MB / 0.92 GB Notification: Performance of Detect States: time 0.0004782/0.5935, allocations: 426.7 kB / 1.217 GB, free: 12.78 MB / 0.92 GB Notification: Performance of Events: time 0.0003455/0.5938, allocations: 333.5 kB / 1.217 GB, free: 12.54 MB / 0.92 GB Notification: Performance of Partitioning: time 0.0004655/0.5943, allocations: 0.5524 MB / 1.218 GB, free: 12.15 MB / 0.92 GB Notification: Performance of Causalize: time 0.002106/0.5964, allocations: 2.294 MB / 1.22 GB, free: 10.49 MB / 0.92 GB Notification: Performance of After Index Reduction Inline: time 0.001087/0.5975, allocations: 1.372 MB / 1.221 GB, free: 9.09 MB / 0.92 GB Notification: Performance of Inline: time 0.002002/0.5995, allocations: 2.46 MB / 1.224 GB, free: 6.598 MB / 0.92 GB Notification: Performance of Partitioning: time 9.085e-05/0.5996, allocations: 91.59 kB / 1.224 GB, free: 6.504 MB / 0.92 GB Notification: Performance of Cleanup: time 9.309e-05/0.5997, allocations: 119.8 kB / 1.224 GB, free: 6.387 MB / 0.92 GB Notification: Performance of Causalize: time 0.002667/0.6024, allocations: 2.749 MB / 1.226 GB, free: 3.641 MB / 0.92 GB Notification: Performance of Tearing: time 1.144e-05/0.6024, allocations: 0 / 1.226 GB, free: 3.641 MB / 0.92 GB Notification: Performance of Initialization: time 4.61e-07/0.6024, allocations: 4 kB / 1.226 GB, free: 3.637 MB / 0.92 GB Notification: Performance of Tearing: time 1.053e-05/0.6024, allocations: 7.938 kB / 1.226 GB, free: 3.629 MB / 0.92 GB Notification: Performance of Categorize: time 1.148e-05/0.6025, allocations: 0 / 1.226 GB, free: 3.629 MB / 0.92 GB Notification: Performance of Solve: time 0.000527/0.603, allocations: 382.8 kB / 1.227 GB, free: 3.258 MB / 0.92 GB Notification: Performance of Jacobian: time 0.0009118/0.6039, allocations: 0.9795 MB / 1.228 GB, free: 2.234 MB / 0.92 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 5 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 2 * 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: ............................. 2 (2) {temDyn.T, temDynLoss.T} * Number of discrete states: .................... 4 (4) {m_flow2.T_start, m_flow2.count, m_flow1.count, m_flow1.T_start} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 19 (19) {$SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $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: ........... 75 (scalar:59, array:16, record:0) * Number of multi strong components: ............ 4 (algorithm:0, when:4, if:0, tuple:0) * Number of for-loop strong components: ......... 3 (generic: 3, 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: ........... 93 (scalar:77, array:16, record:0) * Number of multi strong components: ............ 2 (algorithm:2, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 3 (generic: 3, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 9.409e-05/0.604, allocations: 39.16 kB / 1.228 GB, free: 2.207 MB / 0.92 GB Notification: Performance of SimCode: time 0.003795/0.6078, allocations: 3.735 MB / 1.231 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of Templates: time 0.01394/0.6218, allocations: 10.42 MB / 1.242 GB, free: 4.016 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.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_10_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb -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_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.o Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.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_10_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb -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_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_functions.o Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1336:31: error: use of undeclared identifier '_OMC_LIT13' tmpMeta2 = stringAppend(_OMC_LIT13,_modelName); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1337:40: error: use of undeclared identifier '_OMC_LIT14' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT14); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1339:40: error: use of undeclared identifier '_OMC_LIT15' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT15); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1356:35: error: use of undeclared identifier '_OMC_LIT16' tmpMeta7 = stringAppend(_OMC_LIT16,_mediumName); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1357:44: error: use of undeclared identifier '_OMC_LIT17' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT17); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1359:45: error: use of undeclared identifier '_OMC_LIT18' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT18); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1362:46: error: use of undeclared identifier '_OMC_LIT19' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT19); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1365:46: error: use of undeclared identifier '_OMC_LIT20' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT20); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1377:14: error: use of undeclared identifier '_OMC_LIT21' _X_str = _OMC_LIT21; ^ Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1385:41: error: use of undeclared identifier '_OMC_LIT22' tmpMeta21 = stringAppend(_X_str,_OMC_LIT22); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1388:44: error: use of undeclared identifier '_OMC_LIT23' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT23); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1391:44: error: use of undeclared identifier '_OMC_LIT24' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT24); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1393:44: error: use of undeclared identifier '_OMC_LIT25' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT25); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1398:30: error: use of undeclared identifier '_OMC_LIT26' tmpMeta33 = stringAppend(_OMC_LIT26,_mediumName); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1399:40: error: use of undeclared identifier '_OMC_LIT17' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT17); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1401:40: error: use of undeclared identifier '_OMC_LIT25' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT25); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1402:40: error: use of undeclared identifier '_OMC_LIT27' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT27); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1405:40: error: use of undeclared identifier '_OMC_LIT28' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT28); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_functions.c:1501: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_10_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_functions.o] Error 1