Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.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 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.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y1|y2",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") translateModel(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y1|y2",fileNamePrefix="Buildings_10_Buildings.Experimental.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.00115/0.00115, allocations: 112.1 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.001094/0.001094, allocations: 184.2 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.165/1.165, allocations: 222.9 MB / 241 MB, free: 15.15 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.119/2.119, allocations: 437 MB / 0.7111 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.339e-05/2.34e-05, allocations: 2.281 kB / 1.019 GB, free: 9.449 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01636/0.01639, allocations: 15.41 MB / 1.034 GB, free: 9.98 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.006065/0.02249, allocations: 4.677 MB / 1.039 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006494/0.02317, allocations: 15.88 kB / 1.039 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006844/0.02387, allocations: 190.6 kB / 1.039 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001599/0.02548, allocations: 0.5918 MB / 1.04 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001561/0.0271, allocations: 0.5818 MB / 1.04 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001333/0.02844, allocations: 0.9733 MB / 1.041 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005868/0.02904, allocations: 335.7 kB / 1.041 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008417/0.02989, allocations: 422.4 kB / 1.042 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000404/0.03031, allocations: 298.7 kB / 1.042 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.042e-05/0.03037, allocations: 28 kB / 1.042 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004726/0.03085, allocations: 215.6 kB / 1.042 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of combineBinaries: time 0.0004597/0.03132, allocations: 0.7341 MB / 1.043 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of replaceArrayConstructors: time 0.0002424/0.03157, allocations: 489.3 kB / 1.043 GB, free: 448 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.403e-05/0.03165, allocations: 71.75 kB / 1.044 GB, free: 376 kB / 0.8106 GB Notification: Performance of FrontEnd: time 7.828e-05/0.03173, allocations: 15.88 kB / 1.044 GB, free: 360 kB / 0.8106 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.001455/0.03319, allocations: 1.788 MB / 1.045 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 0.0001377/0.03334, allocations: 106.3 kB / 1.045 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.0005581/0.0339, allocations: 0.6579 MB / 1.046 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of simplify1: time 4.841e-05/0.03396, allocations: 55.92 kB / 1.046 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of Alias: time 0.0009596/0.03492, allocations: 0.8876 MB / 1.047 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of simplify2: time 4.179e-05/0.03498, allocations: 47.94 kB / 1.047 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of Detect States: time 0.0002877/0.03527, allocations: 175.9 kB / 1.047 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of Events: time 0.0001/0.03538, allocations: 67.27 kB / 1.047 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of Partitioning: time 0.0002215/0.03561, allocations: 257.9 kB / 1.047 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0008774/0.03649, allocations: 0.88 MB / 1.048 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of After Index Reduction Inline: time 0.0003873/0.03689, allocations: 478.4 kB / 1.049 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of Inline: time 0.001061/0.03796, allocations: 1.164 MB / 1.05 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of Partitioning: time 6.558e-05/0.03803, allocations: 71.55 kB / 1.05 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of Cleanup: time 3.43e-05/0.03808, allocations: 39.89 kB / 1.05 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of Causalize: time 0.001731/0.03981, allocations: 1.73 MB / 1.052 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of Tearing: time 1.475e-05/0.03984, allocations: 8 kB / 1.052 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of Initialization: time 3.61e-07/0.03984, allocations: 3.938 kB / 1.052 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of Tearing: time 4.569e-06/0.03985, allocations: 4 kB / 1.052 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of Categorize: time 1.357e-05/0.03987, allocations: 0 / 1.052 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of Solve: time 0.0003265/0.0402, allocations: 238 kB / 1.052 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of Jacobian: time 3.146e-06/0.04021, allocations: 0 / 1.052 GB, free: 7.234 MB / 0.8262 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: ........... 70 (scalar:67, 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 4.109e-05/0.04026, allocations: 33.8 kB / 1.052 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of SimCode: time 0.001796/0.04206, allocations: 2.002 MB / 1.054 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of Templates: time 0.006742/0.04881, allocations: 3.802 MB / 1.058 GB, free: 1.422 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.makefile make -j1 -f Buildings_10_Buildings.Experimental.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_10_Buildings_Experimental_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_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.o Buildings_10_Buildings.Experimental.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_10_Buildings_Experimental_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_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_functions.o Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_functions.c Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_functions.c:299:31: error: use of undeclared identifier '_OMC_LIT14' tmpMeta2 = stringAppend(_OMC_LIT14,_modelName); ^ Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_functions.c:300:40: error: use of undeclared identifier '_OMC_LIT15' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT15); ^ Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_functions.c:302:40: error: use of undeclared identifier '_OMC_LIT16' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT16); ^ Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_functions.c:319:35: error: use of undeclared identifier '_OMC_LIT17' tmpMeta7 = stringAppend(_OMC_LIT17,_mediumName); ^ Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_functions.c:320:44: error: use of undeclared identifier '_OMC_LIT18' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT18); ^ Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_functions.c:322:45: error: use of undeclared identifier '_OMC_LIT19' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT19); ^ Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_functions.c:325:46: error: use of undeclared identifier '_OMC_LIT20' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT20); ^ Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_functions.c:328:46: error: use of undeclared identifier '_OMC_LIT21' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT21); ^ Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_functions.c:340:14: error: use of undeclared identifier '_OMC_LIT22' _X_str = _OMC_LIT22; ^ Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_functions.c:348:41: error: use of undeclared identifier '_OMC_LIT23' tmpMeta21 = stringAppend(_X_str,_OMC_LIT23); ^ Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_functions.c:351:44: error: use of undeclared identifier '_OMC_LIT24' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT24); ^ Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_functions.c:354:44: error: use of undeclared identifier '_OMC_LIT25' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT25); ^ Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_functions.c:356:44: error: use of undeclared identifier '_OMC_LIT26' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT26); ^ Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_functions.c:361:30: error: use of undeclared identifier '_OMC_LIT27' tmpMeta33 = stringAppend(_OMC_LIT27,_mediumName); ^ Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_functions.c:362:40: error: use of undeclared identifier '_OMC_LIT18' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT18); ^ Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_functions.c:364:40: error: use of undeclared identifier '_OMC_LIT26' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT26); ^ Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_functions.c:365:40: error: use of undeclared identifier '_OMC_LIT28' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT28); ^ Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_functions.c:368:40: error: use of undeclared identifier '_OMC_LIT29' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT29); ^ Buildings_10_Buildings.Experimental.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_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_functions.o] Error 1