Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001276/0.001276, allocations: 106.4 kB / 16.42 MB, free: 6.512 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.001405/0.001405, allocations: 192.2 kB / 17.35 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.488/1.488, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8805/0.8805, allocations: 135.2 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.619e-05/2.62e-05, allocations: 2.281 kB / 0.5862 GB, free: 21.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor): time 0.01858/0.01861, allocations: 23.28 MB / 0.609 GB, free: 15.42 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01033/0.02899, allocations: 6.494 MB / 0.6153 GB, free: 8.93 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001273/0.03031, allocations: 27.81 kB / 0.6153 GB, free: 8.902 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001142/0.03152, allocations: 401.3 kB / 0.6157 GB, free: 8.508 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002981/0.03451, allocations: 1.099 MB / 0.6168 GB, free: 7.406 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00281/0.03733, allocations: 1.079 MB / 0.6178 GB, free: 6.336 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002481/0.03982, allocations: 1.916 MB / 0.6197 GB, free: 4.414 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009981/0.04083, allocations: 0.7535 MB / 0.6204 GB, free: 3.652 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001316/0.04216, allocations: 0.79 MB / 0.6212 GB, free: 2.859 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000795/0.04296, allocations: 0.6458 MB / 0.6219 GB, free: 2.211 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001186/0.04309, allocations: 72 kB / 0.6219 GB, free: 2.141 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001775/0.04487, allocations: 0.9944 MB / 0.6229 GB, free: 1.145 MB / 462.1 MB Notification: Performance of combineBinaries: time 0.001234/0.04612, allocations: 1.6 MB / 0.6245 GB, free: 15.52 MB / 478.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006301/0.04676, allocations: 1.013 MB / 0.6254 GB, free: 14.5 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002086/0.04698, allocations: 159.4 kB / 0.6256 GB, free: 14.34 MB / 478.1 MB Notification: Performance of FrontEnd: time 0.0002155/0.0472, allocations: 51.73 kB / 0.6256 GB, free: 14.29 MB / 478.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.003742/0.05095, allocations: 4.058 MB / 0.6296 GB, free: 10.08 MB / 478.1 MB Notification: Performance of FunctionAlias: time 0.0002303/0.05119, allocations: 198.7 kB / 0.6298 GB, free: 9.887 MB / 478.1 MB Notification: Performance of Early Inline: time 0.003037/0.05423, allocations: 2.975 MB / 0.6327 GB, free: 6.879 MB / 478.1 MB Notification: Performance of simplify1: time 0.000247/0.05449, allocations: 255.7 kB / 0.6329 GB, free: 6.629 MB / 478.1 MB Notification: Performance of Alias: time 0.003579/0.05808, allocations: 3.046 MB / 0.6359 GB, free: 3.281 MB / 478.1 MB Notification: Performance of simplify2: time 0.0002232/0.05832, allocations: 227.7 kB / 0.6361 GB, free: 3.059 MB / 478.1 MB Notification: Performance of Events: time 0.0004986/0.05882, allocations: 456.3 kB / 0.6366 GB, free: 2.605 MB / 478.1 MB Notification: Performance of Detect States: time 0.0006034/0.05943, allocations: 0.5942 MB / 0.6372 GB, free: 1.996 MB / 478.1 MB Notification: Performance of Partitioning: time 0.0007219/0.06017, allocations: 0.6945 MB / 0.6378 GB, free: 1.199 MB / 478.1 MB Notification: Performance of Causalize: time 0.002722/0.0629, allocations: 2.296 MB / 0.6401 GB, free: 14.8 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 0.001969/0.06489, allocations: 2.087 MB / 0.6421 GB, free: 12.68 MB / 494.1 MB Notification: Performance of Inline: time 0.004268/0.06917, allocations: 4.3 MB / 0.6463 GB, free: 8.316 MB / 494.1 MB Notification: Performance of Partitioning: time 0.0001818/0.06936, allocations: 143.7 kB / 0.6464 GB, free: 8.16 MB / 494.1 MB Notification: Performance of Cleanup: time 0.0004312/0.0698, allocations: 455.2 kB / 0.6469 GB, free: 7.707 MB / 494.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.01802/0.08783, allocations: 14.23 MB / 0.6608 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of Tearing: time 2.309e-05/0.08788, allocations: 0 / 0.6608 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of Initialization: time 9.72e-07/0.08789, allocations: 0 / 0.6608 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of Tearing: time 1.598e-05/0.08791, allocations: 4 kB / 0.6608 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of Categorize: time 3.783e-05/0.08795, allocations: 7.938 kB / 0.6608 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of Solve: time 0.003689/0.09165, allocations: 3.509 MB / 0.6642 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of Jacobian: time 0.001181/0.09285, allocations: 0.9382 MB / 0.6651 GB, free: 4.277 MB / 0.4981 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 0.0001321/0.093, allocations: 84.03 kB / 0.6652 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of SimCode: time 0.005978/0.09898, allocations: 4.606 MB / 0.6697 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of Templates: time 0.02242/0.1214, allocations: 13.73 MB / 0.6831 GB, free: 1.793 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.makefile make -j1 -f IDEAS_dev_IDEAS.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=IDEAS_dev_IDEAS_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 IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.o IDEAS_dev_IDEAS.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=IDEAS_dev_IDEAS_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 IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.o IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2094:31: error: use of undeclared identifier '_OMC_LIT19' tmpMeta2 = stringAppend(_OMC_LIT19,_modelName); ^ IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2095:40: error: use of undeclared identifier '_OMC_LIT20' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT20); ^ IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2097:40: error: use of undeclared identifier '_OMC_LIT21' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT21); ^ IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2114:35: error: use of undeclared identifier '_OMC_LIT22' tmpMeta7 = stringAppend(_OMC_LIT22,_mediumName); ^ IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2115:44: error: use of undeclared identifier '_OMC_LIT23' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT23); ^ IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2117:45: error: use of undeclared identifier '_OMC_LIT24' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT24); ^ IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2120:46: error: use of undeclared identifier '_OMC_LIT25' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT25); ^ IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2123:46: error: use of undeclared identifier '_OMC_LIT26' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT26); ^ IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2135:14: error: use of undeclared identifier '_OMC_LIT2' _X_str = _OMC_LIT2; ^ IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2143:41: error: use of undeclared identifier '_OMC_LIT27' tmpMeta21 = stringAppend(_X_str,_OMC_LIT27); ^ IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2146:44: error: use of undeclared identifier '_OMC_LIT28' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT28); ^ IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2149:44: error: use of undeclared identifier '_OMC_LIT29' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT29); ^ IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2151:44: error: use of undeclared identifier '_OMC_LIT30' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT30); ^ IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2156:30: error: use of undeclared identifier '_OMC_LIT31' tmpMeta33 = stringAppend(_OMC_LIT31,_mediumName); ^ IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2157:40: error: use of undeclared identifier '_OMC_LIT23' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT23); ^ IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2159:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT30); ^ IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2160:40: error: use of undeclared identifier '_OMC_LIT32' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT32); ^ IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2163:40: error: use of undeclared identifier '_OMC_LIT33' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT33); ^ IDEAS_dev_IDEAS.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: *** [: IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.o] Error 1