Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") translateModel(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001057/0.001057, allocations: 105.6 kB / 16.42 MB, free: 6.516 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.001048/0.001048, allocations: 189.9 kB / 17.36 MB, free: 5.75 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.136/1.136, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001918/0.001918, allocations: 290.9 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8112/0.8112, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.68e-05/2.681e-05, allocations: 6.219 kB / 0.682 GB, free: 7.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor): time 0.2513/0.2513, allocations: 23.27 MB / 0.7047 GB, free: 4.633 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00793/0.2593, allocations: 6.488 MB / 0.7111 GB, free: 56 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008185/0.2601, allocations: 22.59 kB / 0.7111 GB, free: 48 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000939/0.2611, allocations: 396.6 kB / 0.7115 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0025/0.2636, allocations: 1.118 MB / 0.7126 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002535/0.2661, allocations: 1.079 MB / 0.7136 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002331/0.2685, allocations: 1.922 MB / 0.7155 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009794/0.2694, allocations: 0.7454 MB / 0.7162 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001235/0.2707, allocations: 0.7927 MB / 0.717 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008099/0.2715, allocations: 0.6365 MB / 0.7176 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001183/0.2716, allocations: 68.66 kB / 0.7177 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001704/0.2734, allocations: 0.999 MB / 0.7187 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of combineBinaries: time 0.001179/0.2745, allocations: 1.606 MB / 0.7202 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of replaceArrayConstructors: time 0.0005613/0.2751, allocations: 1.007 MB / 0.7212 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001683/0.2753, allocations: 163.9 kB / 0.7214 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of FrontEnd: time 0.0001635/0.2755, allocations: 49.61 kB / 0.7214 GB, free: 10.71 MB / 0.4981 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.003314/0.2788, allocations: 4.064 MB / 0.7254 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of FunctionAlias: time 0.0002168/0.279, allocations: 197.3 kB / 0.7256 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of Early Inline: time 0.002638/0.2816, allocations: 2.966 MB / 0.7285 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of simplify1: time 0.0002162/0.2819, allocations: 261.3 kB / 0.7287 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of Alias: time 0.003179/0.2851, allocations: 3.044 MB / 0.7317 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of simplify2: time 0.0002026/0.2853, allocations: 227.7 kB / 0.7319 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of Events: time 0.0004487/0.2857, allocations: 457.1 kB / 0.7324 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of Detect States: time 0.0005117/0.2862, allocations: 0.5993 MB / 0.7329 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of Partitioning: time 0.0006553/0.2869, allocations: 0.6864 MB / 0.7336 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of Causalize: time 0.002455/0.2894, allocations: 2.314 MB / 0.7359 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of After Index Reduction Inline: time 0.001792/0.2912, allocations: 2.079 MB / 0.7379 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of Inline: time 0.003866/0.2951, allocations: 4.294 MB / 0.7421 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of Partitioning: time 0.0001917/0.2953, allocations: 151.2 kB / 0.7422 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of Cleanup: time 0.0004439/0.2957, allocations: 451.6 kB / 0.7427 GB, free: 12.33 MB / 0.5137 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.01666/0.3124, allocations: 14.21 MB / 0.7565 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of Tearing: time 1.144e-05/0.3124, allocations: 0 / 0.7565 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of Initialization: time 8.11e-07/0.3124, allocations: 0 / 0.7565 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of Tearing: time 1.28e-05/0.3124, allocations: 0 / 0.7565 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of Categorize: time 2.361e-05/0.3125, allocations: 7.938 kB / 0.7566 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of Solve: time 0.002789/0.3152, allocations: 3.524 MB / 0.76 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of Jacobian: time 0.0008854/0.3161, allocations: 0.9382 MB / 0.7609 GB, free: 12.12 MB / 0.5294 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 7.657e-05/0.3162, allocations: 78.31 kB / 0.761 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of SimCode: time 0.004537/0.3208, allocations: 4.611 MB / 0.7655 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of Templates: time 0.0179/0.3387, allocations: 13.75 MB / 0.7789 GB, free: 9.617 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.makefile make -j1 -f BuildingSystems_BuildingSystems.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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.o BuildingSystems_BuildingSystems.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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.o BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2094:31: error: use of undeclared identifier '_OMC_LIT19' tmpMeta2 = stringAppend(_OMC_LIT19,_modelName); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2095:40: error: use of undeclared identifier '_OMC_LIT20' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT20); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2097:40: error: use of undeclared identifier '_OMC_LIT21' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT21); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2114:35: error: use of undeclared identifier '_OMC_LIT22' tmpMeta7 = stringAppend(_OMC_LIT22,_mediumName); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2115:44: error: use of undeclared identifier '_OMC_LIT23' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT23); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2117:45: error: use of undeclared identifier '_OMC_LIT24' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT24); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2120:46: error: use of undeclared identifier '_OMC_LIT25' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT25); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2123:46: error: use of undeclared identifier '_OMC_LIT26' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT26); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2135:14: error: use of undeclared identifier '_OMC_LIT2' _X_str = _OMC_LIT2; ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2143:41: error: use of undeclared identifier '_OMC_LIT27' tmpMeta21 = stringAppend(_X_str,_OMC_LIT27); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2146:44: error: use of undeclared identifier '_OMC_LIT28' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT28); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2149:44: error: use of undeclared identifier '_OMC_LIT29' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT29); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2151:44: error: use of undeclared identifier '_OMC_LIT30' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT30); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2156:30: error: use of undeclared identifier '_OMC_LIT31' tmpMeta33 = stringAppend(_OMC_LIT31,_mediumName); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2157:40: error: use of undeclared identifier '_OMC_LIT23' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT23); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2159:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT30); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2160:40: error: use of undeclared identifier '_OMC_LIT32' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT32); ^ BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2163:40: error: use of undeclared identifier '_OMC_LIT33' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT33); ^ BuildingSystems_BuildingSystems.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: *** [: BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.o] Error 1