Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001145/0.001145, allocations: 111.2 kB / 17.1 MB, free: 5.93 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.001158/0.001158, allocations: 198.9 kB / 18.03 MB, free: 5.012 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.151/1.151, allocations: 222.9 MB / 241.7 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6608/0.6608, allocations: 122.9 MB / 414.7 MB, free: 15.75 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.131e-05/1.133e-05, allocations: 6.219 kB / 0.5691 GB, free: 28.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor): time 0.01647/0.01649, allocations: 23.26 MB / 0.5918 GB, free: 12.1 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006579/0.0231, allocations: 6.497 MB / 0.5981 GB, free: 6.977 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004688/0.02359, allocations: 26.94 kB / 0.5982 GB, free: 6.965 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000685/0.02428, allocations: 403.7 kB / 0.5985 GB, free: 6.648 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001679/0.026, allocations: 1.158 MB / 0.5997 GB, free: 5.766 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001797/0.0278, allocations: 1.074 MB / 0.6007 GB, free: 4.988 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001503/0.02931, allocations: 1.917 MB / 0.6026 GB, free: 3.855 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006756/0.03, allocations: 0.7512 MB / 0.6033 GB, free: 3.367 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008439/0.03085, allocations: 0.7955 MB / 0.6041 GB, free: 2.898 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005296/0.03139, allocations: 0.6522 MB / 0.6047 GB, free: 2.355 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.244e-05/0.03149, allocations: 68 kB / 0.6048 GB, free: 2.289 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009923/0.03249, allocations: 0.9983 MB / 0.6058 GB, free: 1.289 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.0007016/0.0332, allocations: 1.592 MB / 0.6073 GB, free: 15.67 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004986/0.03371, allocations: 1.013 MB / 0.6083 GB, free: 14.64 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001449/0.03386, allocations: 159.4 kB / 0.6085 GB, free: 14.49 MB / 462.1 MB Notification: Performance of FrontEnd: time 0.0001131/0.03398, allocations: 39.81 kB / 0.6085 GB, free: 14.45 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.003031/0.03702, allocations: 4.064 MB / 0.6125 GB, free: 10.23 MB / 462.1 MB Notification: Performance of FunctionAlias: time 0.0001755/0.0372, allocations: 195.4 kB / 0.6127 GB, free: 10.04 MB / 462.1 MB Notification: Performance of Early Inline: time 0.002297/0.03951, allocations: 2.975 MB / 0.6156 GB, free: 7.039 MB / 462.1 MB Notification: Performance of simplify1: time 0.0001995/0.03972, allocations: 263.7 kB / 0.6158 GB, free: 6.781 MB / 462.1 MB Notification: Performance of Alias: time 0.002865/0.04259, allocations: 3.046 MB / 0.6188 GB, free: 3.434 MB / 462.1 MB Notification: Performance of simplify2: time 0.0001837/0.04278, allocations: 235.7 kB / 0.619 GB, free: 3.203 MB / 462.1 MB Notification: Performance of Detect States: time 0.000508/0.0433, allocations: 0.6377 MB / 0.6196 GB, free: 2.547 MB / 462.1 MB Notification: Performance of Events: time 0.0003494/0.04365, allocations: 355.2 kB / 0.62 GB, free: 2.199 MB / 462.1 MB Notification: Performance of Partitioning: time 0.0005872/0.04425, allocations: 0.683 MB / 0.6207 GB, free: 1.414 MB / 462.1 MB Notification: Performance of Causalize: time 0.002265/0.04652, allocations: 2.316 MB / 0.6229 GB, free: 15 MB / 478.1 MB Notification: Performance of After Index Reduction Inline: time 0.001592/0.04813, allocations: 2.083 MB / 0.6249 GB, free: 12.89 MB / 478.1 MB Notification: Performance of Inline: time 0.00345/0.05158, allocations: 4.253 MB / 0.6291 GB, free: 8.57 MB / 478.1 MB Notification: Performance of Partitioning: time 0.0001477/0.05174, allocations: 155.6 kB / 0.6293 GB, free: 8.402 MB / 478.1 MB Notification: Performance of Cleanup: time 0.0003287/0.05208, allocations: 459.2 kB / 0.6297 GB, free: 7.945 MB / 478.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.01406/0.06615, allocations: 14.06 MB / 0.6434 GB, free: 9.652 MB / 494.1 MB Notification: Performance of Tearing: time 2.221e-05/0.06619, allocations: 0 / 0.6434 GB, free: 9.652 MB / 494.1 MB Notification: Performance of Initialization: time 5.31e-07/0.06619, allocations: 0 / 0.6434 GB, free: 9.652 MB / 494.1 MB Notification: Performance of Tearing: time 1.156e-05/0.06621, allocations: 7.938 kB / 0.6434 GB, free: 9.645 MB / 494.1 MB Notification: Performance of Categorize: time 2.136e-05/0.06623, allocations: 7.938 kB / 0.6434 GB, free: 9.637 MB / 494.1 MB Notification: Performance of Solve: time 0.002778/0.06902, allocations: 4.06 MB / 0.6474 GB, free: 5.105 MB / 494.1 MB Notification: Performance of Jacobian: time 0.0008721/0.0699, allocations: 0.9343 MB / 0.6483 GB, free: 4.133 MB / 494.1 MB 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 7.432e-05/0.06998, allocations: 83.75 kB / 0.6484 GB, free: 4.059 MB / 494.1 MB Notification: Performance of SimCode: time 0.004494/0.07448, allocations: 4.64 MB / 0.6529 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of Templates: time 0.0176/0.09209, allocations: 13.4 MB / 0.666 GB, free: 1.949 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.makefile make -j1 -f IBPSA_latest_IBPSA.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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.o IBPSA_latest_IBPSA.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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.o IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2094:31: error: use of undeclared identifier '_OMC_LIT19' tmpMeta2 = stringAppend(_OMC_LIT19,_modelName); ^ IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2095:40: error: use of undeclared identifier '_OMC_LIT20' tmpMeta3 = stringAppend(tmpMeta2,_OMC_LIT20); ^ IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2097:40: error: use of undeclared identifier '_OMC_LIT21' tmpMeta5 = stringAppend(tmpMeta4,_OMC_LIT21); ^ IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2114:35: error: use of undeclared identifier '_OMC_LIT22' tmpMeta7 = stringAppend(_OMC_LIT22,_mediumName); ^ IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2115:44: error: use of undeclared identifier '_OMC_LIT23' tmpMeta8 = stringAppend(tmpMeta7,_OMC_LIT23); ^ IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2117:45: error: use of undeclared identifier '_OMC_LIT24' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT24); ^ IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2120:46: error: use of undeclared identifier '_OMC_LIT25' tmpMeta13 = stringAppend(tmpMeta12,_OMC_LIT25); ^ IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2123:46: error: use of undeclared identifier '_OMC_LIT26' tmpMeta16 = stringAppend(tmpMeta15,_OMC_LIT26); ^ IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2135:14: error: use of undeclared identifier '_OMC_LIT2' _X_str = _OMC_LIT2; ^ IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2143:41: error: use of undeclared identifier '_OMC_LIT27' tmpMeta21 = stringAppend(_X_str,_OMC_LIT27); ^ IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2146:44: error: use of undeclared identifier '_OMC_LIT28' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT28); ^ IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2149:44: error: use of undeclared identifier '_OMC_LIT29' tmpMeta27 = stringAppend(tmpMeta26,_OMC_LIT29); ^ IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2151:44: error: use of undeclared identifier '_OMC_LIT30' tmpMeta29 = stringAppend(tmpMeta28,_OMC_LIT30); ^ IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2156:30: error: use of undeclared identifier '_OMC_LIT31' tmpMeta33 = stringAppend(_OMC_LIT31,_mediumName); ^ IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2157:40: error: use of undeclared identifier '_OMC_LIT23' tmpMeta34 = stringAppend(tmpMeta33,_OMC_LIT23); ^ IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2159:40: error: use of undeclared identifier '_OMC_LIT30' tmpMeta36 = stringAppend(tmpMeta35,_OMC_LIT30); ^ IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2160:40: error: use of undeclared identifier '_OMC_LIT32' tmpMeta37 = stringAppend(tmpMeta36,_OMC_LIT32); ^ IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.c:2163:40: error: use of undeclared identifier '_OMC_LIT33' tmpMeta40 = stringAppend(tmpMeta39,_OMC_LIT33); ^ IBPSA_latest_IBPSA.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: *** [: IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor_functions.o] Error 1