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.00125/0.00125, allocations: 112.8 kB / 16.42 MB, free: 6.523 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.001103/0.001103, allocations: 182 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.501/1.501, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002307/0.002307, allocations: 285.7 kB / 291.5 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.051/1.051, allocations: 169.2 MB / 0.499 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.931e-05/2.931e-05, allocations: 2.281 kB / 0.682 GB, free: 7.109 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.PrescribedOutlet): time 0.6117/0.6117, allocations: 62.19 MB / 0.7428 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02327/0.635, allocations: 11.43 MB / 0.7539 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005234/0.6403, allocations: 76.28 kB / 0.754 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003719/0.644, allocations: 0.8149 MB / 0.7548 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.008855/0.6529, allocations: 2.028 MB / 0.7568 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.009105/0.6621, allocations: 2.034 MB / 0.7587 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0115/0.6736, allocations: 4.25 MB / 0.7629 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004411/0.6781, allocations: 1.327 MB / 0.7642 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007444/0.6855, allocations: 1.975 MB / 0.7661 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003796/0.6894, allocations: 1.17 MB / 0.7673 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0008429/0.6902, allocations: 125.9 kB / 0.7674 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006938/0.6972, allocations: 1.546 MB / 0.7689 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of combineBinaries: time 0.005644/0.7029, allocations: 2.905 MB / 0.7717 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of replaceArrayConstructors: time 0.002687/0.7056, allocations: 1.866 MB / 0.7736 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001453/0.7071, allocations: 334.9 kB / 0.7739 GB, free: 268 kB / 0.5294 GB Notification: Performance of FrontEnd: time 0.0009066/0.708, allocations: 75.8 kB / 0.7739 GB, free: 192 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.01236/0.7204, allocations: 7.381 MB / 0.7812 GB, free: 8.574 MB / 0.545 GB Notification: Performance of FunctionAlias: time 0.001127/0.7215, allocations: 459.8 kB / 0.7816 GB, free: 8.094 MB / 0.545 GB Notification: Performance of Early Inline: time 0.006058/0.7276, allocations: 5.076 MB / 0.7866 GB, free: 2.969 MB / 0.545 GB Notification: Performance of simplify1: time 0.0005227/0.7282, allocations: 367.5 kB / 0.7869 GB, free: 2.609 MB / 0.545 GB Notification: Performance of Alias: time 0.01173/0.7399, allocations: 7.12 MB / 0.7939 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of simplify2: time 0.0008008/0.7408, allocations: 315.6 kB / 0.7942 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of Detect States: time 0.001216/0.742, allocations: 0.9665 MB / 0.7951 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of Events: time 0.001202/0.7432, allocations: 0.7794 MB / 0.7959 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of Partitioning: time 0.001434/0.7446, allocations: 1.115 MB / 0.7969 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of Causalize: time 0.005855/0.7505, allocations: 4.468 MB / 0.8013 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of After Index Reduction Inline: time 0.003384/0.7539, allocations: 3.023 MB / 0.8043 GB, free: 88 kB / 0.5606 GB Notification: Performance of Inline: time 0.007095/0.761, allocations: 6.146 MB / 0.8103 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0002947/0.7613, allocations: 191.6 kB / 0.8104 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of Cleanup: time 0.0007277/0.7621, allocations: 0.6586 MB / 0.8111 GB, free: 8.996 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.03111/0.7932, allocations: 23.11 MB / 0.8337 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of Tearing: time 3.97e-05/0.7933, allocations: 3.938 kB / 0.8337 GB, free: 1.574 MB / 0.5919 GB Notification: Performance of Initialization: time 1.212e-06/0.7933, allocations: 0 / 0.8337 GB, free: 1.574 MB / 0.5919 GB Notification: Performance of Tearing: time 1.939e-05/0.7933, allocations: 0 / 0.8337 GB, free: 1.574 MB / 0.5919 GB Notification: Performance of Categorize: time 4.305e-05/0.7933, allocations: 11.94 kB / 0.8337 GB, free: 1.562 MB / 0.5919 GB Notification: Performance of Solve: time 0.002638/0.796, allocations: 0.9785 MB / 0.8346 GB, free: 0.5742 MB / 0.5919 GB Notification: Performance of Jacobian: time 0.002521/0.7985, allocations: 1.585 MB / 0.8362 GB, free: 14.94 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: ........... 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.0002255/0.7988, allocations: 119.7 kB / 0.8363 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of SimCode: time 0.012/0.8108, allocations: 7.387 MB / 0.8435 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of Templates: time 0.04242/0.8532, allocations: 21.82 MB / 0.8648 GB, free: 1.559 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