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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(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.00108/0.00108, allocations: 109.5 kB / 16.42 MB, free: 6.52 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.00106/0.00106, allocations: 182 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.125/1.125, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.139/2.139, allocations: 461.9 MB / 0.7354 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.74e-05/1.741e-05, allocations: 2.5 kB / 1.055 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.513/0.513, allocations: 167.5 MB / 1.218 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005822/0.5188, allocations: 6.538 MB / 1.225 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000189/0.519, allocations: 13.53 kB / 1.225 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003889/0.5194, allocations: 169.1 kB / 1.225 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001385/0.5208, allocations: 0.8394 MB / 1.226 GB, free: 5.961 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006394/0.5215, allocations: 332.5 kB / 1.226 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0006663/0.5222, allocations: 0.7965 MB / 1.227 GB, free: 5.258 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003595/0.5226, allocations: 295.5 kB / 1.227 GB, free: 5.078 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007661/0.5233, allocations: 0.5896 MB / 1.228 GB, free: 4.715 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002917/0.5236, allocations: 270.7 kB / 1.228 GB, free: 4.57 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.638e-05/0.5237, allocations: 22.25 kB / 1.228 GB, free: 4.57 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00042/0.5241, allocations: 329.9 kB / 1.228 GB, free: 4.395 MB / 0.9356 GB Notification: Performance of combineBinaries: time 0.0003554/0.5245, allocations: 0.5885 MB / 1.229 GB, free: 4 MB / 0.9356 GB Notification: Performance of replaceArrayConstructors: time 0.000207/0.5247, allocations: 410.1 kB / 1.229 GB, free: 3.715 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.207e-05/0.5247, allocations: 59.03 kB / 1.229 GB, free: 3.688 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.817e-05/0.5248, allocations: 9.969 kB / 1.229 GB, free: 3.684 MB / 0.9356 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.001173/0.526, allocations: 1.56 MB / 1.231 GB, free: 2.465 MB / 0.9356 GB Notification: Performance of FunctionAlias: time 6.237e-05/0.526, allocations: 62.55 kB / 1.231 GB, free: 2.41 MB / 0.9356 GB Notification: Performance of Early Inline: time 0.0007115/0.5267, allocations: 0.8777 MB / 1.232 GB, free: 1.656 MB / 0.9356 GB Notification: Performance of simplify1: time 6.163e-05/0.5268, allocations: 71.92 kB / 1.232 GB, free: 1.586 MB / 0.9356 GB Notification: Performance of Alias: time 0.001247/0.5281, allocations: 1.29 MB / 1.233 GB, free: 148 kB / 0.9356 GB Notification: Performance of simplify2: time 5.713e-05/0.5281, allocations: 55.92 kB / 1.233 GB, free: 92 kB / 0.9356 GB Notification: Performance of Events: time 0.0001521/0.5283, allocations: 128.6 kB / 1.233 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of Detect States: time 0.0001594/0.5285, allocations: 179.3 kB / 1.233 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of Partitioning: time 0.0002295/0.5287, allocations: 256.5 kB / 1.234 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of Causalize: time 0.00103/0.5297, allocations: 1.053 MB / 1.235 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of After Index Reduction Inline: time 0.0004674/0.5302, allocations: 0.5804 MB / 1.235 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of Inline: time 0.0008083/0.531, allocations: 0.998 MB / 1.236 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of Partitioning: time 4.937e-05/0.5311, allocations: 42.36 kB / 1.236 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of Cleanup: time 3.252e-05/0.5311, allocations: 39.95 kB / 1.236 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of Causalize: time 0.001225/0.5324, allocations: 1.23 MB / 1.237 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of Tearing: time 6.542e-06/0.5324, allocations: 0 / 1.237 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of Initialization: time 3.6e-07/0.5324, allocations: 0 / 1.237 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of Tearing: time 2.023e-06/0.5324, allocations: 8 kB / 1.237 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of Categorize: time 1.005e-05/0.5324, allocations: 4 kB / 1.237 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of Solve: time 0.0002647/0.5327, allocations: 193.8 kB / 1.238 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of Jacobian: time 3.707e-06/0.5327, allocations: 0 / 1.238 GB, free: 11.23 MB / 0.9512 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.266e-05/0.5327, allocations: 38.08 kB / 1.238 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of SimCode: time 0.00152/0.5342, allocations: 1.864 MB / 1.239 GB, free: 9.316 MB / 0.9512 GB Notification: Performance of Templates: time 0.005909/0.5402, allocations: 3.511 MB / 1.243 GB, free: 5.809 MB / 0.9512 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