Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001124/0.001124, allocations: 114.8 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.001052/0.001052, allocations: 187.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.151/1.151, 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 11.0.1-master/package.mo): time 2.179/2.179, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.633e-05/1.635e-05, allocations: 2.5 kB / 1.055 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.4368/0.4368, allocations: 30.75 MB / 1.085 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01015/0.447, allocations: 10.85 MB / 1.095 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006299/0.4477, allocations: 23.28 kB / 1.095 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0008106/0.4485, allocations: 397.5 kB / 1.096 GB, free: 9.836 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002227/0.4507, allocations: 1.15 MB / 1.097 GB, free: 9.164 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001865/0.4526, allocations: 0.8503 MB / 1.098 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001918/0.4545, allocations: 1.984 MB / 1.1 GB, free: 7.832 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008144/0.4554, allocations: 0.691 MB / 1.1 GB, free: 7.531 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001327/0.4567, allocations: 0.9441 MB / 1.101 GB, free: 7.102 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006647/0.4574, allocations: 0.607 MB / 1.102 GB, free: 6.836 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.263e-05/0.4575, allocations: 50.28 kB / 1.102 GB, free: 6.836 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.4585, allocations: 0.617 MB / 1.102 GB, free: 6.637 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0008093/0.4593, allocations: 1.397 MB / 1.104 GB, free: 5.746 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0003868/0.4597, allocations: 0.8988 MB / 1.105 GB, free: 5.117 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.4598, allocations: 154.4 kB / 1.105 GB, free: 5.043 MB / 0.8419 GB Notification: Performance of FrontEnd: time 9.378e-05/0.4599, allocations: 25.25 kB / 1.105 GB, free: 5.039 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: 117 (105) * Number of variables: 117 (99) Notification: Performance of Bindings: time 0.002283/0.4622, allocations: 3.405 MB / 1.108 GB, free: 2.652 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.0001326/0.4624, allocations: 136.2 kB / 1.108 GB, free: 2.57 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.001117/0.4635, allocations: 1.44 MB / 1.11 GB, free: 1.645 MB / 0.8419 GB Notification: Performance of simplify1: time 0.0001088/0.4636, allocations: 117.7 kB / 1.11 GB, free: 1.59 MB / 0.8419 GB Notification: Performance of Alias: time 0.002357/0.466, allocations: 2.403 MB / 1.112 GB, free: 124 kB / 0.8419 GB Notification: Performance of simplify2: time 7.449e-05/0.4661, allocations: 78.53 kB / 1.112 GB, free: 92 kB / 0.8419 GB Notification: Performance of Events: time 0.0001511/0.4662, allocations: 143.2 kB / 1.112 GB, free: 8 kB / 0.8419 GB Notification: Performance of Detect States: time 0.0002748/0.4665, allocations: 283.6 kB / 1.113 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of Partitioning: time 0.0003522/0.4669, allocations: 373 kB / 1.113 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of Causalize: time 0.001489/0.4683, allocations: 1.459 MB / 1.114 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of After Index Reduction Inline: time 0.0007086/0.4691, allocations: 0.7714 MB / 1.115 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of Inline: time 0.001826/0.4709, allocations: 1.861 MB / 1.117 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of Partitioning: time 0.0001062/0.471, allocations: 106.1 kB / 1.117 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of Cleanup: time 0.0001793/0.4712, allocations: 184.1 kB / 1.117 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of Causalize: time 0.005863/0.4771, allocations: 5.565 MB / 1.123 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of Tearing: time 1.61e-05/0.4771, allocations: 0 / 1.123 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of Initialization: time 3.91e-07/0.4771, allocations: 5.125 kB / 1.123 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of Tearing: time 4.809e-06/0.4771, allocations: 1.125 kB / 1.123 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of Categorize: time 1.651e-05/0.4771, allocations: 10.7 kB / 1.123 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of Solve: time 0.003404/0.4805, allocations: 6.394 MB / 1.129 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of Jacobian: time 3.727e-06/0.4806, allocations: 3.938 kB / 1.129 GB, free: 4.934 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: ............... 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 6.524e-05/0.4806, allocations: 66.53 kB / 1.129 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of SimCode: time 0.003514/0.4841, allocations: 3.267 MB / 1.132 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of Templates: time 0.01238/0.4965, allocations: 7.468 MB / 1.139 GB, free: 2.445 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile make -j1 -f Buildings_latest_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_latest_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_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.o Buildings_latest_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_latest_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_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.o Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:847:31: error: use of undeclared identifier '_OMC_LIT19' tmpMeta2 = stringAppend(_OMC_LIT19,_modelName); ^ Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:848:40: error: use of undeclared identifier '_OMC_LIT20' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT20); ^ Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:850:40: error: use of undeclared identifier '_OMC_LIT21' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT21); ^ Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:867:35: error: use of undeclared identifier '_OMC_LIT22' tmpMeta7 = stringAppend(_OMC_LIT22,_mediumName); ^ Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:868:44: error: use of undeclared identifier '_OMC_LIT23' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT23); ^ Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:870:45: error: use of undeclared identifier '_OMC_LIT24' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT24); ^ Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:873:46: error: use of undeclared identifier '_OMC_LIT25' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT25); ^ Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:876:46: error: use of undeclared identifier '_OMC_LIT26' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT26); ^ Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:888:14: error: use of undeclared identifier '_OMC_LIT2' _X_str = _OMC_LIT2; ^ Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:896:41: error: use of undeclared identifier '_OMC_LIT27' tmpMeta21 = stringAppend(_X_str,_OMC_LIT27); ^ Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:899:44: error: use of undeclared identifier '_OMC_LIT28' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT28); ^ Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:902:44: error: use of undeclared identifier '_OMC_LIT29' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT29); ^ Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:904:44: error: use of undeclared identifier '_OMC_LIT30' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT30); ^ Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:909:30: error: use of undeclared identifier '_OMC_LIT31' tmpMeta33 = stringAppend(_OMC_LIT31,_mediumName); ^ Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:910:40: error: use of undeclared identifier '_OMC_LIT23' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT23); ^ Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:912:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT30); ^ Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:913:40: error: use of undeclared identifier '_OMC_LIT32' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT32); ^ Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.c:916:40: error: use of undeclared identifier '_OMC_LIT33' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT33); ^ Buildings_latest_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_latest_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_functions.o] Error 1