Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.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.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y1|y2",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") translateModel(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y1|y2",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 115.1 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.001045/0.001045, 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.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 11.0.1-master/package.mo): time 2.196/2.196, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.206e-05/1.207e-05, allocations: 6.219 kB / 1.055 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01322/0.01324, allocations: 15.4 MB / 1.07 GB, free: 8.305 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.005032/0.01828, allocations: 4.672 MB / 1.074 GB, free: 3.617 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000335/0.01863, allocations: 15.88 kB / 1.074 GB, free: 3.602 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0004575/0.01909, allocations: 194.6 kB / 1.074 GB, free: 3.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001147/0.02025, allocations: 0.5596 MB / 1.075 GB, free: 2.848 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.02149, allocations: 0.5688 MB / 1.076 GB, free: 2.285 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001018/0.02251, allocations: 0.9772 MB / 1.076 GB, free: 1.305 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000396/0.02292, allocations: 331.7 kB / 1.077 GB, free: 0.9766 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005166/0.02344, allocations: 426.4 kB / 1.077 GB, free: 0.5586 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003217/0.02378, allocations: 298.7 kB / 1.078 GB, free: 272 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.23e-05/0.02383, allocations: 28 kB / 1.078 GB, free: 244 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003609/0.02419, allocations: 215.6 kB / 1.078 GB, free: 28 kB / 0.8419 GB Notification: Performance of combineBinaries: time 0.3683/0.3925, allocations: 0.7273 MB / 1.078 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0002263/0.3928, allocations: 487.8 kB / 1.079 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.3929, allocations: 69.34 kB / 1.079 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of FrontEnd: time 0.0001145/0.393, allocations: 22.48 kB / 1.079 GB, free: 12.1 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: 50 (45) * Number of variables: 50 (43) Notification: Performance of Bindings: time 0.001301/0.3943, allocations: 1.779 MB / 1.081 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.0001315/0.3944, allocations: 112.9 kB / 1.081 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0004955/0.3949, allocations: 0.6484 MB / 1.081 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of simplify1: time 5.212e-05/0.395, allocations: 58 kB / 1.082 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of Alias: time 0.0008167/0.3958, allocations: 0.8903 MB / 1.082 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of simplify2: time 3.944e-05/0.3959, allocations: 48.66 kB / 1.082 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of Events: time 8.371e-05/0.396, allocations: 77.06 kB / 1.083 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0001398/0.3961, allocations: 191.1 kB / 1.083 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0001743/0.3963, allocations: 245.4 kB / 1.083 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0007789/0.3971, allocations: 0.8891 MB / 1.084 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0003353/0.3974, allocations: 467.4 kB / 1.084 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of Inline: time 0.0009634/0.3984, allocations: 1.167 MB / 1.085 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of Partitioning: time 6.509e-05/0.3985, allocations: 83.19 kB / 1.085 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of Cleanup: time 3.05e-05/0.3985, allocations: 34.12 kB / 1.086 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of Causalize: time 0.001703/0.4002, allocations: 1.758 MB / 1.087 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of Tearing: time 8.836e-06/0.4002, allocations: 0.9062 kB / 1.087 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of Initialization: time 4.01e-07/0.4002, allocations: 0 / 1.087 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of Tearing: time 4.478e-06/0.4002, allocations: 5.438 kB / 1.087 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of Categorize: time 1.03e-05/0.4003, allocations: 3 kB / 1.087 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of Solve: time 0.0003292/0.4006, allocations: 240.4 kB / 1.087 GB, free: 9.641 MB / 0.8419 GB Notification: Performance of Jacobian: time 3.056e-06/0.4006, allocations: 0 / 1.087 GB, free: 9.641 MB / 0.8419 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 5 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 4 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 4 (4) {$SEV_3, $SEV_2, $SEV_1, $SEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 31 (scalar:28, array:3, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (generic: 4, 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: ........... 72 (scalar:69, array:3, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (generic: 4, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.136e-05/0.4006, allocations: 34.62 kB / 1.087 GB, free: 9.617 MB / 0.8419 GB Notification: Performance of SimCode: time 0.001602/0.4022, allocations: 1.989 MB / 1.089 GB, free: 8.543 MB / 0.8419 GB Notification: Performance of Templates: time 0.007129/0.4094, allocations: 3.763 MB / 1.093 GB, free: 8.172 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.makefile make -j1 -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.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_Combined_Subsystems_Validation_ValveOpeningFlowBalancing -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_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.o Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.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_Combined_Subsystems_Validation_ValveOpeningFlowBalancing -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_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_functions.o Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_functions.c Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_functions.c:299:31: error: use of undeclared identifier '_OMC_LIT14' tmpMeta2 = stringAppend(_OMC_LIT14,_modelName); ^ Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_functions.c:300:40: error: use of undeclared identifier '_OMC_LIT15' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT15); ^ Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_functions.c:302:40: error: use of undeclared identifier '_OMC_LIT16' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT16); ^ Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_functions.c:319:35: error: use of undeclared identifier '_OMC_LIT17' tmpMeta7 = stringAppend(_OMC_LIT17,_mediumName); ^ Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_functions.c:320:44: error: use of undeclared identifier '_OMC_LIT18' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT18); ^ Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_functions.c:322:45: error: use of undeclared identifier '_OMC_LIT19' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT19); ^ Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_functions.c:325:46: error: use of undeclared identifier '_OMC_LIT20' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT20); ^ Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_functions.c:328:46: error: use of undeclared identifier '_OMC_LIT21' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT21); ^ Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_functions.c:340:14: error: use of undeclared identifier '_OMC_LIT22' _X_str = _OMC_LIT22; ^ Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_functions.c:348:41: error: use of undeclared identifier '_OMC_LIT23' tmpMeta21 = stringAppend(_X_str,_OMC_LIT23); ^ Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_functions.c:351:44: error: use of undeclared identifier '_OMC_LIT24' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT24); ^ Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_functions.c:354:44: error: use of undeclared identifier '_OMC_LIT25' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT25); ^ Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_functions.c:356:44: error: use of undeclared identifier '_OMC_LIT26' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT26); ^ Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_functions.c:361:30: error: use of undeclared identifier '_OMC_LIT27' tmpMeta33 = stringAppend(_OMC_LIT27,_mediumName); ^ Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_functions.c:362:40: error: use of undeclared identifier '_OMC_LIT18' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT18); ^ Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_functions.c:364:40: error: use of undeclared identifier '_OMC_LIT26' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT26); ^ Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_functions.c:365:40: error: use of undeclared identifier '_OMC_LIT28' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT28); ^ Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_functions.c:368:40: error: use of undeclared identifier '_OMC_LIT29' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT29); ^ Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_functions.c:387: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.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_functions.o] Error 1