Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(Buildings.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_latest_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser") translateModel(Buildings.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_latest_Buildings.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.001095/0.001095, allocations: 112 kB / 16.43 MB, free: 6.508 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.001057/0.001057, allocations: 183.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.133/1.133, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.156/2.156, allocations: 461.9 MB / 0.7354 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.605e-05/1.606e-05, allocations: 5.172 kB / 1.055 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser): time 0.01881/0.01883, allocations: 21.39 MB / 1.076 GB, free: 2.324 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.3765/0.3954, allocations: 7.714 MB / 1.083 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004957/0.3959, allocations: 24.31 kB / 1.083 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0006666/0.3966, allocations: 333.7 kB / 1.083 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001368/0.398, allocations: 0.8214 MB / 1.084 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001499/0.3995, allocations: 0.8444 MB / 1.085 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001382/0.4009, allocations: 1.669 MB / 1.087 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007318/0.4016, allocations: 0.697 MB / 1.087 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008919/0.4025, allocations: 0.7184 MB / 1.088 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004915/0.403, allocations: 481.7 kB / 1.088 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.4031, allocations: 74.16 kB / 1.089 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001249/0.4044, allocations: 0.8795 MB / 1.089 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0006386/0.405, allocations: 1.211 MB / 1.091 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0002888/0.4053, allocations: 0.7797 MB / 1.091 GB, free: 9.703 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.4054, allocations: 135 kB / 1.091 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of FrontEnd: time 0.0001247/0.4056, allocations: 33.83 kB / 1.092 GB, free: 9.664 MB / 0.8419 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.002252/0.4078, allocations: 3.301 MB / 1.095 GB, free: 7.941 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.0001494/0.408, allocations: 167.1 kB / 1.095 GB, free: 7.832 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.001315/0.4093, allocations: 1.68 MB / 1.097 GB, free: 6.727 MB / 0.8419 GB Notification: Performance of simplify1: time 9.67e-05/0.4094, allocations: 105.7 kB / 1.097 GB, free: 6.68 MB / 0.8419 GB Notification: Performance of Alias: time 0.002815/0.4122, allocations: 3.074 MB / 1.1 GB, free: 4.863 MB / 0.8419 GB Notification: Performance of simplify2: time 6.616e-05/0.4123, allocations: 62.48 kB / 1.1 GB, free: 4.84 MB / 0.8419 GB Notification: Performance of Events: time 0.0001662/0.4125, allocations: 147.2 kB / 1.1 GB, free: 4.762 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0002844/0.4128, allocations: 328.1 kB / 1.1 GB, free: 4.543 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0002903/0.4131, allocations: 382.9 kB / 1.101 GB, free: 4.242 MB / 0.8419 GB Notification: Performance of Causalize: time 0.001159/0.4142, allocations: 1.236 MB / 1.102 GB, free: 3.68 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0005842/0.4148, allocations: 0.8086 MB / 1.103 GB, free: 3.152 MB / 0.8419 GB Notification: Performance of Inline: time 0.001746/0.4166, allocations: 2.151 MB / 1.105 GB, free: 1.859 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0001019/0.4167, allocations: 108.1 kB / 1.105 GB, free: 1.793 MB / 0.8419 GB Notification: Performance of Cleanup: time 0.0001605/0.4169, allocations: 216.6 kB / 1.105 GB, free: 1.664 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.01002/0.4269, allocations: 10 MB / 1.115 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of Tearing: time 1.697e-05/0.4269, allocations: 5.125 kB / 1.115 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of Initialization: time 7.21e-07/0.4269, allocations: 0 / 1.115 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of Tearing: time 9.257e-06/0.4269, allocations: 6.375 kB / 1.115 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of Categorize: time 1.616e-05/0.427, allocations: 2.125 kB / 1.115 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of Solve: time 0.001496/0.4285, allocations: 1.929 MB / 1.117 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of Jacobian: time 0.0005782/0.4291, allocations: 0.6117 MB / 1.117 GB, free: 12.18 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: ......... 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: ........... 104 (scalar:99, 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: ........... 104 (scalar:99, 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 0.0001096/0.4292, allocations: 51.58 kB / 1.117 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of SimCode: time 0.00401/0.4332, allocations: 3.833 MB / 1.121 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of Templates: time 0.01334/0.4465, allocations: 8.29 MB / 1.129 GB, free: 9.551 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser.makefile make -j1 -f Buildings_latest_Buildings.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_latest_Buildings_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_latest_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser.o Buildings_latest_Buildings.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_latest_Buildings_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_latest_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser_functions.o Buildings_latest_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser_functions.c Buildings_latest_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser_functions.c:1974:31: error: use of undeclared identifier '_OMC_LIT19' tmpMeta2 = stringAppend(_OMC_LIT19,_modelName); ^ Buildings_latest_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser_functions.c:1975:40: error: use of undeclared identifier '_OMC_LIT20' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT20); ^ Buildings_latest_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser_functions.c:1977:40: error: use of undeclared identifier '_OMC_LIT21' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT21); ^ Buildings_latest_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser_functions.c:1994:35: error: use of undeclared identifier '_OMC_LIT22' tmpMeta7 = stringAppend(_OMC_LIT22,_mediumName); ^ Buildings_latest_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser_functions.c:1995:44: error: use of undeclared identifier '_OMC_LIT23' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT23); ^ Buildings_latest_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser_functions.c:1997:45: error: use of undeclared identifier '_OMC_LIT24' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT24); ^ Buildings_latest_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser_functions.c:2000:46: error: use of undeclared identifier '_OMC_LIT25' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT25); ^ Buildings_latest_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser_functions.c:2003:46: error: use of undeclared identifier '_OMC_LIT26' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT26); ^ Buildings_latest_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser_functions.c:2015:14: error: use of undeclared identifier '_OMC_LIT2' _X_str = _OMC_LIT2; ^ Buildings_latest_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser_functions.c:2023:41: error: use of undeclared identifier '_OMC_LIT27' tmpMeta21 = stringAppend(_X_str,_OMC_LIT27); ^ Buildings_latest_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser_functions.c:2026:44: error: use of undeclared identifier '_OMC_LIT28' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT28); ^ Buildings_latest_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser_functions.c:2029:44: error: use of undeclared identifier '_OMC_LIT29' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT29); ^ Buildings_latest_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser_functions.c:2031:44: error: use of undeclared identifier '_OMC_LIT30' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT30); ^ Buildings_latest_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser_functions.c:2036:30: error: use of undeclared identifier '_OMC_LIT31' tmpMeta33 = stringAppend(_OMC_LIT31,_mediumName); ^ Buildings_latest_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser_functions.c:2037:40: error: use of undeclared identifier '_OMC_LIT23' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT23); ^ Buildings_latest_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser_functions.c:2039:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT30); ^ Buildings_latest_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser_functions.c:2040:40: error: use of undeclared identifier '_OMC_LIT32' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT32); ^ Buildings_latest_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser_functions.c:2043:40: error: use of undeclared identifier '_OMC_LIT33' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT33); ^ Buildings_latest_Buildings.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_latest_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser_functions.o] Error 1