Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 112.2 kB / 16.43 MB, free: 6.523 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.00104/0.00104, allocations: 188.2 kB / 17.36 MB, free: 5.746 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.114/1.114, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.205/2.205, allocations: 472.6 MB / 0.7459 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.089e-05/1.091e-05, allocations: 4.672 kB / 1.07 GB, free: 9.656 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5211/0.5212, allocations: 167.5 MB / 1.234 GB, free: 9.422 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.005788/0.527, allocations: 6.531 MB / 1.24 GB, free: 3.832 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001779/0.5272, allocations: 15.94 kB / 1.24 GB, free: 3.816 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0003964/0.5276, allocations: 178.7 kB / 1.24 GB, free: 3.641 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001422/0.529, allocations: 0.8713 MB / 1.241 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006599/0.5297, allocations: 335.4 kB / 1.241 GB, free: 2.441 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0006805/0.5304, allocations: 0.7906 MB / 1.242 GB, free: 1.648 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000382/0.5308, allocations: 302.6 kB / 1.242 GB, free: 1.348 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007766/0.5316, allocations: 0.6072 MB / 1.243 GB, free: 0.7383 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002974/0.5319, allocations: 271 kB / 1.243 GB, free: 484 kB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.964e-05/0.532, allocations: 24 kB / 1.243 GB, free: 460 kB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004265/0.5324, allocations: 327.2 kB / 1.244 GB, free: 132 kB / 0.9512 GB Notification: Performance of combineBinaries: time 0.000387/0.5328, allocations: 0.5961 MB / 1.244 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of replaceArrayConstructors: time 0.0002187/0.533, allocations: 399 kB / 1.245 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.48e-05/0.5331, allocations: 59.81 kB / 1.245 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.686e-05/0.5331, allocations: 19.86 kB / 1.245 GB, free: 15.05 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 (61) * Number of variables: 63 (61) Notification: Performance of Bindings: time 0.001228/0.5343, allocations: 1.547 MB / 1.246 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of FunctionAlias: time 6.419e-05/0.5344, allocations: 62.52 kB / 1.246 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of Early Inline: time 0.0007182/0.5351, allocations: 0.8805 MB / 1.247 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of simplify1: time 6.398e-05/0.5352, allocations: 71.84 kB / 1.247 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of Alias: time 0.00137/0.5366, allocations: 1.301 MB / 1.248 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of simplify2: time 4.797e-05/0.5367, allocations: 43.94 kB / 1.249 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of Detect States: time 0.0001416/0.5368, allocations: 164.9 kB / 1.249 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of Events: time 0.0001585/0.537, allocations: 122.8 kB / 1.249 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of Partitioning: time 0.0002417/0.5372, allocations: 268.4 kB / 1.249 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of Causalize: time 0.001029/0.5383, allocations: 1.047 MB / 1.25 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of After Index Reduction Inline: time 0.0004392/0.5387, allocations: 0.5648 MB / 1.251 GB, free: 8.602 MB / 0.9669 GB Notification: Performance of Inline: time 0.0008056/0.5395, allocations: 1.006 MB / 1.252 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of Partitioning: time 4.326e-05/0.5396, allocations: 42.38 kB / 1.252 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of Cleanup: time 3.642e-05/0.5396, allocations: 51.88 kB / 1.252 GB, free: 7.461 MB / 0.9669 GB Notification: Performance of Causalize: time 0.001228/0.5408, allocations: 1.23 MB / 1.253 GB, free: 6.223 MB / 0.9669 GB Notification: Performance of Tearing: time 1.041e-05/0.5409, allocations: 0 / 1.253 GB, free: 6.223 MB / 0.9669 GB Notification: Performance of Initialization: time 3.1e-07/0.5409, allocations: 3.938 kB / 1.253 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of Tearing: time 3.907e-06/0.5409, allocations: 4 kB / 1.253 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of Categorize: time 9.047e-06/0.5409, allocations: 3.984 kB / 1.253 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of Solve: time 0.0002574/0.5411, allocations: 181.8 kB / 1.253 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of Jacobian: time 2.725e-06/0.5412, allocations: 4 kB / 1.253 GB, free: 6.031 MB / 0.9669 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 3 * Number of ODE event partitions: ............... 0 * 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: ............................. 0 (0) {} * 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:28, array:12, 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: ........... 45 (scalar:33, array:12, 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.918e-05/0.5412, allocations: 32.42 kB / 1.253 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of SimCode: time 0.001547/0.5428, allocations: 1.877 MB / 1.255 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of Templates: time 0.005935/0.5487, allocations: 3.531 MB / 1.258 GB, free: 0.5859 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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_EnthalpyFlowRate -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.EnthalpyFlowRate.o Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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_EnthalpyFlowRate -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.EnthalpyFlowRate_functions.o Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:269:31: error: use of undeclared identifier '_OMC_LIT12' tmpMeta2 = stringAppend(_OMC_LIT12,_modelName); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:270:40: error: use of undeclared identifier '_OMC_LIT13' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT13); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:272:40: error: use of undeclared identifier '_OMC_LIT14' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT14); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:289:35: error: use of undeclared identifier '_OMC_LIT15' tmpMeta7 = stringAppend(_OMC_LIT15,_mediumName); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:290:44: error: use of undeclared identifier '_OMC_LIT16' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT16); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:292:45: error: use of undeclared identifier '_OMC_LIT17' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT17); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:295:46: error: use of undeclared identifier '_OMC_LIT18' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT18); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:298:46: error: use of undeclared identifier '_OMC_LIT19' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT19); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:310:14: error: use of undeclared identifier '_OMC_LIT20' _X_str = _OMC_LIT20; ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:318:41: error: use of undeclared identifier '_OMC_LIT21' tmpMeta21 = stringAppend(_X_str,_OMC_LIT21); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:321:44: error: use of undeclared identifier '_OMC_LIT22' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT22); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:324:44: error: use of undeclared identifier '_OMC_LIT23' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT23); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:326:44: error: use of undeclared identifier '_OMC_LIT24' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT24); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:331:30: error: use of undeclared identifier '_OMC_LIT25' tmpMeta33 = stringAppend(_OMC_LIT25,_mediumName); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:332:40: error: use of undeclared identifier '_OMC_LIT16' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT16); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:334:40: error: use of undeclared identifier '_OMC_LIT24' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT24); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:335:40: error: use of undeclared identifier '_OMC_LIT26' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT26); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:338:40: error: use of undeclared identifier '_OMC_LIT27' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT27); ^ Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:434: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.EnthalpyFlowRate_functions.o] Error 1