Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow.y|heaHigPowIn.T|heaHigPowOut.T|heaHigPow.TSet|cooLimPowIn.T|cooLimPowOut.T|cooLimPow.TSet|heaCooUnlIn.T|heaCooUnlOut.T|heaCooUnl.TSet|heaHigPow.QMax_flow|heaHigPow.Q_flow|cooLimPow.QMin_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet") translateModel(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow.y|heaHigPowIn.T|heaHigPowOut.T|heaHigPow.TSet|cooLimPowIn.T|cooLimPowOut.T|cooLimPow.TSet|heaCooUnlIn.T|heaCooUnlOut.T|heaCooUnl.TSet|heaHigPow.QMax_flow|heaHigPow.Q_flow|cooLimPow.QMin_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow",fileNamePrefix="Buildings_9_Buildings.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.001121/0.001121, allocations: 114.9 kB / 16.43 MB, free: 6.504 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.001079/0.001079, allocations: 187.1 kB / 17.36 MB, free: 5.75 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.136/1.136, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.886/1.886, allocations: 390.2 MB / 0.6655 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.959e-06/9.969e-06, allocations: 2.281 kB / 0.9515 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet): time 0.04817/0.04819, allocations: 62.22 MB / 1.012 GB, free: 9.266 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01307/0.06129, allocations: 11.43 MB / 1.023 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009589/0.06227, allocations: 79.44 kB / 1.023 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0014/0.06368, allocations: 0.8188 MB / 1.024 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.003126/0.06681, allocations: 2.029 MB / 1.026 GB, free: 10.87 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.003621/0.07045, allocations: 2.029 MB / 1.028 GB, free: 8.844 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.003583/0.07404, allocations: 4.27 MB / 1.032 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001279/0.07533, allocations: 1.323 MB / 1.034 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002521/0.07786, allocations: 1.977 MB / 1.036 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001082/0.07895, allocations: 1.171 MB / 1.037 GB, free: 44 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001689/0.07913, allocations: 128 kB / 1.037 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002031/0.08117, allocations: 1.54 MB / 1.038 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.001726/0.0829, allocations: 2.898 MB / 1.041 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 0.0008891/0.0838, allocations: 1.876 MB / 1.043 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002787/0.08409, allocations: 335 kB / 1.043 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of FrontEnd: time 0.0002053/0.0843, allocations: 67.73 kB / 1.043 GB, free: 9.152 MB / 0.8262 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.005243/0.08955, allocations: 7.363 MB / 1.051 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 0.0003544/0.08991, allocations: 479.6 kB / 1.051 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.004097/0.09401, allocations: 5.079 MB / 1.056 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of simplify1: time 0.000281/0.0943, allocations: 355.6 kB / 1.056 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of Alias: time 0.006469/0.1008, allocations: 7.122 MB / 1.063 GB, free: 4 MB / 0.8419 GB Notification: Performance of simplify2: time 0.0002441/0.101, allocations: 307.6 kB / 1.064 GB, free: 3.699 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0007763/0.1018, allocations: 0.9743 MB / 1.065 GB, free: 2.707 MB / 0.8419 GB Notification: Performance of Events: time 0.0008027/0.1026, allocations: 0.7713 MB / 1.065 GB, free: 1.922 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0009672/0.1036, allocations: 1.103 MB / 1.066 GB, free: 0.7148 MB / 0.8419 GB Notification: Performance of Causalize: time 0.004341/0.108, allocations: 4.482 MB / 1.071 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of After Index Reduction Inline: time 0.002421/0.1104, allocations: 3.027 MB / 1.074 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of Inline: time 0.005112/0.1155, allocations: 6.161 MB / 1.08 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of Partitioning: time 0.0002186/0.1157, allocations: 199.6 kB / 1.08 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of Cleanup: time 0.0005228/0.1163, allocations: 0.6475 MB / 1.081 GB, free: 1.938 MB / 0.8575 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.4141/0.5304, allocations: 23.24 MB / 1.103 GB, free: 45.12 MB / 0.8575 GB Notification: Performance of Tearing: time 4.275e-05/0.5305, allocations: 1.125 kB / 1.103 GB, free: 45.12 MB / 0.8575 GB Notification: Performance of Initialization: time 1.422e-06/0.5305, allocations: 4 kB / 1.103 GB, free: 45.11 MB / 0.8575 GB Notification: Performance of Tearing: time 1.412e-05/0.5305, allocations: 6.203 kB / 1.103 GB, free: 45.11 MB / 0.8575 GB Notification: Performance of Categorize: time 2.792e-05/0.5305, allocations: 8.734 kB / 1.103 GB, free: 45.11 MB / 0.8575 GB Notification: Performance of Solve: time 0.001808/0.5323, allocations: 0.9831 MB / 1.104 GB, free: 45.02 MB / 0.8575 GB Notification: Performance of Jacobian: time 0.001535/0.5339, allocations: 1.594 MB / 1.106 GB, free: 44.58 MB / 0.8575 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 9.326e-05/0.534, allocations: 119.2 kB / 1.106 GB, free: 44.54 MB / 0.8575 GB Notification: Performance of SimCode: time 0.007337/0.5413, allocations: 7.36 MB / 1.113 GB, free: 42.12 MB / 0.8575 GB Notification: Performance of Templates: time 0.02603/0.5674, allocations: 21.8 MB / 1.134 GB, free: 39.71 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.makefile make -j1 -f Buildings_9_Buildings.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=Buildings_9_Buildings_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 Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.o Buildings_9_Buildings.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=Buildings_9_Buildings_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 Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.o Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2043:31: error: use of undeclared identifier '_OMC_LIT19' tmpMeta2 = stringAppend(_OMC_LIT19,_modelName); ^ Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2044:40: error: use of undeclared identifier '_OMC_LIT20' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT20); ^ Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2046:40: error: use of undeclared identifier '_OMC_LIT21' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT21); ^ Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2063:35: error: use of undeclared identifier '_OMC_LIT22' tmpMeta7 = stringAppend(_OMC_LIT22,_mediumName); ^ Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2064:44: error: use of undeclared identifier '_OMC_LIT23' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT23); ^ Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2066:45: error: use of undeclared identifier '_OMC_LIT24' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT24); ^ Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2069:46: error: use of undeclared identifier '_OMC_LIT25' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT25); ^ Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2072:46: error: use of undeclared identifier '_OMC_LIT26' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT26); ^ Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2084:14: error: use of undeclared identifier '_OMC_LIT2' _X_str = _OMC_LIT2; ^ Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2092:41: error: use of undeclared identifier '_OMC_LIT27' tmpMeta21 = stringAppend(_X_str,_OMC_LIT27); ^ Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2095:44: error: use of undeclared identifier '_OMC_LIT28' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT28); ^ Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2098:44: error: use of undeclared identifier '_OMC_LIT29' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT29); ^ Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2100:44: error: use of undeclared identifier '_OMC_LIT30' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT30); ^ Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2105:30: error: use of undeclared identifier '_OMC_LIT31' tmpMeta33 = stringAppend(_OMC_LIT31,_mediumName); ^ Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2106:40: error: use of undeclared identifier '_OMC_LIT23' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT23); ^ Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2108:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT30); ^ Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2109:40: error: use of undeclared identifier '_OMC_LIT32' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT32); ^ Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.c:2112:40: error: use of undeclared identifier '_OMC_LIT33' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT33); ^ Buildings_9_Buildings.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: *** [: Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_functions.o] Error 1