Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valLin.phi|valQui.phi|valEqu.phi|valInd.phi",fileNamePrefix="Buildings_9_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_9_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.001171/0.001171, allocations: 107.7 kB / 16.42 MB, free: 6.48 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.001166/0.001166, allocations: 187.2 kB / 17.35 MB, free: 5.707 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.135/1.135, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.907/1.907, allocations: 390.2 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.366e-05/1.367e-05, allocations: 5.375 kB / 0.9515 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor): time 0.01887/0.01889, allocations: 23.28 MB / 0.9742 GB, free: 352 kB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.007695/0.02662, allocations: 6.489 MB / 0.9805 GB, free: 9.832 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006785/0.02733, allocations: 27.81 kB / 0.9806 GB, free: 9.805 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0008348/0.02817, allocations: 409.3 kB / 0.9809 GB, free: 9.402 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.002111/0.03029, allocations: 1.147 MB / 0.9821 GB, free: 8.25 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.002131/0.03249, allocations: 1.082 MB / 0.9831 GB, free: 7.18 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.001817/0.03432, allocations: 1.916 MB / 0.985 GB, free: 5.258 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008059/0.03513, allocations: 0.7574 MB / 0.9857 GB, free: 4.488 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009801/0.03612, allocations: 0.7978 MB / 0.9865 GB, free: 3.688 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007698/0.0369, allocations: 0.6419 MB / 0.9871 GB, free: 3.043 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.305e-05/0.03701, allocations: 68 kB / 0.9872 GB, free: 2.977 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001229/0.03824, allocations: 0.9983 MB / 0.9882 GB, free: 1.977 MB / 0.7637 GB Notification: Performance of combineBinaries: time 0.00106/0.03931, allocations: 1.599 MB / 0.9897 GB, free: 368 kB / 0.7637 GB Notification: Performance of replaceArrayConstructors: time 0.0005112/0.03983, allocations: 1.001 MB / 0.9907 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001504/0.03999, allocations: 163.4 kB / 0.9909 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of FrontEnd: time 0.0001217/0.04011, allocations: 39.81 kB / 0.9909 GB, free: 15.14 MB / 0.7794 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.003221/0.04334, allocations: 4.07 MB / 0.9949 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of FunctionAlias: time 0.0001784/0.04353, allocations: 188.8 kB / 0.9951 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of Early Inline: time 0.002449/0.04598, allocations: 2.971 MB / 0.998 GB, free: 7.73 MB / 0.7794 GB Notification: Performance of simplify1: time 0.0002078/0.0462, allocations: 255.7 kB / 0.9982 GB, free: 7.48 MB / 0.7794 GB Notification: Performance of Alias: time 0.002948/0.04916, allocations: 3.065 MB / 1.001 GB, free: 4.117 MB / 0.7794 GB Notification: Performance of simplify2: time 0.0001971/0.04936, allocations: 231.7 kB / 1.001 GB, free: 3.891 MB / 0.7794 GB Notification: Performance of Detect States: time 0.0006849/0.05006, allocations: 0.6385 MB / 1.002 GB, free: 3.23 MB / 0.7794 GB Notification: Performance of Events: time 0.0003518/0.05042, allocations: 347.2 kB / 1.002 GB, free: 2.891 MB / 0.7794 GB Notification: Performance of Partitioning: time 0.0005792/0.051, allocations: 0.6908 MB / 1.003 GB, free: 2.102 MB / 0.7794 GB Notification: Performance of Causalize: time 0.002386/0.0534, allocations: 2.307 MB / 1.005 GB, free: 15.69 MB / 0.795 GB Notification: Performance of After Index Reduction Inline: time 0.001673/0.05508, allocations: 2.087 MB / 1.007 GB, free: 13.57 MB / 0.795 GB Notification: Performance of Inline: time 0.003603/0.05869, allocations: 4.285 MB / 1.012 GB, free: 9.215 MB / 0.795 GB Notification: Performance of Partitioning: time 0.0001487/0.05885, allocations: 147.6 kB / 1.012 GB, free: 9.059 MB / 0.795 GB Notification: Performance of Cleanup: time 0.0003895/0.05925, allocations: 463.2 kB / 1.012 GB, free: 8.594 MB / 0.795 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.01435/0.0736, allocations: 14.22 MB / 1.026 GB, free: 10.13 MB / 0.8106 GB Notification: Performance of Tearing: time 2.28e-05/0.07364, allocations: 8 kB / 1.026 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of Initialization: time 4.71e-07/0.07365, allocations: 0 / 1.026 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of Tearing: time 8.727e-06/0.07366, allocations: 3.938 kB / 1.026 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of Categorize: time 1.996e-05/0.07368, allocations: 7.938 kB / 1.026 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of Solve: time 0.002651/0.07634, allocations: 4.072 MB / 1.03 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of Jacobian: time 0.0008228/0.07717, allocations: 0.9227 MB / 1.031 GB, free: 4.613 MB / 0.8106 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 6.973e-05/0.07725, allocations: 74.14 kB / 1.031 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of SimCode: time 0.004118/0.08137, allocations: 4.642 MB / 1.035 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of Templates: time 0.01684/0.09823, allocations: 13.45 MB / 1.049 GB, free: 2.367 MB / 0.8262 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.makefile make -j1 -f Buildings_9_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_9_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_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.o Buildings_9_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_9_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_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.o Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2094:31: error: use of undeclared identifier '_OMC_LIT19' tmpMeta2 = stringAppend(_OMC_LIT19,_modelName); ^ Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2095:40: error: use of undeclared identifier '_OMC_LIT20' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT20); ^ Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2097:40: error: use of undeclared identifier '_OMC_LIT21' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT21); ^ Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2114:35: error: use of undeclared identifier '_OMC_LIT22' tmpMeta7 = stringAppend(_OMC_LIT22,_mediumName); ^ Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2115:44: error: use of undeclared identifier '_OMC_LIT23' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT23); ^ Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2117:45: error: use of undeclared identifier '_OMC_LIT24' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT24); ^ Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2120:46: error: use of undeclared identifier '_OMC_LIT25' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT25); ^ Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2123:46: error: use of undeclared identifier '_OMC_LIT26' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT26); ^ Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2135:14: error: use of undeclared identifier '_OMC_LIT2' _X_str = _OMC_LIT2; ^ Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2143:41: error: use of undeclared identifier '_OMC_LIT27' tmpMeta21 = stringAppend(_X_str,_OMC_LIT27); ^ Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2146:44: error: use of undeclared identifier '_OMC_LIT28' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT28); ^ Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2149:44: error: use of undeclared identifier '_OMC_LIT29' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT29); ^ Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2151:44: error: use of undeclared identifier '_OMC_LIT30' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT30); ^ Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2156:30: error: use of undeclared identifier '_OMC_LIT31' tmpMeta33 = stringAppend(_OMC_LIT31,_mediumName); ^ Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2157:40: error: use of undeclared identifier '_OMC_LIT23' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT23); ^ Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2159:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT30); ^ Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2160:40: error: use of undeclared identifier '_OMC_LIT32' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT32); ^ Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2163:40: error: use of undeclared identifier '_OMC_LIT33' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT33); ^ Buildings_9_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_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.o] Error 1