Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001181/0.001181, allocations: 113.1 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.001233/0.001233, allocations: 188.2 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.399/1.399, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002381/0.00238, allocations: 294 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.9604/0.9604, allocations: 169.2 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.719e-05/2.721e-05, allocations: 4.391 kB / 0.682 GB, free: 7.082 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.5832/0.5832, allocations: 154.4 MB / 0.8328 GB, free: 4 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.04696/0.6302, allocations: 30.39 MB / 0.8625 GB, free: 5.539 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007967/0.6383, allocations: 139.2 kB / 0.8626 GB, free: 5.402 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003897/0.6422, allocations: 1.051 MB / 0.8636 GB, free: 4.344 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01075/0.653, allocations: 3.338 MB / 0.8669 GB, free: 0.9961 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.007306/0.6604, allocations: 2.513 MB / 0.8693 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.009245/0.6696, allocations: 5.576 MB / 0.8748 GB, free: 8.934 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004622/0.6743, allocations: 2.316 MB / 0.877 GB, free: 6.566 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007378/0.6817, allocations: 2.693 MB / 0.8797 GB, free: 3.863 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004187/0.6859, allocations: 1.79 MB / 0.8814 GB, free: 2.066 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001193/0.6871, allocations: 208 kB / 0.8816 GB, free: 1.863 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004152/0.6913, allocations: 1.084 MB / 0.8827 GB, free: 0.7773 MB / 0.6387 GB Notification: Performance of combineBinaries: time 0.00606/0.6974, allocations: 4.09 MB / 0.8867 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of replaceArrayConstructors: time 0.002964/0.7004, allocations: 2.539 MB / 0.8891 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001719/0.7021, allocations: 446.6 kB / 0.8896 GB, free: 9.633 MB / 0.6544 GB Notification: Performance of FrontEnd: time 0.001103/0.7033, allocations: 87.75 kB / 0.8897 GB, free: 9.547 MB / 0.6544 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.01366/0.7169, allocations: 10.14 MB / 0.8996 GB, free: 15.09 MB / 0.67 GB Notification: Performance of FunctionAlias: time 0.001768/0.7187, allocations: 1.748 MB / 0.9013 GB, free: 13.31 MB / 0.67 GB Notification: Performance of Early Inline: time 0.004006/0.7227, allocations: 4.507 MB / 0.9057 GB, free: 8.742 MB / 0.67 GB Notification: Performance of simplify1: time 0.0003975/0.7231, allocations: 383.5 kB / 0.906 GB, free: 8.367 MB / 0.67 GB Notification: Performance of Alias: time 0.009077/0.7322, allocations: 7.692 MB / 0.9135 GB, free: 36 kB / 0.67 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.0005416/0.7328, allocations: 287.7 kB / 0.9138 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of Detect States: time 0.0006614/0.7335, allocations: 0.7509 MB / 0.9146 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of Events: time 0.0007391/0.7342, allocations: 0.6364 MB / 0.9152 GB, free: 14.33 MB / 0.6856 GB Notification: Performance of Partitioning: time 0.001044/0.7353, allocations: 1.01 MB / 0.9162 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of Causalize: time 0.004729/0.74, allocations: 4.295 MB / 0.9204 GB, free: 8.746 MB / 0.6856 GB Notification: Performance of After Index Reduction Inline: time 0.002617/0.7426, allocations: 2.494 MB / 0.9228 GB, free: 6.219 MB / 0.6856 GB Notification: Performance of Inline: time 0.007312/0.75, allocations: 6.252 MB / 0.9289 GB, free: 15.84 MB / 0.7012 GB Notification: Performance of Partitioning: time 0.0004861/0.7505, allocations: 326.7 kB / 0.9292 GB, free: 15.49 MB / 0.7012 GB Notification: Performance of Cleanup: time 0.000695/0.7512, allocations: 0.6061 MB / 0.9298 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of Causalize: time 0.02438/0.7756, allocations: 19.4 MB / 0.9487 GB, free: 11.26 MB / 0.7169 GB Notification: Performance of Tearing: time 4.566e-05/0.7756, allocations: 4 kB / 0.9487 GB, free: 11.26 MB / 0.7169 GB Notification: Performance of Initialization: time 8.72e-07/0.7756, allocations: 0 / 0.9487 GB, free: 11.26 MB / 0.7169 GB Notification: Performance of Tearing: time 2.896e-05/0.7757, allocations: 7.938 kB / 0.9488 GB, free: 11.25 MB / 0.7169 GB Notification: Performance of Categorize: time 6.66e-05/0.7758, allocations: 7.938 kB / 0.9488 GB, free: 11.24 MB / 0.7169 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.002985/0.7787, allocations: 1.21 MB / 0.9499 GB, free: 10.01 MB / 0.7169 GB Notification: Performance of Jacobian: time 5.11e-06/0.7788, allocations: 0 / 0.9499 GB, free: 10.01 MB / 0.7169 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.0001703/0.7789, allocations: 115.3 kB / 0.9501 GB, free: 9.906 MB / 0.7169 GB Notification: Performance of SimCode: time 0.009334/0.7883, allocations: 7.955 MB / 0.9578 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of Templates: time 0.5794/1.368, allocations: 18.21 MB / 0.9756 GB, free: 94.68 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile make -j1 -f BuildingSystems_BuildingSystems.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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.o BuildingSystems_BuildingSystems.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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_functions.o BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_functions.c BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_functions.c:2048:31: error: use of undeclared identifier '_OMC_LIT19' tmpMeta2 = stringAppend(_OMC_LIT19,_modelName); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_functions.c:2049:40: error: use of undeclared identifier '_OMC_LIT20' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT20); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_functions.c:2051:40: error: use of undeclared identifier '_OMC_LIT21' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT21); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_functions.c:2068:35: error: use of undeclared identifier '_OMC_LIT22' tmpMeta7 = stringAppend(_OMC_LIT22,_mediumName); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_functions.c:2069:44: error: use of undeclared identifier '_OMC_LIT23' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT23); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_functions.c:2071:45: error: use of undeclared identifier '_OMC_LIT24' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT24); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_functions.c:2074:46: error: use of undeclared identifier '_OMC_LIT25' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT25); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_functions.c:2077:46: error: use of undeclared identifier '_OMC_LIT26' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT26); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_functions.c:2089:14: error: use of undeclared identifier '_OMC_LIT13' _X_str = _OMC_LIT13; ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_functions.c:2097:41: error: use of undeclared identifier '_OMC_LIT27' tmpMeta21 = stringAppend(_X_str,_OMC_LIT27); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_functions.c:2100:44: error: use of undeclared identifier '_OMC_LIT28' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT28); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_functions.c:2103:44: error: use of undeclared identifier '_OMC_LIT29' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT29); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_functions.c:2105:44: error: use of undeclared identifier '_OMC_LIT30' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT30); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_functions.c:2110:30: error: use of undeclared identifier '_OMC_LIT31' tmpMeta33 = stringAppend(_OMC_LIT31,_mediumName); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_functions.c:2111:40: error: use of undeclared identifier '_OMC_LIT23' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT23); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_functions.c:2113:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT30); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_functions.c:2114:40: error: use of undeclared identifier '_OMC_LIT32' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT32); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_functions.c:2117:40: error: use of undeclared identifier '_OMC_LIT33' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT33); ^ BuildingSystems_BuildingSystems.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: *** [: BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_functions.o] Error 1