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.001179/0.001179, allocations: 110.6 kB / 16.42 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.001129/0.001129, allocations: 186 kB / 17.36 MB, free: 5.711 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.182/1.182, 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/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.141/2.141, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.744e-05/1.746e-05, allocations: 8.469 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.5374/0.5374, allocations: 154.4 MB / 1.17 GB, free: 9.66 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.03751/0.575, allocations: 30.4 MB / 1.2 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005675/0.5807, allocations: 140.5 kB / 1.2 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.004064/0.5848, allocations: 1.055 MB / 1.201 GB, free: 264 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01129/0.5961, allocations: 3.336 MB / 1.204 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005654/0.6018, allocations: 2.508 MB / 1.206 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.006301/0.6081, allocations: 5.57 MB / 1.212 GB, free: 8.484 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002524/0.6106, allocations: 2.319 MB / 1.214 GB, free: 6.375 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00441/0.6151, allocations: 2.696 MB / 1.217 GB, free: 3.668 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002023/0.6171, allocations: 1.786 MB / 1.219 GB, free: 1.875 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.00027/0.6174, allocations: 208 kB / 1.219 GB, free: 1.672 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001964/0.6193, allocations: 1.084 MB / 1.22 GB, free: 0.582 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.002711/0.6221, allocations: 4.097 MB / 1.224 GB, free: 12.44 MB / 0.92 GB Notification: Performance of replaceArrayConstructors: time 0.001379/0.6235, allocations: 2.533 MB / 1.226 GB, free: 9.871 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005143/0.624, allocations: 438.6 kB / 1.227 GB, free: 9.441 MB / 0.92 GB Notification: Performance of FrontEnd: time 0.0004207/0.6244, allocations: 87.67 kB / 1.227 GB, free: 9.355 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.007628/0.632, allocations: 10.13 MB / 1.237 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of FunctionAlias: time 0.001452/0.6335, allocations: 1.747 MB / 1.238 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of Early Inline: time 0.003667/0.6372, allocations: 4.519 MB / 1.243 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of simplify1: time 0.0003262/0.6375, allocations: 383.5 kB / 1.243 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of Alias: time 0.007699/0.6452, allocations: 7.676 MB / 1.251 GB, free: 15.86 MB / 0.9512 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:2025:9-2026:55:writable] Error: Internal error NFCeval.evalBuiltinCall: unimplemented case for $OMC$PositiveMax Notification: Performance of simplify2: time 0.0002501/0.6455, allocations: 275.6 kB / 1.251 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of Detect States: time 0.0005795/0.6461, allocations: 0.7645 MB / 1.252 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of Events: time 0.0005908/0.6467, allocations: 0.6403 MB / 1.252 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of Partitioning: time 0.000911/0.6476, allocations: 1.018 MB / 1.253 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of Causalize: time 0.004351/0.6519, allocations: 4.283 MB / 1.257 GB, free: 8.566 MB / 0.9512 GB Notification: Performance of After Index Reduction Inline: time 0.002213/0.6542, allocations: 2.49 MB / 1.26 GB, free: 6.039 MB / 0.9512 GB Notification: Performance of Inline: time 0.005822/0.66, allocations: 6.261 MB / 1.266 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of Partitioning: time 0.0003329/0.6603, allocations: 322.7 kB / 1.266 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of Cleanup: time 0.0005023/0.6608, allocations: 0.6062 MB / 1.267 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of Causalize: time 0.02008/0.6809, allocations: 19.4 MB / 1.286 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of Tearing: time 3.827e-05/0.681, allocations: 3.938 kB / 1.286 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of Initialization: time 7.71e-07/0.681, allocations: 0 / 1.286 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of Tearing: time 1.684e-05/0.681, allocations: 7.938 kB / 1.286 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of Categorize: time 4.567e-05/0.6811, allocations: 7.938 kB / 1.286 GB, free: 11.06 MB / 0.9825 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:2025:9-2026:55:writable] Error: Internal error NFCeval.evalBuiltinCall: unimplemented case for $OMC$PositiveMax Notification: Performance of Solve: time 0.002066/0.6831, allocations: 1.198 MB / 1.287 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of Jacobian: time 3.917e-06/0.6831, allocations: 0 / 1.287 GB, free: 9.844 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.0001/0.6833, allocations: 118.6 kB / 1.287 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of SimCode: time 0.00774/0.691, allocations: 7.972 MB / 1.295 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of Templates: time 0.02579/0.7168, allocations: 18.22 MB / 1.313 GB, free: 15.46 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