Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001038/0.001038, allocations: 108.9 kB / 16.42 MB, free: 6.43 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.001043/0.001043, allocations: 185.5 kB / 17.35 MB, free: 5.684 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7786/0.7786, allocations: 132.2 MB / 423.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.602e-05/2.603e-05, allocations: 2.281 kB / 0.582 GB, free: 23.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor): time 0.02086/0.02089, allocations: 23.27 MB / 0.6047 GB, free: 3.051 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009106/0.03005, allocations: 6.5 MB / 0.611 GB, free: 12.57 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009352/0.03102, allocations: 25.66 kB / 0.6111 GB, free: 12.55 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001053/0.03208, allocations: 405.4 kB / 0.6114 GB, free: 12.15 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002592/0.03476, allocations: 1.151 MB / 0.6126 GB, free: 10.99 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00258/0.03735, allocations: 1.079 MB / 0.6136 GB, free: 9.926 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002221/0.03958, allocations: 1.92 MB / 0.6155 GB, free: 8 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009604/0.04055, allocations: 0.7496 MB / 0.6162 GB, free: 7.238 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00121/0.04177, allocations: 0.8017 MB / 0.617 GB, free: 6.434 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007693/0.04255, allocations: 0.6419 MB / 0.6176 GB, free: 5.789 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.04268, allocations: 68 kB / 0.6177 GB, free: 5.723 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001518/0.0442, allocations: 0.9983 MB / 0.6187 GB, free: 4.723 MB / 462.1 MB Notification: Performance of combineBinaries: time 0.00124/0.04546, allocations: 1.595 MB / 0.6202 GB, free: 3.109 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006824/0.04615, allocations: 1.005 MB / 0.6212 GB, free: 2.09 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001827/0.04634, allocations: 159.4 kB / 0.6214 GB, free: 1.934 MB / 462.1 MB Notification: Performance of FrontEnd: time 0.000173/0.04652, allocations: 47.8 kB / 0.6214 GB, free: 1.887 MB / 462.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.05026, allocations: 4.066 MB / 0.6254 GB, free: 13.67 MB / 478.1 MB Notification: Performance of FunctionAlias: time 0.0002221/0.05049, allocations: 198.4 kB / 0.6256 GB, free: 13.47 MB / 478.1 MB Notification: Performance of Early Inline: time 0.002857/0.05336, allocations: 2.975 MB / 0.6285 GB, free: 10.46 MB / 478.1 MB Notification: Performance of simplify1: time 0.0002317/0.0536, allocations: 263.6 kB / 0.6287 GB, free: 10.21 MB / 478.1 MB Notification: Performance of Alias: time 0.003417/0.05703, allocations: 3.047 MB / 0.6317 GB, free: 6.863 MB / 478.1 MB Notification: Performance of simplify2: time 0.0002115/0.05725, allocations: 227.7 kB / 0.6319 GB, free: 6.641 MB / 478.1 MB Notification: Performance of Detect States: time 0.0006192/0.05788, allocations: 0.6513 MB / 0.6326 GB, free: 5.969 MB / 478.1 MB Notification: Performance of Events: time 0.0004077/0.0583, allocations: 349.9 kB / 0.6329 GB, free: 5.629 MB / 478.1 MB Notification: Performance of Partitioning: time 0.0007018/0.05901, allocations: 0.6868 MB / 0.6336 GB, free: 4.84 MB / 478.1 MB Notification: Performance of Causalize: time 0.00256/0.06158, allocations: 2.312 MB / 0.6358 GB, free: 2.43 MB / 478.1 MB Notification: Performance of After Index Reduction Inline: time 0.00187/0.06346, allocations: 2.075 MB / 0.6379 GB, free: 332 kB / 478.1 MB Notification: Performance of Inline: time 0.004372/0.06784, allocations: 4.27 MB / 0.642 GB, free: 12 MB / 494.1 MB Notification: Performance of Partitioning: time 0.0001688/0.06802, allocations: 139.6 kB / 0.6422 GB, free: 11.84 MB / 494.1 MB Notification: Performance of Cleanup: time 0.000383/0.06841, allocations: 459.3 kB / 0.6426 GB, free: 11.39 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.0168/0.08522, allocations: 14.06 MB / 0.6563 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of Tearing: time 4.421e-05/0.08529, allocations: 0 / 0.6563 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of Initialization: time 9.72e-07/0.0853, allocations: 3.938 kB / 0.6563 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of Tearing: time 1.831e-05/0.08532, allocations: 4 kB / 0.6563 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of Categorize: time 3.309e-05/0.08536, allocations: 7.938 kB / 0.6563 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of Solve: time 0.003596/0.08896, allocations: 4.072 MB / 0.6603 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of Jacobian: time 0.001053/0.09003, allocations: 0.9266 MB / 0.6612 GB, free: 7.562 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: ........... 151 (scalar:149, 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: ........... 151 (scalar:149, 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.0001016/0.09014, allocations: 81.34 kB / 0.6613 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of SimCode: time 0.005547/0.09569, allocations: 4.649 MB / 0.6658 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of Templates: time 0.0225/0.1182, allocations: 13.39 MB / 0.6789 GB, free: 5.383 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.makefile make -j1 -f IDEAS_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_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_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.o IDEAS_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_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_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.o IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2094:31: error: use of undeclared identifier '_OMC_LIT19' tmpMeta2 = stringAppend(_OMC_LIT19,_modelName); ^ IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2095:40: error: use of undeclared identifier '_OMC_LIT20' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT20); ^ IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2097:40: error: use of undeclared identifier '_OMC_LIT21' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT21); ^ IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2114:35: error: use of undeclared identifier '_OMC_LIT22' tmpMeta7 = stringAppend(_OMC_LIT22,_mediumName); ^ IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2115:44: error: use of undeclared identifier '_OMC_LIT23' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT23); ^ IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2117:45: error: use of undeclared identifier '_OMC_LIT24' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT24); ^ IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2120:46: error: use of undeclared identifier '_OMC_LIT25' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT25); ^ IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2123:46: error: use of undeclared identifier '_OMC_LIT26' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT26); ^ IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2135:14: error: use of undeclared identifier '_OMC_LIT2' _X_str = _OMC_LIT2; ^ IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2143:41: error: use of undeclared identifier '_OMC_LIT27' tmpMeta21 = stringAppend(_X_str,_OMC_LIT27); ^ IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2146:44: error: use of undeclared identifier '_OMC_LIT28' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT28); ^ IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2149:44: error: use of undeclared identifier '_OMC_LIT29' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT29); ^ IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2151:44: error: use of undeclared identifier '_OMC_LIT30' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT30); ^ IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2156:30: error: use of undeclared identifier '_OMC_LIT31' tmpMeta33 = stringAppend(_OMC_LIT31,_mediumName); ^ IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2157:40: error: use of undeclared identifier '_OMC_LIT23' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT23); ^ IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2159:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT30); ^ IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2160:40: error: use of undeclared identifier '_OMC_LIT32' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT32); ^ IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2163:40: error: use of undeclared identifier '_OMC_LIT33' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT33); ^ IDEAS_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_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.o] Error 1