Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001119/0.001119, allocations: 105.1 kB / 16.42 MB, free: 6.531 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.001067/0.001067, allocations: 192.3 kB / 17.36 MB, free: 5.723 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.1 MB, free: 15.15 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.121/2.121, allocations: 437 MB / 0.7111 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.621e-05/1.624e-05, allocations: 2.5 kB / 1.019 GB, free: 9.457 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5482/0.5482, allocations: 167.5 MB / 1.183 GB, free: 7.039 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.007191/0.5555, allocations: 6.542 MB / 1.189 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005529/0.5561, allocations: 16.19 kB / 1.189 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005921/0.5567, allocations: 177.9 kB / 1.189 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002258/0.5589, allocations: 0.8735 MB / 1.19 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007931/0.5598, allocations: 337.6 kB / 1.191 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000755/0.5605, allocations: 0.7928 MB / 1.191 GB, free: 220 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003899/0.5609, allocations: 293.4 kB / 1.192 GB, free: 44 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008985/0.5618, allocations: 0.6072 MB / 1.192 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002964/0.5622, allocations: 274 kB / 1.192 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.676e-05/0.5622, allocations: 23.81 kB / 1.192 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000457/0.5627, allocations: 325.4 kB / 1.193 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0003817/0.5631, allocations: 0.5956 MB / 1.193 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0002001/0.5633, allocations: 406.1 kB / 1.194 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 5.48e-05/0.5633, allocations: 59.41 kB / 1.194 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of FrontEnd: time 5.43e-05/0.5634, allocations: 15.62 kB / 1.194 GB, free: 14.63 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: 63 (61) * Number of variables: 63 (61) Notification: Performance of Bindings: time 0.001371/0.5648, allocations: 1.55 MB / 1.195 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of FunctionAlias: time 7.163e-05/0.5648, allocations: 63.06 kB / 1.195 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of Early Inline: time 0.0007012/0.5655, allocations: 0.8759 MB / 1.196 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of simplify1: time 5.704e-05/0.5656, allocations: 66.78 kB / 1.196 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of Alias: time 0.001265/0.5669, allocations: 1.293 MB / 1.198 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of simplify2: time 5.157e-05/0.5669, allocations: 62.03 kB / 1.198 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of Detect States: time 0.0001377/0.5671, allocations: 160.4 kB / 1.198 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of Events: time 0.0001562/0.5673, allocations: 132.5 kB / 1.198 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of Partitioning: time 0.0002225/0.5675, allocations: 251.7 kB / 1.198 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of Causalize: time 0.000958/0.5684, allocations: 1.045 MB / 1.199 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of After Index Reduction Inline: time 0.0004284/0.5689, allocations: 0.5795 MB / 1.2 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of Inline: time 0.0007702/0.5697, allocations: 0.9862 MB / 1.201 GB, free: 9.516 MB / 0.9044 GB Notification: Performance of Partitioning: time 4.698e-05/0.5697, allocations: 50.86 kB / 1.201 GB, free: 9.48 MB / 0.9044 GB Notification: Performance of Cleanup: time 3.638e-05/0.5698, allocations: 48.66 kB / 1.201 GB, free: 9.438 MB / 0.9044 GB Notification: Performance of Causalize: time 0.00113/0.5709, allocations: 1.235 MB / 1.202 GB, free: 8.91 MB / 0.9044 GB Notification: Performance of Tearing: time 9.398e-06/0.5709, allocations: 0 / 1.202 GB, free: 8.91 MB / 0.9044 GB Notification: Performance of Initialization: time 4.21e-07/0.5709, allocations: 0 / 1.202 GB, free: 8.91 MB / 0.9044 GB Notification: Performance of Tearing: time 4.468e-06/0.5709, allocations: 3.938 kB / 1.202 GB, free: 8.906 MB / 0.9044 GB Notification: Performance of Categorize: time 1.01e-05/0.5709, allocations: 2.688 kB / 1.202 GB, free: 8.906 MB / 0.9044 GB Notification: Performance of Solve: time 0.0002564/0.5712, allocations: 187.3 kB / 1.202 GB, free: 8.809 MB / 0.9044 GB Notification: Performance of Jacobian: time 3.146e-06/0.5712, allocations: 4 kB / 1.202 GB, free: 8.805 MB / 0.9044 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.409e-05/0.5713, allocations: 22.06 kB / 1.202 GB, free: 8.793 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001704/0.573, allocations: 1.878 MB / 1.204 GB, free: 7.355 MB / 0.9044 GB Notification: Performance of Templates: time 0.005943/0.5789, allocations: 3.525 MB / 1.207 GB, free: 5.57 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile make -j1 -f Buildings_10_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_10_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_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.o Buildings_10_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_10_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_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.o Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:269:31: error: use of undeclared identifier '_OMC_LIT12' tmpMeta2 = stringAppend(_OMC_LIT12,_modelName); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:270:40: error: use of undeclared identifier '_OMC_LIT13' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT13); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:272:40: error: use of undeclared identifier '_OMC_LIT14' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT14); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:289:35: error: use of undeclared identifier '_OMC_LIT15' tmpMeta7 = stringAppend(_OMC_LIT15,_mediumName); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:290:44: error: use of undeclared identifier '_OMC_LIT16' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT16); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:292:45: error: use of undeclared identifier '_OMC_LIT17' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT17); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:295:46: error: use of undeclared identifier '_OMC_LIT18' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT18); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:298:46: error: use of undeclared identifier '_OMC_LIT19' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT19); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:310:14: error: use of undeclared identifier '_OMC_LIT20' _X_str = _OMC_LIT20; ^ Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:318:41: error: use of undeclared identifier '_OMC_LIT21' tmpMeta21 = stringAppend(_X_str,_OMC_LIT21); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:321:44: error: use of undeclared identifier '_OMC_LIT22' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT22); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:324:44: error: use of undeclared identifier '_OMC_LIT23' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT23); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:326:44: error: use of undeclared identifier '_OMC_LIT24' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT24); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:331:30: error: use of undeclared identifier '_OMC_LIT25' tmpMeta33 = stringAppend(_OMC_LIT25,_mediumName); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:332:40: error: use of undeclared identifier '_OMC_LIT16' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT16); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:334:40: error: use of undeclared identifier '_OMC_LIT24' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT24); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:335:40: error: use of undeclared identifier '_OMC_LIT26' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT26); ^ Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:338:40: error: use of undeclared identifier '_OMC_LIT27' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT27); ^ Buildings_10_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_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.o] Error 1