Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.00116/0.00116, allocations: 105.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.001222/0.001222, allocations: 200.1 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.419/1.419, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8592/0.8592, allocations: 135.1 MB / 426.4 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.511e-05/2.512e-05, allocations: 2.281 kB / 0.5862 GB, free: 21.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.7674/0.7675, allocations: 167.5 MB / 0.7498 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008133/0.7757, allocations: 6.539 MB / 0.7562 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000685/0.7764, allocations: 14.12 kB / 0.7562 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007275/0.7771, allocations: 169.1 kB / 0.7564 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002524/0.7797, allocations: 0.8427 MB / 0.7572 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.7809, allocations: 332.6 kB / 0.7575 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00114/0.782, allocations: 0.7947 MB / 0.7583 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005443/0.7826, allocations: 300.8 kB / 0.7586 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001572/0.7842, allocations: 0.5895 MB / 0.7592 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005521/0.7847, allocations: 270.7 kB / 0.7594 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.094e-05/0.7848, allocations: 23.59 kB / 0.7594 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009015/0.7857, allocations: 330.8 kB / 0.7598 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.0007016/0.7864, allocations: 0.5903 MB / 0.7603 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.000374/0.7868, allocations: 401.6 kB / 0.7607 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.787, allocations: 60.09 kB / 0.7608 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of FrontEnd: time 0.0001332/0.7871, allocations: 22.31 kB / 0.7608 GB, free: 3.145 MB / 0.5762 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.002108/0.7892, allocations: 1.556 MB / 0.7623 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of FunctionAlias: time 9.353e-05/0.7893, allocations: 59.5 kB / 0.7624 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of Early Inline: time 0.001134/0.7905, allocations: 0.8731 MB / 0.7632 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of simplify1: time 0.0001131/0.7906, allocations: 69.41 kB / 0.7633 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of Alias: time 0.002513/0.7931, allocations: 1.3 MB / 0.7646 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of simplify2: time 7.558e-05/0.7932, allocations: 52.94 kB / 0.7646 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of Events: time 0.0002203/0.7934, allocations: 125.6 kB / 0.7647 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of Detect States: time 0.0002239/0.7936, allocations: 193 kB / 0.7649 GB, free: 2 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0003238/0.794, allocations: 256.5 kB / 0.7652 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of Causalize: time 0.001929/0.7959, allocations: 1.032 MB / 0.7662 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of After Index Reduction Inline: time 0.0006599/0.7966, allocations: 0.5763 MB / 0.7667 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of Inline: time 0.001146/0.7977, allocations: 1.003 MB / 0.7677 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of Partitioning: time 5.223e-05/0.7978, allocations: 50.59 kB / 0.7678 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of Cleanup: time 4.902e-05/0.7979, allocations: 50.44 kB / 0.7678 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of Causalize: time 0.001571/0.7994, allocations: 1.227 MB / 0.769 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of Tearing: time 8.546e-06/0.7995, allocations: 0 / 0.769 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of Initialization: time 5.62e-07/0.7995, allocations: 2.25 kB / 0.769 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of Tearing: time 5.29e-06/0.7995, allocations: 1.203 kB / 0.769 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of Categorize: time 2.318e-05/0.7995, allocations: 4.797 kB / 0.769 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of Solve: time 0.0003973/0.7999, allocations: 181.8 kB / 0.7692 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of Jacobian: time 4.529e-06/0.7999, allocations: 0.7812 kB / 0.7692 GB, free: 1.273 MB / 0.5762 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 6.033e-05/0.8, allocations: 38.14 kB / 0.7692 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of SimCode: time 0.003312/0.8033, allocations: 1.856 MB / 0.771 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of Templates: time 0.009806/0.8131, allocations: 3.555 MB / 0.7745 GB, free: 15.99 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile make -j1 -f IDEAS_dev_IDEAS.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=IDEAS_dev_IDEAS_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 IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.o IDEAS_dev_IDEAS.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=IDEAS_dev_IDEAS_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 IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.o IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:269:31: error: use of undeclared identifier '_OMC_LIT12' tmpMeta2 = stringAppend(_OMC_LIT12,_modelName); ^ IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:270:40: error: use of undeclared identifier '_OMC_LIT13' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT13); ^ IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:272:40: error: use of undeclared identifier '_OMC_LIT14' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT14); ^ IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:289:35: error: use of undeclared identifier '_OMC_LIT15' tmpMeta7 = stringAppend(_OMC_LIT15,_mediumName); ^ IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:290:44: error: use of undeclared identifier '_OMC_LIT16' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT16); ^ IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:292:45: error: use of undeclared identifier '_OMC_LIT17' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT17); ^ IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:295:46: error: use of undeclared identifier '_OMC_LIT18' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT18); ^ IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:298:46: error: use of undeclared identifier '_OMC_LIT19' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT19); ^ IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:310:14: error: use of undeclared identifier '_OMC_LIT20' _X_str = _OMC_LIT20; ^ IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:318:41: error: use of undeclared identifier '_OMC_LIT21' tmpMeta21 = stringAppend(_X_str,_OMC_LIT21); ^ IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:321:44: error: use of undeclared identifier '_OMC_LIT22' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT22); ^ IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:324:44: error: use of undeclared identifier '_OMC_LIT23' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT23); ^ IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:326:44: error: use of undeclared identifier '_OMC_LIT24' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT24); ^ IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:331:30: error: use of undeclared identifier '_OMC_LIT25' tmpMeta33 = stringAppend(_OMC_LIT25,_mediumName); ^ IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:332:40: error: use of undeclared identifier '_OMC_LIT16' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT16); ^ IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:334:40: error: use of undeclared identifier '_OMC_LIT24' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT24); ^ IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:335:40: error: use of undeclared identifier '_OMC_LIT26' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT26); ^ IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:338:40: error: use of undeclared identifier '_OMC_LIT27' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT27); ^ IDEAS_dev_IDEAS.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: *** [: IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.o] Error 1