Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001072/0.001072, allocations: 111.8 kB / 16.42 MB, free: 6.508 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.001045/0.001045, allocations: 187.2 kB / 17.36 MB, free: 5.727 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.139/1.139, 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 9.1.3-maint.9.1.x/package.mo): time 1.859/1.859, allocations: 390.2 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.153e-05/1.153e-05, allocations: 6.219 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5015/0.5015, allocations: 167.5 MB / 1.115 GB, free: 6.852 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005328/0.5069, allocations: 6.532 MB / 1.121 GB, free: 6.699 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000259/0.5071, allocations: 13.94 kB / 1.121 GB, free: 6.699 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004033/0.5076, allocations: 176 kB / 1.122 GB, free: 6.695 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001565/0.5092, allocations: 0.8722 MB / 1.122 GB, free: 6.652 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006841/0.5099, allocations: 330.1 kB / 1.123 GB, free: 6.645 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007009/0.5106, allocations: 0.7966 MB / 1.124 GB, free: 6.629 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003727/0.511, allocations: 305 kB / 1.124 GB, free: 6.59 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008086/0.5118, allocations: 0.6017 MB / 1.124 GB, free: 6.578 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002981/0.5121, allocations: 272.5 kB / 1.125 GB, free: 6.578 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.741e-05/0.5121, allocations: 23.41 kB / 1.125 GB, free: 6.578 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004327/0.5126, allocations: 333.5 kB / 1.125 GB, free: 6.574 MB / 0.8575 GB Notification: Performance of combineBinaries: time 0.0003798/0.513, allocations: 0.5883 MB / 1.126 GB, free: 6.402 MB / 0.8575 GB Notification: Performance of replaceArrayConstructors: time 0.0001949/0.5132, allocations: 405.3 kB / 1.126 GB, free: 6.223 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.548e-05/0.5133, allocations: 61.89 kB / 1.126 GB, free: 6.223 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.776e-05/0.5133, allocations: 11.61 kB / 1.126 GB, free: 6.223 MB / 0.8575 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.001211/0.5145, allocations: 1.556 MB / 1.128 GB, free: 5.648 MB / 0.8575 GB Notification: Performance of FunctionAlias: time 6.145e-05/0.5146, allocations: 57.61 kB / 1.128 GB, free: 5.648 MB / 0.8575 GB Notification: Performance of Early Inline: time 0.0006959/0.5153, allocations: 0.8824 MB / 1.129 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of simplify1: time 5.396e-05/0.5154, allocations: 65 kB / 1.129 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of Alias: time 0.001267/0.5166, allocations: 1.301 MB / 1.13 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of simplify2: time 5.254e-05/0.5167, allocations: 48.97 kB / 1.13 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of Detect States: time 0.0001465/0.5169, allocations: 153.9 kB / 1.13 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of Events: time 0.0001733/0.517, allocations: 136.9 kB / 1.13 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of Partitioning: time 0.0002589/0.5173, allocations: 265.1 kB / 1.13 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of Causalize: time 0.001131/0.5184, allocations: 1.045 MB / 1.131 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of After Index Reduction Inline: time 0.0003939/0.5188, allocations: 0.5642 MB / 1.132 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of Inline: time 0.0007533/0.5196, allocations: 0.9961 MB / 1.133 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of Partitioning: time 4.169e-05/0.5197, allocations: 48.47 kB / 1.133 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of Cleanup: time 3.467e-05/0.5197, allocations: 43.95 kB / 1.133 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of Causalize: time 0.001145/0.5208, allocations: 1.245 MB / 1.134 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of Tearing: time 9.257e-06/0.5209, allocations: 0 / 1.134 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of Initialization: time 3.21e-07/0.5209, allocations: 0 / 1.134 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of Tearing: time 5.07e-06/0.5209, allocations: 5.188 kB / 1.134 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of Categorize: time 1.11e-05/0.5209, allocations: 9.469 kB / 1.134 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of Solve: time 0.0002399/0.5211, allocations: 175.5 kB / 1.134 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of Jacobian: time 3.286e-06/0.5211, allocations: 1.125 kB / 1.134 GB, free: 4.02 MB / 0.8575 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.049e-05/0.5212, allocations: 30.75 kB / 1.134 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of SimCode: time 0.001496/0.5227, allocations: 1.87 MB / 1.136 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of Templates: time 0.005604/0.5283, allocations: 3.513 MB / 1.14 GB, free: 2.695 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile make -j1 -f Buildings_9_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_9_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_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.o Buildings_9_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_9_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_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.o Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:269:31: error: use of undeclared identifier '_OMC_LIT12' tmpMeta2 = stringAppend(_OMC_LIT12,_modelName); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:270:40: error: use of undeclared identifier '_OMC_LIT13' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT13); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:272:40: error: use of undeclared identifier '_OMC_LIT14' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT14); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:289:35: error: use of undeclared identifier '_OMC_LIT15' tmpMeta7 = stringAppend(_OMC_LIT15,_mediumName); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:290:44: error: use of undeclared identifier '_OMC_LIT16' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT16); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:292:45: error: use of undeclared identifier '_OMC_LIT17' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT17); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:295:46: error: use of undeclared identifier '_OMC_LIT18' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT18); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:298:46: error: use of undeclared identifier '_OMC_LIT19' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT19); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:310:14: error: use of undeclared identifier '_OMC_LIT20' _X_str = _OMC_LIT20; ^ Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:318:41: error: use of undeclared identifier '_OMC_LIT21' tmpMeta21 = stringAppend(_X_str,_OMC_LIT21); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:321:44: error: use of undeclared identifier '_OMC_LIT22' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT22); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:324:44: error: use of undeclared identifier '_OMC_LIT23' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT23); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:326:44: error: use of undeclared identifier '_OMC_LIT24' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT24); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:331:30: error: use of undeclared identifier '_OMC_LIT25' tmpMeta33 = stringAppend(_OMC_LIT25,_mediumName); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:332:40: error: use of undeclared identifier '_OMC_LIT16' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT16); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:334:40: error: use of undeclared identifier '_OMC_LIT24' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT24); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:335:40: error: use of undeclared identifier '_OMC_LIT26' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT26); ^ Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:338:40: error: use of undeclared identifier '_OMC_LIT27' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT27); ^ Buildings_9_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_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.o] Error 1