Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flowOpPoi.m_flow|senM_flowKv.m_flow|senM_flowCv.m_flow|senM_flowAv.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flowOpPoi.m_flow|senM_flowKv.m_flow|senM_flowCv.m_flow|senM_flowAv.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 112.8 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.001082/0.001082, 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.166/1.166, 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 10.1.1-maint.10.0.x/package.mo): time 2.119/2.119, allocations: 437 MB / 0.7111 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.268e-05/1.269e-05, allocations: 2.5 kB / 1.019 GB, free: 9.469 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.5445/0.5445, allocations: 154.4 MB / 1.17 GB, free: 9.664 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.04084/0.5854, allocations: 30.39 MB / 1.2 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005718/0.5912, allocations: 137 kB / 1.2 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.003078/0.5942, allocations: 1.06 MB / 1.201 GB, free: 296 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.008275/0.6026, allocations: 3.331 MB / 1.204 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005486/0.6081, allocations: 2.517 MB / 1.206 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.006766/0.6149, allocations: 5.568 MB / 1.212 GB, free: 8.508 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003211/0.6181, allocations: 2.323 MB / 1.214 GB, free: 6.449 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005163/0.6233, allocations: 2.693 MB / 1.217 GB, free: 3.746 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002821/0.6261, allocations: 1.774 MB / 1.219 GB, free: 1.965 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0005646/0.6267, allocations: 216 kB / 1.219 GB, free: 1.754 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002462/0.6291, allocations: 1.088 MB / 1.22 GB, free: 0.6602 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.003645/0.6328, allocations: 4.093 MB / 1.224 GB, free: 12.52 MB / 0.92 GB Notification: Performance of replaceArrayConstructors: time 0.001902/0.6347, allocations: 2.532 MB / 1.226 GB, free: 9.957 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005733/0.6353, allocations: 446.6 kB / 1.227 GB, free: 9.52 MB / 0.92 GB Notification: Performance of FrontEnd: time 0.0003968/0.6357, allocations: 79.73 kB / 1.227 GB, free: 9.441 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 (279) * Number of variables: 297 (270) Notification: Performance of Bindings: time 0.008/0.6437, allocations: 10.14 MB / 1.237 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of FunctionAlias: time 0.00153/0.6452, allocations: 1.744 MB / 1.238 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of Early Inline: time 0.003757/0.649, allocations: 4.515 MB / 1.243 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of simplify1: time 0.0003331/0.6494, allocations: 379.5 kB / 1.243 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of Alias: time 0.007766/0.6571, allocations: 7.696 MB / 1.251 GB, free: 15.93 MB / 0.9512 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:2011:9-2012:55:writable] Error: Internal error NFCeval.evalBuiltinCall: unimplemented case for $OMC$PositiveMax Notification: Performance of simplify2: time 0.0002708/0.6574, allocations: 275.7 kB / 1.251 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of Detect States: time 0.0005761/0.658, allocations: 0.7567 MB / 1.252 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of Events: time 0.0005933/0.6586, allocations: 0.6365 MB / 1.252 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of Partitioning: time 0.0009361/0.6595, allocations: 1.018 MB / 1.253 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of Causalize: time 0.004435/0.664, allocations: 4.275 MB / 1.257 GB, free: 8.652 MB / 0.9512 GB Notification: Performance of After Index Reduction Inline: time 0.002191/0.6662, allocations: 2.506 MB / 1.26 GB, free: 6.109 MB / 0.9512 GB Notification: Performance of Inline: time 0.005903/0.6721, allocations: 6.254 MB / 1.266 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of Partitioning: time 0.0003392/0.6724, allocations: 322.7 kB / 1.266 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of Cleanup: time 0.000508/0.673, allocations: 0.6101 MB / 1.267 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of Causalize: time 0.02103/0.694, allocations: 19.39 MB / 1.286 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of Tearing: time 4.045e-05/0.6941, allocations: 7.938 kB / 1.286 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of Initialization: time 1.753e-06/0.6941, allocations: 0 / 1.286 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of Tearing: time 1.756e-05/0.6941, allocations: 11.88 kB / 1.286 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of Categorize: time 3.541e-05/0.6941, allocations: 7.938 kB / 1.286 GB, free: 11.14 MB / 0.9825 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:2011:9-2012:55:writable] Error: Internal error NFCeval.evalBuiltinCall: unimplemented case for $OMC$PositiveMax Notification: Performance of Solve: time 0.002067/0.6962, allocations: 1.206 MB / 1.287 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of Jacobian: time 4.068e-06/0.6962, allocations: 0 / 1.287 GB, free: 9.914 MB / 0.9825 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 3 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 16 * 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: ................. 17 (17) {$SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $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: ........... 137 (scalar:134, array:3, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 6 (generic: 6, 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: ........... 350 (scalar:347, array:3, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 6 (generic: 6, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 350 (scalar:347, array:3, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 6 (generic: 6, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001049/0.6963, allocations: 116.5 kB / 1.287 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of SimCode: time 0.007871/0.7042, allocations: 7.969 MB / 1.295 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of Templates: time 0.02554/0.7297, allocations: 18.2 MB / 1.313 GB, free: 15.56 MB / 1.014 GB make -j1 -f Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile make -j1 -f Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization -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.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.o Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization -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.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_functions.o Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_functions.c Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_functions.c:2048:31: error: use of undeclared identifier '_OMC_LIT19' tmpMeta2 = stringAppend(_OMC_LIT19,_modelName); ^ Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_functions.c:2049:40: error: use of undeclared identifier '_OMC_LIT20' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT20); ^ Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_functions.c:2051:40: error: use of undeclared identifier '_OMC_LIT21' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT21); ^ Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_functions.c:2068:35: error: use of undeclared identifier '_OMC_LIT22' tmpMeta7 = stringAppend(_OMC_LIT22,_mediumName); ^ Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_functions.c:2069:44: error: use of undeclared identifier '_OMC_LIT23' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT23); ^ Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_functions.c:2071:45: error: use of undeclared identifier '_OMC_LIT24' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT24); ^ Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_functions.c:2074:46: error: use of undeclared identifier '_OMC_LIT25' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT25); ^ Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_functions.c:2077:46: error: use of undeclared identifier '_OMC_LIT26' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT26); ^ Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_functions.c:2089:14: error: use of undeclared identifier '_OMC_LIT13' _X_str = _OMC_LIT13; ^ Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_functions.c:2097:41: error: use of undeclared identifier '_OMC_LIT27' tmpMeta21 = stringAppend(_X_str,_OMC_LIT27); ^ Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_functions.c:2100:44: error: use of undeclared identifier '_OMC_LIT28' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT28); ^ Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_functions.c:2103:44: error: use of undeclared identifier '_OMC_LIT29' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT29); ^ Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_functions.c:2105:44: error: use of undeclared identifier '_OMC_LIT30' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT30); ^ Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_functions.c:2110:30: error: use of undeclared identifier '_OMC_LIT31' tmpMeta33 = stringAppend(_OMC_LIT31,_mediumName); ^ Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_functions.c:2111:40: error: use of undeclared identifier '_OMC_LIT23' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT23); ^ Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_functions.c:2113:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT30); ^ Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_functions.c:2114:40: error: use of undeclared identifier '_OMC_LIT32' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT32); ^ Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_functions.c:2117:40: error: use of undeclared identifier '_OMC_LIT33' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT33); ^ Buildings_10_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_functions.c:2136: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.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_functions.o] Error 1