Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Experimental.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ideUse.yVal_actual|mPre_flow.y|ideUse.senMasFlo.m_flow",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser") translateModel(Buildings.Experimental.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ideUse.yVal_actual|mPre_flow.y|ideUse.senMasFlo.m_flow",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 111.8 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.001167/0.001167, allocations: 184.2 kB / 17.35 MB, free: 5.754 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.203/1.203, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.168/2.168, allocations: 437 MB / 0.7111 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.485e-05/1.485e-05, allocations: 2.281 kB / 1.019 GB, free: 9.465 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser): time 0.01894/0.01897, allocations: 21.4 MB / 1.04 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00864/0.02764, allocations: 7.729 MB / 1.048 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006754/0.02835, allocations: 23.88 kB / 1.048 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0008106/0.02916, allocations: 337.7 kB / 1.048 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001842/0.03102, allocations: 0.8596 MB / 1.049 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001843/0.03287, allocations: 0.8381 MB / 1.05 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001817/0.0347, allocations: 1.668 MB / 1.051 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007771/0.03549, allocations: 0.7019 MB / 1.052 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009454/0.03644, allocations: 0.7277 MB / 1.053 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004725/0.03693, allocations: 477.9 kB / 1.053 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.538e-05/0.03702, allocations: 72 kB / 1.053 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001159/0.03819, allocations: 0.8853 MB / 1.054 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.000748/0.03894, allocations: 1.209 MB / 1.055 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 0.0003955/0.03935, allocations: 0.778 MB / 1.056 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.03948, allocations: 135.6 kB / 1.056 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of FrontEnd: time 0.0001623/0.03965, allocations: 31.75 kB / 1.056 GB, free: 3.465 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: 112 (107) * Number of variables: 112 (110) Notification: Performance of Bindings: time 0.002536/0.04219, allocations: 3.294 MB / 1.059 GB, free: 36 kB / 0.8262 GB Notification: Performance of FunctionAlias: time 0.0001742/0.04237, allocations: 147.8 kB / 1.059 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.00143/0.04381, allocations: 1.706 MB / 1.061 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of simplify1: time 8.989e-05/0.04391, allocations: 99.88 kB / 1.061 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of Alias: time 0.003011/0.04693, allocations: 3.083 MB / 1.064 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of simplify2: time 5.722e-05/0.047, allocations: 55.92 kB / 1.064 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0004322/0.04744, allocations: 294.1 kB / 1.065 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of Events: time 0.0001902/0.04764, allocations: 143.7 kB / 1.065 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0003461/0.04799, allocations: 397.3 kB / 1.065 GB, free: 9.715 MB / 0.8419 GB Notification: Performance of Causalize: time 0.001246/0.04925, allocations: 1.233 MB / 1.066 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0007068/0.04996, allocations: 0.8002 MB / 1.067 GB, free: 7.574 MB / 0.8419 GB Notification: Performance of Inline: time 0.002012/0.05198, allocations: 2.158 MB / 1.069 GB, free: 5.375 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.000119/0.05211, allocations: 115.6 kB / 1.069 GB, free: 5.25 MB / 0.8419 GB Notification: Performance of Cleanup: time 0.0001792/0.0523, allocations: 213.5 kB / 1.069 GB, free: 5.043 MB / 0.8419 GB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) mPre_flow.nextEventScaled = $START.mPre_flow.nextEventScaled ($RES_SRT_133) slice: {}; Notification: Performance of Causalize: time 0.4454/0.4977, allocations: 9.949 MB / 1.079 GB, free: 27.14 MB / 0.8419 GB Notification: Performance of Tearing: time 2.654e-05/0.4978, allocations: 2.812 kB / 1.079 GB, free: 27.14 MB / 0.8419 GB Notification: Performance of Initialization: time 1.763e-06/0.4978, allocations: 0.9062 kB / 1.079 GB, free: 27.14 MB / 0.8419 GB Notification: Performance of Tearing: time 1.051e-05/0.4978, allocations: 4.641 kB / 1.079 GB, free: 27.14 MB / 0.8419 GB Notification: Performance of Categorize: time 2.363e-05/0.4978, allocations: 7.719 kB / 1.079 GB, free: 27.14 MB / 0.8419 GB Notification: Performance of Solve: time 0.00134/0.4992, allocations: 1.554 MB / 1.081 GB, free: 26.06 MB / 0.8419 GB Notification: Performance of Jacobian: time 0.0005516/0.4997, allocations: 0.606 MB / 1.081 GB, free: 25.79 MB / 0.8419 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: ......... 5 * 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: ............................. 3 (2) {ideUse.val.filter.s, ideUse.conPI.I.y} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 13 (13) {mPre_flow.a, mPre_flow.b, mPre_flow.last, mPre_flow.nextEvent, mPre_flow.nextEventScaled, $SEV_10, $SEV_9, $SEV_8, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 43 (scalar:40, array:3, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 103 (scalar:98, array:5, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 103 (scalar:98, array:5, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 8.186e-05/0.4998, allocations: 58.69 kB / 1.081 GB, free: 25.78 MB / 0.8419 GB Notification: Performance of SimCode: time 0.004415/0.5042, allocations: 3.922 MB / 1.085 GB, free: 24.3 MB / 0.8419 GB Notification: Performance of Templates: time 0.01538/0.5196, allocations: 8.363 MB / 1.093 GB, free: 23.65 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser.makefile make -j1 -f Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser.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_10_Buildings_Experimental_DHC_Plants_Cooling_BaseClasses_Validation_IdealUser -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser.o Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser.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_10_Buildings_Experimental_DHC_Plants_Cooling_BaseClasses_Validation_IdealUser -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser_functions.o Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser_functions.c Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser_functions.c:1974:31: error: use of undeclared identifier '_OMC_LIT19' tmpMeta2 = stringAppend(_OMC_LIT19,_modelName); ^ Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser_functions.c:1975:40: error: use of undeclared identifier '_OMC_LIT20' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT20); ^ Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser_functions.c:1977:40: error: use of undeclared identifier '_OMC_LIT21' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT21); ^ Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser_functions.c:1994:35: error: use of undeclared identifier '_OMC_LIT22' tmpMeta7 = stringAppend(_OMC_LIT22,_mediumName); ^ Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser_functions.c:1995:44: error: use of undeclared identifier '_OMC_LIT23' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT23); ^ Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser_functions.c:1997:45: error: use of undeclared identifier '_OMC_LIT24' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT24); ^ Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser_functions.c:2000:46: error: use of undeclared identifier '_OMC_LIT25' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT25); ^ Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser_functions.c:2003:46: error: use of undeclared identifier '_OMC_LIT26' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT26); ^ Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser_functions.c:2015:14: error: use of undeclared identifier '_OMC_LIT2' _X_str = _OMC_LIT2; ^ Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser_functions.c:2023:41: error: use of undeclared identifier '_OMC_LIT27' tmpMeta21 = stringAppend(_X_str,_OMC_LIT27); ^ Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser_functions.c:2026:44: error: use of undeclared identifier '_OMC_LIT28' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT28); ^ Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser_functions.c:2029:44: error: use of undeclared identifier '_OMC_LIT29' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT29); ^ Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser_functions.c:2031:44: error: use of undeclared identifier '_OMC_LIT30' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT30); ^ Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser_functions.c:2036:30: error: use of undeclared identifier '_OMC_LIT31' tmpMeta33 = stringAppend(_OMC_LIT31,_mediumName); ^ Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser_functions.c:2037:40: error: use of undeclared identifier '_OMC_LIT23' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT23); ^ Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser_functions.c:2039:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT30); ^ Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser_functions.c:2040:40: error: use of undeclared identifier '_OMC_LIT32' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT32); ^ Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser_functions.c:2043:40: error: use of undeclared identifier '_OMC_LIT33' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT33); ^ Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser_functions.c:2062: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_10_Buildings.Experimental.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser_functions.o] Error 1