Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 111.2 kB / 16.43 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.001338/0.001339, allocations: 182 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.409/1.409, 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/NcDataReader2 2.5.1-master/package.mo): time 0.002118/0.002118, allocations: 288.8 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.972/0.972, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.081e-05/3.084e-05, allocations: 2.281 kB / 0.682 GB, free: 7.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.4271/0.4271, allocations: 30.73 MB / 0.712 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01587/0.4431, allocations: 10.84 MB / 0.7226 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001852/0.4449, allocations: 26.59 kB / 0.7227 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001388/0.4463, allocations: 405.1 kB / 0.723 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00419/0.4505, allocations: 1.211 MB / 0.7242 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002952/0.4536, allocations: 0.8498 MB / 0.7251 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004401/0.458, allocations: 1.982 MB / 0.727 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001647/0.4597, allocations: 0.7054 MB / 0.7277 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0031/0.4628, allocations: 0.9459 MB / 0.7286 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001754/0.4645, allocations: 0.6057 MB / 0.7292 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002917/0.4648, allocations: 51.84 kB / 0.7292 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002371/0.4672, allocations: 0.6093 MB / 0.7298 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of combineBinaries: time 0.002075/0.4693, allocations: 1.403 MB / 0.7312 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of replaceArrayConstructors: time 0.001166/0.4705, allocations: 0.898 MB / 0.7321 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009344/0.4714, allocations: 146.8 kB / 0.7322 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of FrontEnd: time 0.0004238/0.4719, allocations: 38.33 kB / 0.7323 GB, free: 2.441 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 (105) * Number of variables: 117 (99) Notification: Performance of Bindings: time 0.006194/0.4781, allocations: 3.408 MB / 0.7356 GB, free: 52 kB / 0.4981 GB Notification: Performance of FunctionAlias: time 0.0002418/0.4783, allocations: 142.4 kB / 0.7357 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of Early Inline: time 0.001724/0.4801, allocations: 1.444 MB / 0.7371 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of simplify1: time 0.000149/0.4802, allocations: 110.3 kB / 0.7372 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of Alias: time 0.00351/0.4837, allocations: 2.408 MB / 0.7396 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of simplify2: time 8.899e-05/0.4838, allocations: 79.03 kB / 0.7397 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of Detect States: time 0.0002555/0.4841, allocations: 249.9 kB / 0.7399 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of Events: time 0.0002275/0.4843, allocations: 138.2 kB / 0.74 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of Partitioning: time 0.0004113/0.4848, allocations: 384.2 kB / 0.7404 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of Causalize: time 0.001883/0.4867, allocations: 1.453 MB / 0.7418 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of After Index Reduction Inline: time 0.0008742/0.4875, allocations: 0.7733 MB / 0.7426 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of Inline: time 0.002314/0.4899, allocations: 1.833 MB / 0.7444 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of Partitioning: time 0.0001437/0.49, allocations: 100.5 kB / 0.7445 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of Cleanup: time 0.0002095/0.4902, allocations: 193.1 kB / 0.7446 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of Causalize: time 0.007246/0.4975, allocations: 5.456 MB / 0.75 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of Tearing: time 3.121e-05/0.4975, allocations: 2.312 kB / 0.75 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of Initialization: time 9.62e-07/0.4975, allocations: 0 / 0.75 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of Tearing: time 1.944e-05/0.4976, allocations: 10.31 kB / 0.75 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of Categorize: time 3.378e-05/0.4976, allocations: 6.375 kB / 0.75 GB, free: 7.285 MB / 0.5137 GB Notification: Performance of Solve: time 0.003859/0.5015, allocations: 4.879 MB / 0.7548 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of Jacobian: time 4.288e-06/0.5015, allocations: 0 / 0.7548 GB, free: 2.434 MB / 0.5137 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 4 * Number of ODE event partitions: ............... 0 * 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: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 8 (8) {$SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $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: ........... 47 (scalar:45, array:2, 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: ... 4 (linear: 0, nonlinear:4) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 110 (scalar:108, array:2, 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: ... 4 (linear: 0, nonlinear:4) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 110 (scalar:108, array:2, 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: ... 4 (linear: 0, nonlinear:4) Notification: Performance of backend: time 9.689e-05/0.5016, allocations: 53 kB / 0.7548 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of SimCode: time 0.004452/0.5061, allocations: 3.308 MB / 0.758 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of Templates: time 0.01363/0.5197, allocations: 7.436 MB / 0.7653 GB, free: 7.887 MB / 0.5294 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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=BuildingSystems_BuildingSystems_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=12 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.o BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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=BuildingSystems_BuildingSystems_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=12 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.o BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:847:31: error: use of undeclared identifier '_OMC_LIT19' tmpMeta2 = stringAppend(_OMC_LIT19,_modelName); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:848:40: error: use of undeclared identifier '_OMC_LIT20' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT20); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:850:40: error: use of undeclared identifier '_OMC_LIT21' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT21); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:867:35: error: use of undeclared identifier '_OMC_LIT22' tmpMeta7 = stringAppend(_OMC_LIT22,_mediumName); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:868:44: error: use of undeclared identifier '_OMC_LIT23' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT23); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:870:45: error: use of undeclared identifier '_OMC_LIT24' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT24); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:873:46: error: use of undeclared identifier '_OMC_LIT25' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT25); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:876:46: error: use of undeclared identifier '_OMC_LIT26' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT26); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:888:14: error: use of undeclared identifier '_OMC_LIT2' _X_str = _OMC_LIT2; ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:896:41: error: use of undeclared identifier '_OMC_LIT27' tmpMeta21 = stringAppend(_X_str,_OMC_LIT27); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:899:44: error: use of undeclared identifier '_OMC_LIT28' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT28); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:902:44: error: use of undeclared identifier '_OMC_LIT29' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT29); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:904:44: error: use of undeclared identifier '_OMC_LIT30' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT30); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:909:30: error: use of undeclared identifier '_OMC_LIT31' tmpMeta33 = stringAppend(_OMC_LIT31,_mediumName); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:910:40: error: use of undeclared identifier '_OMC_LIT23' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT23); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:912:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT30); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:913:40: error: use of undeclared identifier '_OMC_LIT32' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT32); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:916:40: error: use of undeclared identifier '_OMC_LIT33' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT33); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:935: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: *** [: BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.o] Error 1