Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001089/0.001089, allocations: 105.1 kB / 16.42 MB, free: 6.512 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.001057/0.001057, allocations: 187.8 kB / 17.35 MB, free: 5.73 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.111/1.111, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6631/0.6631, allocations: 132.2 MB / 423.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.589e-05/1.59e-05, allocations: 12.14 kB / 0.582 GB, free: 23.97 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1378/0.1378, allocations: 167.5 MB / 0.7456 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.2377/0.3756, allocations: 6.523 MB / 0.7519 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003729/0.376, allocations: 15.28 kB / 0.752 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004234/0.3764, allocations: 167 kB / 0.7521 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001549/0.378, allocations: 0.8422 MB / 0.7529 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006986/0.3787, allocations: 328.3 kB / 0.7533 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006801/0.3794, allocations: 0.7928 MB / 0.754 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003857/0.3798, allocations: 309.8 kB / 0.7543 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008768/0.3807, allocations: 0.5845 MB / 0.7549 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003519/0.3811, allocations: 267.9 kB / 0.7552 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.731e-05/0.3811, allocations: 23.69 kB / 0.7552 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005116/0.3817, allocations: 330.5 kB / 0.7555 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.0004451/0.3821, allocations: 0.589 MB / 0.7561 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.0002384/0.3824, allocations: 407.1 kB / 0.7565 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.3825, allocations: 58.08 kB / 0.7565 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of FrontEnd: time 5.807e-05/0.3825, allocations: 18.94 kB / 0.7565 GB, free: 3.523 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.00128/0.3838, allocations: 1.559 MB / 0.7581 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of FunctionAlias: time 7.433e-05/0.3839, allocations: 60.59 kB / 0.7581 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of Early Inline: time 0.0007238/0.3846, allocations: 0.871 MB / 0.759 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of simplify1: time 7.516e-05/0.3847, allocations: 71.62 kB / 0.759 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of Alias: time 0.001493/0.3862, allocations: 1.303 MB / 0.7603 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of simplify2: time 7.388e-05/0.3863, allocations: 55.14 kB / 0.7604 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of Events: time 0.0001687/0.3865, allocations: 126.9 kB / 0.7605 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of Detect States: time 0.0001685/0.3866, allocations: 186.3 kB / 0.7607 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0002735/0.3869, allocations: 257.2 kB / 0.7609 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of Causalize: time 0.0009864/0.3879, allocations: 1.054 MB / 0.7619 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of After Index Reduction Inline: time 0.0003717/0.3883, allocations: 0.5714 MB / 0.7625 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of Inline: time 0.0007725/0.3891, allocations: 1.006 MB / 0.7635 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of Partitioning: time 4.516e-05/0.3891, allocations: 47.33 kB / 0.7635 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of Cleanup: time 5.101e-05/0.3892, allocations: 45.53 kB / 0.7636 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of Causalize: time 0.001245/0.3904, allocations: 1.228 MB / 0.7648 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of Tearing: time 5.681e-06/0.3904, allocations: 2.156 kB / 0.7648 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of Initialization: time 4.71e-07/0.3905, allocations: 1.094 kB / 0.7648 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of Tearing: time 3.867e-06/0.3905, allocations: 2.062 kB / 0.7648 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of Categorize: time 1.126e-05/0.3905, allocations: 2.25 kB / 0.7648 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of Solve: time 0.0002671/0.3907, allocations: 181.2 kB / 0.7649 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of Jacobian: time 2.474e-06/0.3908, allocations: 0 / 0.7649 GB, free: 1.637 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 3.304e-05/0.3908, allocations: 29.38 kB / 0.765 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of SimCode: time 0.001574/0.3924, allocations: 1.857 MB / 0.7668 GB, free: 16.66 MB / 0.5919 GB Notification: Performance of Templates: time 0.006265/0.3987, allocations: 3.554 MB / 0.7702 GB, free: 16.39 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile make -j1 -f IDEAS_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_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_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.o IDEAS_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_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_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.o IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:269:31: error: use of undeclared identifier '_OMC_LIT12' tmpMeta2 = stringAppend(_OMC_LIT12,_modelName); ^ IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:270:40: error: use of undeclared identifier '_OMC_LIT13' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT13); ^ IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:272:40: error: use of undeclared identifier '_OMC_LIT14' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT14); ^ IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:289:35: error: use of undeclared identifier '_OMC_LIT15' tmpMeta7 = stringAppend(_OMC_LIT15,_mediumName); ^ IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:290:44: error: use of undeclared identifier '_OMC_LIT16' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT16); ^ IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:292:45: error: use of undeclared identifier '_OMC_LIT17' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT17); ^ IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:295:46: error: use of undeclared identifier '_OMC_LIT18' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT18); ^ IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:298:46: error: use of undeclared identifier '_OMC_LIT19' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT19); ^ IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:310:14: error: use of undeclared identifier '_OMC_LIT20' _X_str = _OMC_LIT20; ^ IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:318:41: error: use of undeclared identifier '_OMC_LIT21' tmpMeta21 = stringAppend(_X_str,_OMC_LIT21); ^ IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:321:44: error: use of undeclared identifier '_OMC_LIT22' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT22); ^ IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:324:44: error: use of undeclared identifier '_OMC_LIT23' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT23); ^ IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:326:44: error: use of undeclared identifier '_OMC_LIT24' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT24); ^ IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:331:30: error: use of undeclared identifier '_OMC_LIT25' tmpMeta33 = stringAppend(_OMC_LIT25,_mediumName); ^ IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:332:40: error: use of undeclared identifier '_OMC_LIT16' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT16); ^ IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:334:40: error: use of undeclared identifier '_OMC_LIT24' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT24); ^ IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:335:40: error: use of undeclared identifier '_OMC_LIT26' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT26); ^ IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.c:338:40: error: use of undeclared identifier '_OMC_LIT27' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT27); ^ IDEAS_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_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate_functions.o] Error 1