Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 115.6 kB / 17.1 MB, free: 5.98 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.001414/0.001414, allocations: 195 kB / 18.03 MB, free: 5.062 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.534/1.534, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7514/0.7514, allocations: 115.3 MB / 407.2 MB, free: 6.102 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.49e-05/2.492e-05, allocations: 2.281 kB / 0.5583 GB, free: 32.12 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor): time 0.02321/0.02324, allocations: 23.26 MB / 0.581 GB, free: 15.53 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01203/0.03534, allocations: 6.495 MB / 0.5873 GB, free: 10.97 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002467/0.03786, allocations: 26.62 kB / 0.5874 GB, free: 10.96 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00161/0.03949, allocations: 404 kB / 0.5878 GB, free: 10.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005881/0.04538, allocations: 1.142 MB / 0.5889 GB, free: 10.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004329/0.04973, allocations: 1.088 MB / 0.5899 GB, free: 9.574 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004664/0.0544, allocations: 1.921 MB / 0.5918 GB, free: 8.691 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001545/0.05596, allocations: 0.7522 MB / 0.5925 GB, free: 8.352 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002164/0.05814, allocations: 0.7907 MB / 0.5933 GB, free: 8.008 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001428/0.05958, allocations: 0.6441 MB / 0.5939 GB, free: 7.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001541/0.05975, allocations: 68.56 kB / 0.594 GB, free: 7.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002947/0.06271, allocations: 0.9999 MB / 0.595 GB, free: 7.43 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.00154/0.06426, allocations: 1.599 MB / 0.5966 GB, free: 6.391 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.0008969/0.06517, allocations: 1.01 MB / 0.5975 GB, free: 5.66 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004125/0.06559, allocations: 167 kB / 0.5977 GB, free: 5.574 MB / 446.1 MB Notification: Performance of FrontEnd: time 0.000359/0.06596, allocations: 40.78 kB / 0.5977 GB, free: 5.559 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 (124) * Number of variables: 139 (121) Notification: Performance of Bindings: time 0.003812/0.06978, allocations: 4.065 MB / 0.6017 GB, free: 2.547 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.0002441/0.07003, allocations: 193.7 kB / 0.6019 GB, free: 2.395 MB / 446.1 MB Notification: Performance of Early Inline: time 0.002873/0.07291, allocations: 2.965 MB / 0.6048 GB, free: 208 kB / 446.1 MB Notification: Performance of simplify1: time 0.000312/0.07324, allocations: 259.7 kB / 0.605 GB, free: 40 kB / 446.1 MB Notification: Performance of Alias: time 0.004394/0.07764, allocations: 3.053 MB / 0.608 GB, free: 13.09 MB / 462.1 MB Notification: Performance of simplify2: time 0.0003108/0.07797, allocations: 227.7 kB / 0.6082 GB, free: 12.87 MB / 462.1 MB Notification: Performance of Events: time 0.0005369/0.07851, allocations: 442.8 kB / 0.6087 GB, free: 12.43 MB / 462.1 MB Notification: Performance of Detect States: time 0.000621/0.07915, allocations: 0.6097 MB / 0.6093 GB, free: 11.8 MB / 462.1 MB Notification: Performance of Partitioning: time 0.0007765/0.07993, allocations: 0.6945 MB / 0.6099 GB, free: 11 MB / 462.1 MB Notification: Performance of Causalize: time 0.002758/0.0827, allocations: 2.3 MB / 0.6122 GB, free: 8.605 MB / 462.1 MB Notification: Performance of After Index Reduction Inline: time 0.002168/0.08488, allocations: 2.091 MB / 0.6142 GB, free: 6.488 MB / 462.1 MB Notification: Performance of Inline: time 0.004959/0.08985, allocations: 4.284 MB / 0.6184 GB, free: 2.137 MB / 462.1 MB Notification: Performance of Partitioning: time 0.0001996/0.09008, allocations: 143.7 kB / 0.6185 GB, free: 1.98 MB / 462.1 MB Notification: Performance of Cleanup: time 0.0004701/0.09056, allocations: 463.2 kB / 0.619 GB, free: 1.52 MB / 462.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) ySet.nextEventScaled = $START.ySet.nextEventScaled ($RES_SRT_183) slice: {}; Notification: Performance of Causalize: time 0.01846/0.109, allocations: 14.23 MB / 0.6329 GB, free: 3.055 MB / 478.1 MB Notification: Performance of Tearing: time 4.245e-05/0.1091, allocations: 0 / 0.6329 GB, free: 3.055 MB / 478.1 MB Notification: Performance of Initialization: time 1.983e-06/0.1091, allocations: 0 / 0.6329 GB, free: 3.055 MB / 478.1 MB Notification: Performance of Tearing: time 2.315e-05/0.1092, allocations: 3.938 kB / 0.6329 GB, free: 3.051 MB / 478.1 MB Notification: Performance of Categorize: time 5.059e-05/0.1092, allocations: 7.938 kB / 0.6329 GB, free: 3.043 MB / 478.1 MB Notification: Performance of Solve: time 0.004772/0.114, allocations: 5.202 MB / 0.638 GB, free: 13.35 MB / 494.1 MB Notification: Performance of Jacobian: time 0.001266/0.1153, allocations: 0.9382 MB / 0.6389 GB, free: 12.37 MB / 494.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 4 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 8 * 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: ............................. 1 (1) {valQui.y} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 23 (23) {ySet.a, ySet.b, ySet.last, ySet.nextEvent, ySet.nextEventScaled, mot.uppHys.y, mot.lowHys.y, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_2, $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: ........... 70 (scalar:68, array:2, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (generic: 4, entwined:0) * Number of algebraic-loop strong components: ... 3 (linear: 0, nonlinear:3) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 155 (scalar:153, array:2, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (generic: 4, entwined:0) * Number of algebraic-loop strong components: ... 3 (linear: 0, nonlinear:3) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 155 (scalar:153, array:2, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (generic: 4, entwined:0) * Number of algebraic-loop strong components: ... 3 (linear: 0, nonlinear:3) Notification: Performance of backend: time 0.0001532/0.1155, allocations: 72.34 kB / 0.6389 GB, free: 12.3 MB / 494.1 MB Notification: Performance of SimCode: time 0.00676/0.1222, allocations: 4.589 MB / 0.6434 GB, free: 7.641 MB / 494.1 MB Notification: Performance of Templates: time 0.02649/0.1487, allocations: 13.46 MB / 0.6566 GB, free: 10.17 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.makefile make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.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=IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvesMotor -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=9 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.o IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.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=IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvesMotor -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=9 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.o IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2094:31: error: use of undeclared identifier '_OMC_LIT19' tmpMeta2 = stringAppend(_OMC_LIT19,_modelName); ^ IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2095:40: error: use of undeclared identifier '_OMC_LIT20' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT20); ^ IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2097:40: error: use of undeclared identifier '_OMC_LIT21' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT21); ^ IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2114:35: error: use of undeclared identifier '_OMC_LIT22' tmpMeta7 = stringAppend(_OMC_LIT22,_mediumName); ^ IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2115:44: error: use of undeclared identifier '_OMC_LIT23' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT23); ^ IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2117:45: error: use of undeclared identifier '_OMC_LIT24' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT24); ^ IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2120:46: error: use of undeclared identifier '_OMC_LIT25' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT25); ^ IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2123:46: error: use of undeclared identifier '_OMC_LIT26' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT26); ^ IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2135:14: error: use of undeclared identifier '_OMC_LIT2' _X_str = _OMC_LIT2; ^ IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2143:41: error: use of undeclared identifier '_OMC_LIT27' tmpMeta21 = stringAppend(_X_str,_OMC_LIT27); ^ IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2146:44: error: use of undeclared identifier '_OMC_LIT28' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT28); ^ IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2149:44: error: use of undeclared identifier '_OMC_LIT29' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT29); ^ IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2151:44: error: use of undeclared identifier '_OMC_LIT30' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT30); ^ IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2156:30: error: use of undeclared identifier '_OMC_LIT31' tmpMeta33 = stringAppend(_OMC_LIT31,_mediumName); ^ IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2157:40: error: use of undeclared identifier '_OMC_LIT23' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT23); ^ IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2159:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT30); ^ IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2160:40: error: use of undeclared identifier '_OMC_LIT32' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT32); ^ IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2163:40: error: use of undeclared identifier '_OMC_LIT33' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT33); ^ IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2267: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: *** [: IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.o] Error 1