Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet") translateModel(BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001109/0.001109, allocations: 106.3 kB / 16.42 MB, free: 6.516 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.001058/0.001058, allocations: 195.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.154/1.154, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001837/0.001837, allocations: 292.1 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.822/0.822, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.461e-05/1.462e-05, allocations: 2.281 kB / 0.682 GB, free: 7.055 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet): time 0.2863/0.2863, allocations: 62.19 MB / 0.7427 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01484/0.3012, allocations: 11.43 MB / 0.7539 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002257/0.3035, allocations: 77.09 kB / 0.754 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00201/0.3055, allocations: 0.802 MB / 0.7548 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005553/0.311, allocations: 1.929 MB / 0.7566 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004741/0.3158, allocations: 2.011 MB / 0.7586 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.005684/0.3215, allocations: 4.243 MB / 0.7628 GB, free: 9.125 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001877/0.3234, allocations: 1.328 MB / 0.7641 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004128/0.3275, allocations: 1.965 MB / 0.766 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001867/0.3294, allocations: 1.17 MB / 0.7671 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002057/0.3296, allocations: 130.7 kB / 0.7672 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002984/0.3326, allocations: 1.543 MB / 0.7687 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of combineBinaries: time 0.001891/0.3345, allocations: 2.901 MB / 0.7716 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of replaceArrayConstructors: time 0.0009378/0.3355, allocations: 1.869 MB / 0.7734 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004309/0.3359, allocations: 334.9 kB / 0.7737 GB, free: 372 kB / 0.5294 GB Notification: Performance of FrontEnd: time 0.0004181/0.3363, allocations: 75.8 kB / 0.7738 GB, free: 296 kB / 0.5294 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.005633/0.342, allocations: 7.381 MB / 0.781 GB, free: 8.672 MB / 0.545 GB Notification: Performance of FunctionAlias: time 0.0003952/0.3424, allocations: 463.6 kB / 0.7814 GB, free: 8.191 MB / 0.545 GB Notification: Performance of Early Inline: time 0.004337/0.3467, allocations: 5.068 MB / 0.7864 GB, free: 3.074 MB / 0.545 GB Notification: Performance of simplify1: time 0.000334/0.3471, allocations: 363.5 kB / 0.7867 GB, free: 2.719 MB / 0.545 GB Notification: Performance of Alias: time 0.007271/0.3543, allocations: 7.133 MB / 0.7937 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of simplify2: time 0.000339/0.3547, allocations: 323.5 kB / 0.794 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of Events: time 0.0009567/0.3557, allocations: 0.9297 MB / 0.7949 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of Detect States: time 0.0009454/0.3566, allocations: 0.953 MB / 0.7959 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of Partitioning: time 0.00103/0.3577, allocations: 1.107 MB / 0.7969 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of Causalize: time 0.004568/0.3622, allocations: 4.479 MB / 0.8013 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of After Index Reduction Inline: time 0.0026/0.3648, allocations: 3.031 MB / 0.8043 GB, free: 12 kB / 0.5606 GB Notification: Performance of Inline: time 0.005524/0.3704, allocations: 6.157 MB / 0.8103 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0002237/0.3706, allocations: 195.6 kB / 0.8105 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of Cleanup: time 0.0005438/0.3712, allocations: 0.6514 MB / 0.8111 GB, free: 8.918 MB / 0.5762 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.02535/0.3965, allocations: 23.24 MB / 0.8338 GB, free: 1.348 MB / 0.5919 GB Notification: Performance of Tearing: time 1.653e-05/0.3966, allocations: 0 / 0.8338 GB, free: 1.348 MB / 0.5919 GB Notification: Performance of Initialization: time 6.81e-07/0.3966, allocations: 4 kB / 0.8338 GB, free: 1.344 MB / 0.5919 GB Notification: Performance of Tearing: time 9.558e-06/0.3966, allocations: 0 / 0.8338 GB, free: 1.344 MB / 0.5919 GB Notification: Performance of Categorize: time 3.162e-05/0.3966, allocations: 7.938 kB / 0.8338 GB, free: 1.336 MB / 0.5919 GB Notification: Performance of Solve: time 0.00189/0.3985, allocations: 0.9942 MB / 0.8348 GB, free: 344 kB / 0.5919 GB Notification: Performance of Jacobian: time 0.001605/0.4001, allocations: 1.589 MB / 0.8363 GB, free: 14.7 MB / 0.6075 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: ........... 229 (scalar:222, 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: ........... 229 (scalar:222, 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.0001149/0.4003, allocations: 124.2 kB / 0.8365 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of SimCode: time 0.007322/0.4076, allocations: 7.323 MB / 0.8436 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of Templates: time 0.02879/0.4364, allocations: 22.23 MB / 0.8653 GB, free: 0.9453 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet.makefile make -j1 -f BuildingSystems_BuildingSystems.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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet.o BuildingSystems_BuildingSystems.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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.o BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2043:31: error: use of undeclared identifier '_OMC_LIT19' tmpMeta2 = stringAppend(_OMC_LIT19,_modelName); ^ BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2044:40: error: use of undeclared identifier '_OMC_LIT20' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT20); ^ BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2046:40: error: use of undeclared identifier '_OMC_LIT21' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT21); ^ BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2063:35: error: use of undeclared identifier '_OMC_LIT22' tmpMeta7 = stringAppend(_OMC_LIT22,_mediumName); ^ BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2064:44: error: use of undeclared identifier '_OMC_LIT23' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT23); ^ BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2066:45: error: use of undeclared identifier '_OMC_LIT24' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT24); ^ BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2069:46: error: use of undeclared identifier '_OMC_LIT25' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT25); ^ BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2072:46: error: use of undeclared identifier '_OMC_LIT26' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT26); ^ BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2084:14: error: use of undeclared identifier '_OMC_LIT2' _X_str = _OMC_LIT2; ^ BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2092:41: error: use of undeclared identifier '_OMC_LIT27' tmpMeta21 = stringAppend(_X_str,_OMC_LIT27); ^ BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2095:44: error: use of undeclared identifier '_OMC_LIT28' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT28); ^ BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2098:44: error: use of undeclared identifier '_OMC_LIT29' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT29); ^ BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2100:44: error: use of undeclared identifier '_OMC_LIT30' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT30); ^ BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2105:30: error: use of undeclared identifier '_OMC_LIT31' tmpMeta33 = stringAppend(_OMC_LIT31,_mediumName); ^ BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2106:40: error: use of undeclared identifier '_OMC_LIT23' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT23); ^ BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2108:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT30); ^ BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2109:40: error: use of undeclared identifier '_OMC_LIT32' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT32); ^ BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2112:40: error: use of undeclared identifier '_OMC_LIT33' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT33); ^ BuildingSystems_BuildingSystems.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: *** [: BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.o] Error 1