Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.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.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet") translateModel(IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 112.1 kB / 16.43 MB, free: 6.023 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.001236/0.001235, allocations: 185.3 kB / 17.35 MB, free: 5.617 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.375/1.375, allocations: 222.9 MB / 241.1 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7885/0.7885, allocations: 132.2 MB / 423.4 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.606e-05/2.607e-05, allocations: 7.906 kB / 0.582 GB, free: 23.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet): time 0.05498/0.05501, allocations: 62.19 MB / 0.6427 GB, free: 12.06 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01877/0.07384, allocations: 11.43 MB / 0.6539 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003192/0.07709, allocations: 75.5 kB / 0.6539 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002837/0.07995, allocations: 0.811 MB / 0.6547 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006265/0.08623, allocations: 2.029 MB / 0.6567 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005753/0.09207, allocations: 2.049 MB / 0.6587 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006462/0.09854, allocations: 4.247 MB / 0.6628 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002475/0.101, allocations: 1.334 MB / 0.6641 GB, free: 6 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004477/0.1055, allocations: 1.969 MB / 0.6661 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002481/0.108, allocations: 1.171 MB / 0.6672 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005163/0.1086, allocations: 124 kB / 0.6673 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003758/0.1123, allocations: 1.548 MB / 0.6688 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of combineBinaries: time 0.003159/0.1155, allocations: 2.901 MB / 0.6717 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of replaceArrayConstructors: time 0.001633/0.1171, allocations: 1.864 MB / 0.6735 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008712/0.118, allocations: 331 kB / 0.6738 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of FrontEnd: time 0.000585/0.1186, allocations: 83.72 kB / 0.6739 GB, free: 11.95 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 (244) * Number of variables: 260 (254) Notification: Performance of Bindings: time 0.00869/0.1273, allocations: 7.37 MB / 0.6811 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of FunctionAlias: time 0.0006659/0.128, allocations: 467.8 kB / 0.6815 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of Early Inline: time 0.008875/0.1369, allocations: 5.075 MB / 0.6865 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of simplify1: time 0.0004863/0.1374, allocations: 363.5 kB / 0.6868 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of Alias: time 0.009095/0.1465, allocations: 7.136 MB / 0.6938 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of simplify2: time 0.0005628/0.1471, allocations: 311.6 kB / 0.6941 GB, free: 6.484 MB / 0.5294 GB Notification: Performance of Detect States: time 0.001343/0.1485, allocations: 0.9665 MB / 0.695 GB, free: 5.496 MB / 0.5294 GB Notification: Performance of Events: time 0.00123/0.1497, allocations: 0.7721 MB / 0.6958 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of Partitioning: time 0.00158/0.1513, allocations: 1.107 MB / 0.6969 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of Causalize: time 0.005324/0.1566, allocations: 4.474 MB / 0.7013 GB, free: 14.89 MB / 0.545 GB Notification: Performance of After Index Reduction Inline: time 0.003099/0.1598, allocations: 3.023 MB / 0.7042 GB, free: 11.83 MB / 0.545 GB Notification: Performance of Inline: time 0.0066/0.1664, allocations: 6.148 MB / 0.7102 GB, free: 5.613 MB / 0.545 GB Notification: Performance of Partitioning: time 0.0002686/0.1667, allocations: 199.6 kB / 0.7104 GB, free: 5.406 MB / 0.545 GB Notification: Performance of Cleanup: time 0.0006725/0.1673, allocations: 0.6397 MB / 0.711 GB, free: 4.758 MB / 0.545 GB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) TSetCoolHeat.nextEventScaled = $START.TSetCoolHeat.nextEventScaled ($RES_SRT_365) slice: {}; [SCAL] (1) TSetCool.nextEventScaled = $START.TSetCool.nextEventScaled ($RES_SRT_363) slice: {}; [SCAL] (1) TSetHeat.nextEventScaled = $START.TSetHeat.nextEventScaled ($RES_SRT_361) slice: {}; Notification: Performance of Causalize: time 0.02911/0.1965, allocations: 23.11 MB / 0.7336 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of Tearing: time 4.023e-05/0.1965, allocations: 3.984 kB / 0.7336 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of Initialization: time 1.373e-06/0.1965, allocations: 0 / 0.7336 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of Tearing: time 2.84e-05/0.1966, allocations: 7.938 kB / 0.7336 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of Categorize: time 4.457e-05/0.1966, allocations: 7.938 kB / 0.7336 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of Solve: time 0.00257/0.1992, allocations: 0.9747 MB / 0.7346 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of Jacobian: time 0.001919/0.2011, allocations: 1.605 MB / 0.7361 GB, free: 10.68 MB / 0.5762 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 4 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 7 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 6 (6) {heaHigPowOut.T, cooLimPowOut.T, heaCooUnlOut.T, heaHigPowIn.T, cooLimPowIn.T, heaCooUnlIn.T} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 66 (66) {TSetHeat.a, TSetHeat.b, TSetHeat.last, TSetHeat.nextEvent, TSetHeat.nextEventScaled, TSetCool.a, TSetCool.b, TSetCool.last, TSetCool.nextEvent, TSetCool.nextEventScaled, TSetCoolHeat.a, TSetCoolHeat.b, TSetCoolHeat.last, TSetCoolHeat.nextEvent, TSetCoolHeat.nextEventScaled, $SEV_57, $SEV_56, $SEV_55, $SEV_54, $SEV_53, $SEV_52, $SEV_51, $SEV_50, $SEV_49, $SEV_48, $SEV_47, $SEV_46, $SEV_45, $SEV_44, $SEV_43, $SEV_42, $SEV_41, $SEV_40, $SEV_39, $SEV_38, $SEV_37, $SEV_36, $SEV_35, $SEV_34, $SEV_33, $SEV_32, $SEV_31, $SEV_30, $SEV_29, $SEV_28, $SEV_27, $SEV_26, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_4, $TEV_3, $TEV_2, $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: ........... 140 (scalar:136, array:4, record:0) * Number of multi strong components: ............ 3 (algorithm:3, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 2 (generic: 2, 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: ........... 226 (scalar:219, array:7, record:0) * Number of multi strong components: ............ 3 (algorithm:3, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 2 (generic: 2, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 226 (scalar:219, array:7, record:0) * Number of multi strong components: ............ 3 (algorithm:3, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 2 (generic: 2, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001397/0.2013, allocations: 118 kB / 0.7362 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of SimCode: time 0.009483/0.2108, allocations: 7.373 MB / 0.7434 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of Templates: time 0.4778/0.6886, allocations: 21.77 MB / 0.7647 GB, free: 69.46 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.makefile make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.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_HeatExchangers_Validation_PrescribedOutlet -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.HeatExchangers.Validation.PrescribedOutlet.o IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.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_HeatExchangers_Validation_PrescribedOutlet -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.HeatExchangers.Validation.PrescribedOutlet_functions.o IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2043:31: error: use of undeclared identifier '_OMC_LIT19' tmpMeta2 = stringAppend(_OMC_LIT19,_modelName); ^ IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2044:40: error: use of undeclared identifier '_OMC_LIT20' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT20); ^ IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2046:40: error: use of undeclared identifier '_OMC_LIT21' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT21); ^ IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2063:35: error: use of undeclared identifier '_OMC_LIT22' tmpMeta7 = stringAppend(_OMC_LIT22,_mediumName); ^ IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2064:44: error: use of undeclared identifier '_OMC_LIT23' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT23); ^ IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2066:45: error: use of undeclared identifier '_OMC_LIT24' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT24); ^ IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2069:46: error: use of undeclared identifier '_OMC_LIT25' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT25); ^ IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2072:46: error: use of undeclared identifier '_OMC_LIT26' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT26); ^ IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2084:14: error: use of undeclared identifier '_OMC_LIT2' _X_str = _OMC_LIT2; ^ IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2092:41: error: use of undeclared identifier '_OMC_LIT27' tmpMeta21 = stringAppend(_X_str,_OMC_LIT27); ^ IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2095:44: error: use of undeclared identifier '_OMC_LIT28' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT28); ^ IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2098:44: error: use of undeclared identifier '_OMC_LIT29' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT29); ^ IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2100:44: error: use of undeclared identifier '_OMC_LIT30' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT30); ^ IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2105:30: error: use of undeclared identifier '_OMC_LIT31' tmpMeta33 = stringAppend(_OMC_LIT31,_mediumName); ^ IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2106:40: error: use of undeclared identifier '_OMC_LIT23' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT23); ^ IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2108:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT30); ^ IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2109:40: error: use of undeclared identifier '_OMC_LIT32' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT32); ^ IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2112:40: error: use of undeclared identifier '_OMC_LIT33' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT33); ^ IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2208: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.HeatExchangers.Validation.PrescribedOutlet_functions.o] Error 1