Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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/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.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valLin.phi|valQui.phi|valEqu.phi|valInd.phi",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valLin.phi|valQui.phi|valEqu.phi|valInd.phi",fileNamePrefix="Buildings_latest_Buildings.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.001149/0.001149, allocations: 111.1 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.001053/0.001053, allocations: 185.9 kB / 17.36 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.165/1.165, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.228/2.228, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.622e-05/1.624e-05, allocations: 2.281 kB / 1.055 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor): time 0.02104/0.02106, allocations: 23.28 MB / 1.077 GB, free: 388 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.4106/0.4317, allocations: 6.49 MB / 1.084 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005294/0.4323, allocations: 27.03 kB / 1.084 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0007779/0.4331, allocations: 392.7 kB / 1.084 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002014/0.4351, allocations: 1.114 MB / 1.085 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002159/0.4373, allocations: 1.077 MB / 1.086 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00189/0.4392, allocations: 1.917 MB / 1.088 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008732/0.44, allocations: 0.7517 MB / 1.089 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001024/0.4411, allocations: 0.7887 MB / 1.09 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007091/0.4418, allocations: 0.6481 MB / 1.09 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001171/0.4419, allocations: 69.16 kB / 1.09 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001497/0.4434, allocations: 0.9952 MB / 1.091 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0008843/0.4443, allocations: 1.597 MB / 1.093 GB, free: 9.617 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0004965/0.4448, allocations: 1.014 MB / 1.094 GB, free: 8.926 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001777/0.445, allocations: 158.9 kB / 1.094 GB, free: 8.848 MB / 0.8419 GB Notification: Performance of FrontEnd: time 0.000124/0.4451, allocations: 42.23 kB / 1.094 GB, free: 8.832 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: 140 (124) * Number of variables: 139 (121) Notification: Performance of Bindings: time 0.002854/0.448, allocations: 4.068 MB / 1.098 GB, free: 6.066 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.0001877/0.4482, allocations: 190.6 kB / 1.098 GB, free: 5.961 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.00239/0.4506, allocations: 2.969 MB / 1.101 GB, free: 4.363 MB / 0.8419 GB Notification: Performance of simplify1: time 0.0002304/0.4508, allocations: 255.9 kB / 1.101 GB, free: 4.285 MB / 0.8419 GB Notification: Performance of Alias: time 0.002791/0.4536, allocations: 3.06 MB / 1.104 GB, free: 2.414 MB / 0.8419 GB Notification: Performance of simplify2: time 0.0002172/0.4538, allocations: 233 kB / 1.105 GB, free: 2.348 MB / 0.8419 GB Notification: Performance of Events: time 0.0003994/0.4543, allocations: 437.9 kB / 1.105 GB, free: 2.105 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0005136/0.4548, allocations: 0.6121 MB / 1.106 GB, free: 1.75 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0005789/0.4554, allocations: 0.6823 MB / 1.106 GB, free: 1.285 MB / 0.8419 GB Notification: Performance of Causalize: time 0.002354/0.4577, allocations: 2.303 MB / 1.108 GB, free: 340 kB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.001844/0.4596, allocations: 2.107 MB / 1.111 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of Inline: time 0.003968/0.4636, allocations: 4.284 MB / 1.115 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of Partitioning: time 0.0001594/0.4637, allocations: 144.7 kB / 1.115 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of Cleanup: time 0.0004096/0.4641, allocations: 456.5 kB / 1.115 GB, free: 12.45 MB / 0.8575 GB 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.01803/0.4822, allocations: 14.22 MB / 1.129 GB, free: 7.242 MB / 0.8575 GB Notification: Performance of Tearing: time 2.714e-05/0.4822, allocations: 1.344 kB / 1.129 GB, free: 7.242 MB / 0.8575 GB Notification: Performance of Initialization: time 6.92e-07/0.4822, allocations: 0 / 1.129 GB, free: 7.242 MB / 0.8575 GB Notification: Performance of Tearing: time 1.697e-05/0.4823, allocations: 6.938 kB / 1.129 GB, free: 7.238 MB / 0.8575 GB Notification: Performance of Categorize: time 3.084e-05/0.4823, allocations: 6.594 kB / 1.129 GB, free: 7.234 MB / 0.8575 GB Notification: Performance of Solve: time 0.003476/0.4858, allocations: 5.194 MB / 1.134 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of Jacobian: time 0.0009202/0.4867, allocations: 0.9249 MB / 1.135 GB, free: 2.094 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: ............... 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 8.668e-05/0.4868, allocations: 77.78 kB / 1.135 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of SimCode: time 0.005682/0.4925, allocations: 4.644 MB / 1.14 GB, free: 0 / 0.8575 GB Notification: Performance of Templates: time 0.01869/0.5112, allocations: 13.47 MB / 1.153 GB, free: 11.21 MB / 0.8731 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.makefile make -j1 -f Buildings_latest_Buildings.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=Buildings_latest_Buildings_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 Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.o Buildings_latest_Buildings.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=Buildings_latest_Buildings_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 Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.o Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2094:31: error: use of undeclared identifier '_OMC_LIT19' tmpMeta2 = stringAppend(_OMC_LIT19,_modelName); ^ Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2095:40: error: use of undeclared identifier '_OMC_LIT20' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT20); ^ Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2097:40: error: use of undeclared identifier '_OMC_LIT21' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT21); ^ Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2114:35: error: use of undeclared identifier '_OMC_LIT22' tmpMeta7 = stringAppend(_OMC_LIT22,_mediumName); ^ Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2115:44: error: use of undeclared identifier '_OMC_LIT23' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT23); ^ Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2117:45: error: use of undeclared identifier '_OMC_LIT24' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT24); ^ Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2120:46: error: use of undeclared identifier '_OMC_LIT25' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT25); ^ Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2123:46: error: use of undeclared identifier '_OMC_LIT26' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT26); ^ Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2135:14: error: use of undeclared identifier '_OMC_LIT2' _X_str = _OMC_LIT2; ^ Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2143:41: error: use of undeclared identifier '_OMC_LIT27' tmpMeta21 = stringAppend(_X_str,_OMC_LIT27); ^ Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2146:44: error: use of undeclared identifier '_OMC_LIT28' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT28); ^ Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2149:44: error: use of undeclared identifier '_OMC_LIT29' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT29); ^ Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2151:44: error: use of undeclared identifier '_OMC_LIT30' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT30); ^ Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2156:30: error: use of undeclared identifier '_OMC_LIT31' tmpMeta33 = stringAppend(_OMC_LIT31,_mediumName); ^ Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2157:40: error: use of undeclared identifier '_OMC_LIT23' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT23); ^ Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2159:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT30); ^ Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2160:40: error: use of undeclared identifier '_OMC_LIT32' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT32); ^ Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2163:40: error: use of undeclared identifier '_OMC_LIT33' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT33); ^ Buildings_latest_Buildings.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: *** [: Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.o] Error 1