Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valOPPoi.m_flow|valKv.m_flow|valCv.m_flow|valAv.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valOPPoi.m_flow|valKv.m_flow|valCv.m_flow|valAv.m_flow",fileNamePrefix="Buildings_9_Buildings.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.00111/0.00111, allocations: 106.4 kB / 16.42 MB, free: 6.469 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.001073/0.001073, allocations: 187.1 kB / 17.35 MB, free: 5.707 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.143/1.143, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.906/1.906, allocations: 390.2 MB / 0.6655 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.146e-05/1.148e-05, allocations: 2.281 kB / 0.9515 GB, free: 7.727 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.02427/0.02428, allocations: 30.75 MB / 0.9815 GB, free: 8.859 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01033/0.03464, allocations: 10.85 MB / 0.9921 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006422/0.0353, allocations: 27.81 kB / 0.9921 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0008203/0.03613, allocations: 397.2 kB / 0.9925 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.002227/0.03837, allocations: 1.205 MB / 0.9937 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001703/0.04008, allocations: 0.8511 MB / 0.9945 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001739/0.04183, allocations: 1.994 MB / 0.9964 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007005/0.04254, allocations: 0.6909 MB / 0.9971 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001173/0.04372, allocations: 0.9494 MB / 0.998 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005994/0.04433, allocations: 0.6029 MB / 0.9986 GB, free: 7.25 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.143e-05/0.04441, allocations: 52 kB / 0.9987 GB, free: 7.199 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008105/0.04523, allocations: 0.6161 MB / 0.9993 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of combineBinaries: time 0.0008243/0.04606, allocations: 1.402 MB / 1.001 GB, free: 5.164 MB / 0.7794 GB Notification: Performance of replaceArrayConstructors: time 0.000414/0.04648, allocations: 0.8975 MB / 1.002 GB, free: 4.254 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.0466, allocations: 143.6 kB / 1.002 GB, free: 4.113 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.372e-05/0.0467, allocations: 35.81 kB / 1.002 GB, free: 4.078 MB / 0.7794 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.002404/0.04911, allocations: 3.406 MB / 1.005 GB, free: 0.5234 MB / 0.7794 GB Notification: Performance of FunctionAlias: time 0.0001312/0.04925, allocations: 147.7 kB / 1.005 GB, free: 388 kB / 0.7794 GB Notification: Performance of Early Inline: time 0.001113/0.05037, allocations: 1.437 MB / 1.007 GB, free: 14.91 MB / 0.795 GB Notification: Performance of simplify1: time 8.817e-05/0.05046, allocations: 115.9 kB / 1.007 GB, free: 14.79 MB / 0.795 GB Notification: Performance of Alias: time 0.002267/0.05274, allocations: 2.391 MB / 1.009 GB, free: 12.17 MB / 0.795 GB Notification: Performance of simplify2: time 6.293e-05/0.05281, allocations: 83.84 kB / 1.009 GB, free: 12.09 MB / 0.795 GB Notification: Performance of Detect States: time 0.0001931/0.05301, allocations: 254.2 kB / 1.009 GB, free: 11.82 MB / 0.795 GB Notification: Performance of Events: time 0.0001635/0.05318, allocations: 136.8 kB / 1.009 GB, free: 11.69 MB / 0.795 GB Notification: Performance of Partitioning: time 0.0003055/0.05349, allocations: 385.4 kB / 1.01 GB, free: 11.23 MB / 0.795 GB Notification: Performance of Causalize: time 0.001314/0.05481, allocations: 1.452 MB / 1.011 GB, free: 9.691 MB / 0.795 GB Notification: Performance of After Index Reduction Inline: time 0.0006039/0.05543, allocations: 0.7765 MB / 1.012 GB, free: 8.891 MB / 0.795 GB Notification: Performance of Inline: time 0.00156/0.05699, allocations: 1.859 MB / 1.014 GB, free: 6.992 MB / 0.795 GB Notification: Performance of Partitioning: time 0.0001016/0.0571, allocations: 103.6 kB / 1.014 GB, free: 6.879 MB / 0.795 GB Notification: Performance of Cleanup: time 0.0001428/0.05725, allocations: 191.6 kB / 1.014 GB, free: 6.691 MB / 0.795 GB Notification: Performance of Causalize: time 0.005175/0.06243, allocations: 5.562 MB / 1.02 GB, free: 1.129 MB / 0.795 GB Notification: Performance of Tearing: time 1.711e-05/0.06246, allocations: 0 / 1.02 GB, free: 1.129 MB / 0.795 GB Notification: Performance of Initialization: time 3e-07/0.06247, allocations: 0 / 1.02 GB, free: 1.129 MB / 0.795 GB Notification: Performance of Tearing: time 6.993e-06/0.06248, allocations: 4 kB / 1.02 GB, free: 1.125 MB / 0.795 GB Notification: Performance of Categorize: time 1.409e-05/0.06249, allocations: 3.938 kB / 1.02 GB, free: 1.121 MB / 0.795 GB Notification: Performance of Solve: time 0.002636/0.06513, allocations: 4.914 MB / 1.024 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of Jacobian: time 2.615e-06/0.06515, allocations: 4.125 kB / 1.024 GB, free: 11.58 MB / 0.8106 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: ........... 114 (scalar:112, 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: ........... 114 (scalar:112, 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 5.695e-05/0.06521, allocations: 67.23 kB / 1.024 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of SimCode: time 0.002939/0.06816, allocations: 3.298 MB / 1.028 GB, free: 8.176 MB / 0.8106 GB Notification: Performance of Templates: time 0.01053/0.0787, allocations: 7.455 MB / 1.035 GB, free: 0.7227 MB / 0.8106 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile make -j1 -f Buildings_9_Buildings.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=Buildings_9_Buildings_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 Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.o Buildings_9_Buildings.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=Buildings_9_Buildings_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 Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.o Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:847:31: error: use of undeclared identifier '_OMC_LIT19' tmpMeta2 = stringAppend(_OMC_LIT19,_modelName); ^ Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:848:40: error: use of undeclared identifier '_OMC_LIT20' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT20); ^ Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:850:40: error: use of undeclared identifier '_OMC_LIT21' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT21); ^ Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:867:35: error: use of undeclared identifier '_OMC_LIT22' tmpMeta7 = stringAppend(_OMC_LIT22,_mediumName); ^ Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:868:44: error: use of undeclared identifier '_OMC_LIT23' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT23); ^ Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:870:45: error: use of undeclared identifier '_OMC_LIT24' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT24); ^ Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:873:46: error: use of undeclared identifier '_OMC_LIT25' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT25); ^ Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:876:46: error: use of undeclared identifier '_OMC_LIT26' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT26); ^ Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:888:14: error: use of undeclared identifier '_OMC_LIT2' _X_str = _OMC_LIT2; ^ Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:896:41: error: use of undeclared identifier '_OMC_LIT27' tmpMeta21 = stringAppend(_X_str,_OMC_LIT27); ^ Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:899:44: error: use of undeclared identifier '_OMC_LIT28' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT28); ^ Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:902:44: error: use of undeclared identifier '_OMC_LIT29' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT29); ^ Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:904:44: error: use of undeclared identifier '_OMC_LIT30' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT30); ^ Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:909:30: error: use of undeclared identifier '_OMC_LIT31' tmpMeta33 = stringAppend(_OMC_LIT31,_mediumName); ^ Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:910:40: error: use of undeclared identifier '_OMC_LIT23' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT23); ^ Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:912:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT30); ^ Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:913:40: error: use of undeclared identifier '_OMC_LIT32' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT32); ^ Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:916:40: error: use of undeclared identifier '_OMC_LIT33' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT33); ^ Buildings_9_Buildings.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: *** [: Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.o] Error 1