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.001532/0.001532, allocations: 107.2 kB / 16.42 MB, free: 6.473 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.00154/0.00154, allocations: 190 kB / 17.36 MB, free: 5.711 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.404/1.404, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8369/0.8369, allocations: 132.2 MB / 423.4 MB, free: 6.512 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.3e-05/2.302e-05, allocations: 5.672 kB / 0.582 GB, free: 23.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor): time 0.02149/0.02152, allocations: 23.28 MB / 0.6047 GB, free: 3.016 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008235/0.02979, allocations: 6.501 MB / 0.611 GB, free: 12.52 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001199/0.03102, allocations: 23.81 kB / 0.6111 GB, free: 12.5 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001187/0.03223, allocations: 409.3 kB / 0.6115 GB, free: 12.09 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003167/0.03551, allocations: 1.143 MB / 0.6126 GB, free: 10.95 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002841/0.03836, allocations: 1.074 MB / 0.6136 GB, free: 9.883 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003153/0.04153, allocations: 1.926 MB / 0.6155 GB, free: 7.953 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001199/0.04274, allocations: 0.7535 MB / 0.6162 GB, free: 7.188 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001465/0.04422, allocations: 0.7978 MB / 0.617 GB, free: 6.387 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001247/0.04548, allocations: 0.6419 MB / 0.6176 GB, free: 5.742 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002026/0.0457, allocations: 68 kB / 0.6177 GB, free: 5.676 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001818/0.04752, allocations: 1.002 MB / 0.6187 GB, free: 4.672 MB / 462.1 MB Notification: Performance of combineBinaries: time 0.00145/0.04899, allocations: 1.599 MB / 0.6202 GB, free: 3.055 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 0.0008641/0.04986, allocations: 1.001 MB / 0.6212 GB, free: 2.039 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004151/0.05029, allocations: 167.4 kB / 0.6214 GB, free: 1.875 MB / 462.1 MB Notification: Performance of FrontEnd: time 0.0002435/0.05054, allocations: 43.81 kB / 0.6214 GB, free: 1.832 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.003726/0.05427, allocations: 4.066 MB / 0.6254 GB, free: 13.61 MB / 478.1 MB Notification: Performance of FunctionAlias: time 0.0002293/0.05451, allocations: 196.7 kB / 0.6256 GB, free: 13.42 MB / 478.1 MB Notification: Performance of Early Inline: time 0.002659/0.05718, allocations: 2.967 MB / 0.6285 GB, free: 10.42 MB / 478.1 MB Notification: Performance of simplify1: time 0.0002305/0.05742, allocations: 263.7 kB / 0.6287 GB, free: 10.16 MB / 478.1 MB Notification: Performance of Alias: time 0.003457/0.06088, allocations: 3.047 MB / 0.6317 GB, free: 6.816 MB / 478.1 MB Notification: Performance of simplify2: time 0.0002201/0.06111, allocations: 235.7 kB / 0.6319 GB, free: 6.586 MB / 478.1 MB Notification: Performance of Events: time 0.0004822/0.0616, allocations: 452.3 kB / 0.6324 GB, free: 6.137 MB / 478.1 MB Notification: Performance of Detect States: time 0.0005456/0.06216, allocations: 0.5964 MB / 0.6329 GB, free: 5.527 MB / 478.1 MB Notification: Performance of Partitioning: time 0.0007217/0.06289, allocations: 0.6945 MB / 0.6336 GB, free: 4.73 MB / 478.1 MB Notification: Performance of Causalize: time 0.002624/0.06552, allocations: 2.3 MB / 0.6359 GB, free: 2.332 MB / 478.1 MB Notification: Performance of After Index Reduction Inline: time 0.001931/0.06746, allocations: 2.091 MB / 0.6379 GB, free: 216 kB / 478.1 MB Notification: Performance of Inline: time 0.004083/0.07155, allocations: 4.276 MB / 0.6421 GB, free: 11.87 MB / 494.1 MB Notification: Performance of Partitioning: time 0.0001791/0.07175, allocations: 143.7 kB / 0.6422 GB, free: 11.71 MB / 494.1 MB Notification: Performance of Cleanup: time 0.0004356/0.07219, allocations: 451.3 kB / 0.6427 GB, free: 11.26 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.01751/0.0897, allocations: 14.24 MB / 0.6566 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of Tearing: time 3.168e-05/0.08977, allocations: 4 kB / 0.6566 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of Initialization: time 1.212e-06/0.08978, allocations: 0 / 0.6566 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of Tearing: time 2.119e-05/0.08981, allocations: 3.938 kB / 0.6566 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of Categorize: time 3.999e-05/0.08985, allocations: 4 kB / 0.6566 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of Solve: time 0.004621/0.09448, allocations: 5.187 MB / 0.6616 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of Jacobian: time 0.001171/0.09569, allocations: 0.9382 MB / 0.6626 GB, free: 6.113 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.0001209/0.09582, allocations: 72.64 kB / 0.6626 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of SimCode: time 0.00603/0.1019, allocations: 4.6 MB / 0.6671 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of Templates: time 0.02219/0.1241, allocations: 13.45 MB / 0.6803 GB, free: 3.926 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